SQL Server error 40 in deployed application (DB in another server)http://forums.asp.net/t/1767415.aspx/1?SQL+Server+error+40+in+deployed+application+DB+in+another+server+Wed, 08 Feb 2012 17:29:20 -050017674154822959http://forums.asp.net/p/1767415/4822959.aspx/1?SQL+Server+error+40+in+deployed+application+DB+in+another+server+SQL Server error 40 in deployed application (DB in another server) <p>Hi experts!</p> <p>I have a Windows Server 2003 Std as my IIS Server. In that server I've deployed a web application. This machine is not under a domain.</p> <p>I have a Windows Server 2008 R2 as my DB Server, it has a SQL Server 2005.&nbsp;This machine is not under a domain.</p> <p>I made all the configurations to my SQL Server recomended and to the SO (Checked the ports, firewall exceptions, protocols).</p> <p>In the development machine I can connect to the DB server without problems. Launching the application from VS I can work with it and I have no trouble with it.</p> <p>The problem is from the IIS.</p> <p>Can you help me with my problem? Thanks in advance!</p> 2012-02-08T17:12:11-05:004822978http://forums.asp.net/p/1767415/4822978.aspx/1?Re+SQL+Server+error+40+in+deployed+application+DB+in+another+server+Re: SQL Server error 40 in deployed application (DB in another server) <p>what is the problem exactly ?</p> <p>Is there an exception ?</p> 2012-02-08T17:23:16-05:004822985http://forums.asp.net/p/1767415/4822985.aspx/1?Re+SQL+Server+error+40+in+deployed+application+DB+in+another+server+Re: SQL Server error 40 in deployed application (DB in another server) <p>Dear Juna</p> <p>Read this article, i want you to check your connection string parameters out of the application and check that it is correct and ports are accessible and every thing is ok</p> <p><a href="http://blogs.msdn.com/b/farukcelik/archive/2007/12/31/basics-first-udl-test.aspx">http://blogs.msdn.com/b/farukcelik/archive/2007/12/31/basics-first-udl-test.aspx</a>&nbsp;<img src="http://forums.asp.net/scripts/tiny_mce/plugins/emotions/img/smiley-smile.gif" alt="Smile" title="Smile" border="0"></p> 2012-02-08T17:27:04-05:004822991http://forums.asp.net/p/1767415/4822991.aspx/1?Re+SQL+Server+error+40+in+deployed+application+DB+in+another+server+Re: SQL Server error 40 in deployed application (DB in another server) <p>you may revise the server parameter in connection string with the name of the server that have the SQL server instance</p> 2012-02-08T17:29:20-05:00