PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Hébergement serveur > ms.sqlserver.setup > Deploy SQL Server Express Error
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
ms.sqlserver.setup Questions about SQL Server.

Deploy SQL Server Express Error

Réponse
 
LinkBack Outils de la discussion
Vieux 27/10/2006, 22h21   #1
Jim
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Deploy SQL Server Express Error

I've build a web application on a Windows XP computer that has SQL Server
Express edition installed on it. I then copied the web application to a
Windows 2003 Server box. When trying to run the application an error occurs:


provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance
Specified

Why does this error exist and how can it be fixed?



  Réponse avec citation
Vieux 27/10/2006, 22h37   #2
Arnie Rowland
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Deploy SQL Server Express Error

Where is SQL Express installed?

IF still on your XP, then check the XP firewall settings.
--
Arnie Rowland, Ph.D.
Westwood Consulting, Inc

Most good judgment comes from experience.
Most experience comes from bad judgment.
- Anonymous

You can't someone get up a hill without getting a little closer to the
top yourself.
- H. Norman Schwarzkopf


"Jim" <Jim@discussions.microsoft.com> wrote in message
news:9885CD1E-CE71-40AE-A621-73231460E52B@microsoft.com...
> I've build a web application on a Windows XP computer that has SQL Server
> Express edition installed on it. I then copied the web application to a
> Windows 2003 Server box. When trying to run the application an error
> occurs:
>
>
> provider: SQL Network Interfaces, error: 26 - Error Locating
> Server/Instance
> Specified
>
> Why does this error exist and how can it be fixed?
>
>
>



  Réponse avec citation
Vieux 27/10/2006, 22h56   #3
Jim
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut RE: Deploy SQL Server Express Error

The connection string is:

<add name="ASPNETDBConnectionString" connectionString="Data
Source=.\SQLEXPRESS;AttachDbFilename=|DataDirector y|\ASPNETDB.MDF;Integrated
Security=True;User Instance=True"
providerName="System.Data.SqlClient" />

"Jim" wrote:

> I've build a web application on a Windows XP computer that has SQL Server
> Express edition installed on it. I then copied the web application to a
> Windows 2003 Server box. When trying to run the application an error occurs:
>
>
> provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance
> Specified
>
> Why does this error exist and how can it be fixed?
>
>
>

  Réponse avec citation
Vieux 29/10/2006, 21h13   #4
Sue Hoegemeier
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Deploy SQL Server Express Error

Data source needs to be SQLServerBox\SQLEXPRESS
You are using just .\SQLEXPRESS so it's going to look for
SQL Server locally - on the IIS box. If you just copied the
web site to another server and Express, the databases are
still on the other box, that indicates it is likely not
pointing to the correct server.
If you didn't change anything from the defaults on the box
where Express is installed, you will also need to enable
remote connections and make sure the browser service is
running.
And finally, if windows firewall is running on the XP box
where Express is installed, add an exception for
sqlservr.exe

-Sue

On Fri, 27 Oct 2006 14:56:01 -0700, Jim
<Jim@discussions.microsoft.com> wrote:

>The connection string is:
>
><add name="ASPNETDBConnectionString" connectionString="Data
>Source=.\SQLEXPRESS;AttachDbFilename=|DataDirecto ry|\ASPNETDB.MDF;Integrated
>Security=True;User Instance=True"
> providerName="System.Data.SqlClient" />
>
>"Jim" wrote:
>
>> I've build a web application on a Windows XP computer that has SQL Server
>> Express edition installed on it. I then copied the web application to a
>> Windows 2003 Server box. When trying to run the application an error occurs:
>>
>>
>> provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance
>> Specified
>>
>> Why does this error exist and how can it be fixed?
>>
>>
>>


  Réponse avec citation
Vieux 07/11/2006, 21h41   #5
Maggie Gerhardt
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Deploy SQL Server Express Error


I am new to setting up the server side and also get the same error.
When the connection string is added, do I need to also add the following
<remove name="LocalSqlServer"/>



*** Sent via Developersdex http://www.developersdex.com ***

  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 11h21.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,12968 seconds with 13 queries