sansat6699 Posted April 26, 2007 Share Posted April 26, 2007 hi ;i am doing programming in vs2003 .net c# for web application. i am doing programming on win xp platform. my connection string as follows<add key="Conn" value="server=COMP02;uid=sa;Password=sa;database=ASC"></add> as i checked all things are correct server explorer in dot net also shows same database on server ie comp02 which is windows 2003 os. it is continiously giving error sql server doesnot exisist or access denide. i dont understand whts the problem because same code run on server machine perfectly. both machines are connected in one domain. please healp me?? Link to comment Share on other sites More sharing options...
aspnetguy Posted April 26, 2007 Share Posted April 26, 2007 does the sql server allow remote connections? Link to comment Share on other sites More sharing options...
jesh Posted April 26, 2007 Share Posted April 26, 2007 And are you using the correct connection string? Check out this page for examples: http://www.connectionstrings.com/Our SQL Server connection string looks more like this: Data Source=SERVER_NAME;Initial Catalog=DATABASE_NAME;User ID=USER;Password=PASSWORD Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.