Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Web.config, name of data source?
Message
Information générale
Forum:
ASP.NET
Catégorie:
Web.Config
Divers
Thread ID:
01007887
Message ID:
01007897
Vues:
22
>HI,
>
>I have migrated a web application to a new server. Microsoft Enterprise Manager indicates that the only registered SQL server is (local) (Windows NT). How do I construct my data connection key in web.config so that (local) (Windows NT) is the data source?
>
>Thanx,
>Neil

Have you tried something like:
   <add key="conString" value="Server=localhost;UID=sa;PWD=password;Database=Northwind" />
You can also explicity name your server, so if your sever is named TIFTMERRITT, substitute TIFTMERRITT for localhost. I don't believe that it's case-sensisitve.
Chris McCandless
Red Sky Software
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform