Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL Server, localhost and Win XP Pro
Message
 
À
09/12/2004 08:45:26
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
ASP.NET
OS:
Windows XP SP1
Network:
Windows 2000 Server
Database:
MS SQL Server
Divers
Thread ID:
00967548
Message ID:
00968197
Vues:
17
Hi Bill,

I've got WinXP SP2, and SQL Server 2000 on my box at home, and this connection string works for me:

Data Source=(local);Initial Catalog=< database_name>User ID=< user_name>;Password=< password>"

HTH,
Phil


>Hi Craig,
>
>Pretty sure I tried most of the obvious forms, "localhost", "(localhost)", "(local)", etc. but will give it another shot.
>
>Bill
>
>>Have you tried "(local)"
>>
>>
>>>When developing on my Win2K machine at work, I can use the "(localhost)" identifier in the SQL Server connection string in Web.config for connecting which works well and is handy for all local development.
>>>
>>>However, this does not work on my Win XP Pro machine at home. It seems to require the actual machine name for connecting. Is this correct or is there a "localhost" designator that works on Win XP?
>>>
>>>Thanks,
>>>Bill
Phil
_____________________________
Phil Miles
http://www.philmiles.com
phil@philmiles.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform