Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Web.config, name of data source?
Message
General information
Forum:
ASP.NET
Category:
Web.Config
Miscellaneous
Thread ID:
01007887
Message ID:
01007897
Views:
24
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform