Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 Development Tools
 ASP.NET
 server name

Author  Topic 

awadi20
Starting Member

10 Posts

Posted - 2007-06-26 : 04:18:18
i use asp.net2, i have 2 computers,when i run my web applicauion in the first one it is go on, but in the second one i must replace server to server name not "localhost" how can i makes it run with the next statment without change the "locahost" to the servername?


con = new oledb.oledbconnection ("uid=sa;pwd=;database=sign;server=localhost;provider=sqloledb")
   

- Advertisement -