Error while shifting sharepoint site to MOSS 2007 , Sever 2003 from MOSS 2007, Server2008Hi,<br/> Following is the scenario..<br/> <br/> Configuration For Developer Server : <br/> 1)OS : Server 2003.<br/> 2)MOSS 2007 (SP2)<br/> 3)DB : SQLServer 2005<br/> <br/> Configuration For Production Server :<br/> 1)OS : Server 2008.<br/> 2)Sharepoint : MOSS 2007(SP2)<br/> 3)DB : SQLServer 2005<br/> <br/>    We have MOSS 2007 on developer server machine.  We added the <a href="http://asp.net/">asp.net</a> pages on the sharepoint pages. For calling the List item we are using coding as follows.<br/> <br/> string p_strSiteUrl=&quot;<a href="http://spserver:1100/sites/PCR/RM/">http://testserver/sites/testsite/RM/</a> &quot;;<br/> string l_strBookingNo = &quot;&quot;;<br/>             SPWeb l_web = null;<br/>             SPSecurity. <div class="ii gt">RunWithElevatedPrivileges(delegate()<br/>             {<br/>                 using (SPSite l_site = new SPSite(p_strSiteUrl))<br/>                 {<br/>                     l_web = l_site.OpenWeb();<br/> <br/>                 }<br/> <br/>             });<br/> This coding works fine for development server. But now i am shifting site on the production server which is having different environment. On development server i was having the single server, but production server having database and application servers on different servers. I am  getting the error whenever user access the custom pages on production server. Rest all the list item are accessible through the sharepoint list pages, only the custom pages have the problems for accessing the contents. <br/></div> I have change the Settings of sql server 2005 for Surface area configuration to Database Engine-&gt;Remote Connection-&gt;Locat and remote connection-&gt;Using TCP/IP and Named Pipes. But still its not working, I am getting the same error. Its now 2 days i have googled arround and didnt find the solution. I dont know whether i am missing some settings or in the Server 2008 i need to do something else to make my coding to work. Please reply if some one have the experience to deal with sharepoint farm and Server 2008. Here are the error details. <br/> <br/> I have gone through the code, and I found that whenever i am trying to store anything in the session,  that time i am getting this error. The session mode that i am using is SQLServer and connection string as &quot;data source=localhost;Integrated Security=SSPI&quot; . Do I have to mention some custom connection string while using database server as different server than the application server.<br/> <br/> <p><span style="font-size:18pt;color:red">Server Error in '/_layouts/Test1' Application. </span></p> <div style="text-align:center"><span style="font-size:18pt;color:red"> <hr style="color:silver" size=1> </span></div> <p><em><span style="font-size:14pt;color:maroon">A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)</span> </em> <span style="font-size:14pt;color:maroon"> </span></p> <p style="margin-bottom:12pt"><strong><span style="font-size:8.5pt;color:black">Description: </span> </strong> <span style="font-size:8.5pt;color:black">An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. <br/> <br/> </span> <strong><span style="font-size:8.5pt;color:black">Exception Details: </span> </strong> <span style="font-size:8.5pt;color:black">System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)<br/> <br/> </span> <strong><span style="font-size:8.5pt;color:black">Source Error:</span> </strong> <span style="font-size:8.5pt;color:black"> </span></p> <table style="background:#ffffcc none repeat scroll 0% 0%;width:100%" border=0 cellpadding=0 width="100%"> <tbody> <tr> <td style="padding:0.75pt"> <p><span style="font-size:10pt;font-family:'Courier New';color:black">An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.</span> <span style="font-size:8.5pt;color:black"> </span></p> </td> </tr> </tbody> </table> <p style="margin-bottom:12pt"><span style="font-size:8.5pt;color:black"><br/> </span> <strong><span style="font-size:8.5pt;color:black">Stack Trace:</span> </strong> <span style="font-size:8.5pt;color:black"> </span></p> <table style="background:#ffffcc none repeat scroll 0% 0%;width:100%" border=0 cellpadding=0 width="100%"> <tbody> <tr> <td style="padding:0.75pt"> <p><span style="font-size:9pt;font-family:'Lucida Console';color:black"> </span></p> <p><span style="font-size:9pt;font-family:'Lucida Console';color:black">[SqlException (0x80131904): A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)]</span></p> <p><span style="font-size:9pt;font-family:'Lucida Console';color:black">   System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) +248</span></p> <p><span style="font-size:9pt;font-family:'Lucida Console';color:black">   System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) +245</span></p> <p><span style="font-size:9pt;font-family:'Lucida Console';color:black">   System.Data.SqlClient.TdsParser.Connect(ServerInfo serverInfo, SqlInternalConnectionTds connHandler, Boolean ignoreSniOpenTimeout, Int64 timerExpire, Boolean encrypt, Boolean trustServerCert, Boolean integratedSecurity, SqlConnection owningObject) +475</span></p> <p><span style="font-size:9pt;font-family:'Lucida Console';color:black">   System.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, Boolean ignoreSniOpenTimeout, Int64 timerExpire, SqlConnection owningObject) +260</span></p> <p><span style="font-size:9pt;font-family:'Lucida Console';color:black">   System.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(String host, String newPassword, Boolean redirectedUserInstance, SqlConnection owningObject, SqlConnectionString connectionOptions, Int64 timerStart) +2450585</span></p> <p><span style="font-size:9pt;font-family:'Lucida Console';color:black">   System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(SqlConnection owningObject, SqlConnectionString connectionOptions, String newPassword, Boolean redirectedUserInstance) +2450280</span></p> <p><span style="font-size:9pt;font-family:'Lucida Console';color:black">   System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, Object providerInfo, String newPassword, SqlConnection owningObject, Boolean redirectedUserInstance) +354</span></p> <p><span style="font-size:9pt;font-family:'Lucida Console';color:black">   System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection) +703</span></p> <p><span style="font-size:9pt;font-family:'Lucida Console';color:black">   System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnection owningConnection, DbConnectionPool pool, DbConnectionOptions options) +54</span></p> <p><span style="font-size:9pt;font-family:'Lucida Console';color:black">   System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject) +2419176</span></p> <p><span style="font-size:9pt;font-family:'Lucida Console';color:black">   System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject) +92</span></p> <p><span style="font-size:9pt;font-family:'Lucida Console';color:black">   System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject) +1657</span></p> <p><span style="font-size:9pt;font-family:'Lucida Console';color:black">   System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) +84</span></p> <p><span style="font-size:9pt;font-family:'Lucida Console';color:black">   System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) +1649271</span></p> <p><span style="font-size:9pt;font-family:'Lucida Console';color:black">   System.Data.SqlClient.SqlConnection.Open() +258</span></p> <p><span style="font-size:9pt;font-family:'Lucida Console';color:black">   System.Web.SessionState.SqlStateConnection..ctor(SqlPartitionInfo sqlPartitionInfo) +292</span></p> <p><span style="font-size:9pt;font-family:'Lucida Console';color:black"> </span></p> <p><span style="font-size:9pt;font-family:'Lucida Console';color:black">[HttpException (0x80004005): Unable to connect to SQL Server session database.]</span></p> <p><span style="font-size:9pt;font-family:'Lucida Console';color:black">   System.Web.SessionState.SqlSessionStateStore.ThrowSqlConnectionException(SqlConnection conn, Exception e) +2984636</span></p> <p><span style="font-size:9pt;font-family:'Lucida Console';color:black">   System.Web.SessionState.SqlStateConnection..ctor(SqlPartitionInfo sqlPartitionInfo) +2981919</span></p> <p><span style="font-size:9pt;font-family:'Lucida Console';color:black">   System.Web.SessionState.SqlSessionStateStore.GetConnection(String id, Boolean&amp; usePooling) +254</span></p> <p><span style="font-size:9pt;font-family:'Lucida Console';color:black">   System.Web.SessionState.SqlSessionStateStore.SetAndReleaseItemExclusive(HttpContext context, String id, SessionStateStoreData item, Object lockId, Boolean newItem) +207</span></p> <p><span style="font-size:9pt;font-family:'Lucida Console';color:black">   System.Web.SessionState.SessionStateModule.OnReleaseState(Object source, EventArgs eventArgs) +775</span></p> <p><span style="font-size:9pt;font-family:'Lucida Console';color:black">   System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +80</span></p> <p><span style="font-size:9pt;font-family:'Lucida Console';color:black">   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp; completedSynchronously) +171</span></p> </td> </tr> </tbody> </table> <p><span style="font-size:8.5pt;color:black"> </span></p> <hr class=sig> kapil© 2009 Microsoft Corporation. All rights reserved.Sun, 25 Oct 2009 18:47:13 Z00bd57cc-1124-481c-8c09-957885b599achttp://social.msdn.microsoft.com/Forums/en-US/sharepointdevelopment/thread/00bd57cc-1124-481c-8c09-957885b599ac#00bd57cc-1124-481c-8c09-957885b599achttp://social.msdn.microsoft.com/Forums/en-US/sharepointdevelopment/thread/00bd57cc-1124-481c-8c09-957885b599ac#00bd57cc-1124-481c-8c09-957885b599acKapil Khadgihttp://social.msdn.microsoft.com/Profile/en-US/?user=Kapil%20KhadgiError while shifting sharepoint site to MOSS 2007 , Sever 2003 from MOSS 2007, Server2008Hi,<br/> Following is the scenario..<br/> <br/> Configuration For Developer Server : <br/> 1)OS : Server 2003.<br/> 2)MOSS 2007 (SP2)<br/> 3)DB : SQLServer 2005<br/> <br/> Configuration For Production Server :<br/> 1)OS : Server 2008.<br/> 2)Sharepoint : MOSS 2007(SP2)<br/> 3)DB : SQLServer 2005<br/> <br/>    We have MOSS 2007 on developer server machine.  We added the <a href="http://asp.net/">asp.net</a> pages on the sharepoint pages. For calling the List item we are using coding as follows.<br/> <br/> string p_strSiteUrl=&quot;<a href="http://spserver:1100/sites/PCR/RM/">http://testserver/sites/testsite/RM/</a> &quot;;<br/> string l_strBookingNo = &quot;&quot;;<br/>             SPWeb l_web = null;<br/>             SPSecurity. <div class="ii gt">RunWithElevatedPrivileges(delegate()<br/>             {<br/>                 using (SPSite l_site = new SPSite(p_strSiteUrl))<br/>                 {<br/>                     l_web = l_site.OpenWeb();<br/> <br/>                 }<br/> <br/>             });<br/> This coding works fine for development server. But now i am shifting site on the production server which is having different environment. On development server i was having the single server, but production server having database and application servers on different servers. I am  getting the error whenever user access the custom pages on production server. Rest all the list item are accessible through the sharepoint list pages, only the custom pages have the problems for accessing the contents. <br/></div> I have change the Settings of sql server 2005 for Surface area configuration to Database Engine-&gt;Remote Connection-&gt;Locat and remote connection-&gt;Using TCP/IP and Named Pipes. But still its not working, I am getting the same error. Its now 2 days i have googled arround and didnt find the solution. I dont know whether i am missing some settings or in the Server 2008 i need to do something else to make my coding to work. Please reply if some one have the experience to deal with sharepoint farm and Server 2008. Here are the error details. <br/> <br/> I have gone through the code, and I found that whenever i am trying to store anything in the session,  that time i am getting this error. The session mode that i am using is SQLServer and connection string as &quot;data source=localhost;Integrated Security=SSPI&quot; . Do I have to mention some custom connection string while using database server as different server than the application server.<br/> <br/> <p><span style="font-size:18pt;color:red">Server Error in '/_layouts/Test1' Application. </span></p> <div style="text-align:center"><span style="font-size:18pt;color:red"> <hr style="color:silver" size=1> </span></div> <p><em><span style="font-size:14pt;color:maroon">A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)</span> </em> <span style="font-size:14pt;color:maroon"> </span></p> <p style="margin-bottom:12pt"><strong><span style="font-size:8.5pt;color:black">Description: </span> </strong> <span style="font-size:8.5pt;color:black">An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. <br/> <br/> </span> <strong><span style="font-size:8.5pt;color:black">Exception Details: </span> </strong> <span style="font-size:8.5pt;color:black">System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)<br/> <br/> </span> <strong><span style="font-size:8.5pt;color:black">Source Error:</span> </strong> <span style="font-size:8.5pt;color:black"> </span></p> <table style="background:#ffffcc none repeat scroll 0% 0%;width:100%" border=0 cellpadding=0 width="100%"> <tbody> <tr> <td style="padding:0.75pt"> <p><span style="font-size:10pt;font-family:'Courier New';color:black">An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.</span> <span style="font-size:8.5pt;color:black"> </span></p> </td> </tr> </tbody> </table> <p style="margin-bottom:12pt"><span style="font-size:8.5pt;color:black"><br/> </span> <strong><span style="font-size:8.5pt;color:black">Stack Trace:</span> </strong> <span style="font-size:8.5pt;color:black"> </span></p> <table style="background:#ffffcc none repeat scroll 0% 0%;width:100%" border=0 cellpadding=0 width="100%"> <tbody> <tr> <td style="padding:0.75pt"> <p><span style="font-size:9pt;font-family:'Lucida Console';color:black"> </span></p> <p><span style="font-size:9pt;font-family:'Lucida Console';color:black">[SqlException (0x80131904): A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)]</span></p> <p><span style="font-size:9pt;font-family:'Lucida Console';color:black">   System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) +248</span></p> <p><span style="font-size:9pt;font-family:'Lucida Console';color:black">   System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) +245</span></p> <p><span style="font-size:9pt;font-family:'Lucida Console';color:black">   System.Data.SqlClient.TdsParser.Connect(ServerInfo serverInfo, SqlInternalConnectionTds connHandler, Boolean ignoreSniOpenTimeout, Int64 timerExpire, Boolean encrypt, Boolean trustServerCert, Boolean integratedSecurity, SqlConnection owningObject) +475</span></p> <p><span style="font-size:9pt;font-family:'Lucida Console';color:black">   System.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, Boolean ignoreSniOpenTimeout, Int64 timerExpire, SqlConnection owningObject) +260</span></p> <p><span style="font-size:9pt;font-family:'Lucida Console';color:black">   System.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(String host, String newPassword, Boolean redirectedUserInstance, SqlConnection owningObject, SqlConnectionString connectionOptions, Int64 timerStart) +2450585</span></p> <p><span style="font-size:9pt;font-family:'Lucida Console';color:black">   System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(SqlConnection owningObject, SqlConnectionString connectionOptions, String newPassword, Boolean redirectedUserInstance) +2450280</span></p> <p><span style="font-size:9pt;font-family:'Lucida Console';color:black">   System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, Object providerInfo, String newPassword, SqlConnection owningObject, Boolean redirectedUserInstance) +354</span></p> <p><span style="font-size:9pt;font-family:'Lucida Console';color:black">   System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection) +703</span></p> <p><span style="font-size:9pt;font-family:'Lucida Console';color:black">   System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnection owningConnection, DbConnectionPool pool, DbConnectionOptions options) +54</span></p> <p><span style="font-size:9pt;font-family:'Lucida Console';color:black">   System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject) +2419176</span></p> <p><span style="font-size:9pt;font-family:'Lucida Console';color:black">   System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject) +92</span></p> <p><span style="font-size:9pt;font-family:'Lucida Console';color:black">   System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject) +1657</span></p> <p><span style="font-size:9pt;font-family:'Lucida Console';color:black">   System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) +84</span></p> <p><span style="font-size:9pt;font-family:'Lucida Console';color:black">   System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) +1649271</span></p> <p><span style="font-size:9pt;font-family:'Lucida Console';color:black">   System.Data.SqlClient.SqlConnection.Open() +258</span></p> <p><span style="font-size:9pt;font-family:'Lucida Console';color:black">   System.Web.SessionState.SqlStateConnection..ctor(SqlPartitionInfo sqlPartitionInfo) +292</span></p> <p><span style="font-size:9pt;font-family:'Lucida Console';color:black"> </span></p> <p><span style="font-size:9pt;font-family:'Lucida Console';color:black">[HttpException (0x80004005): Unable to connect to SQL Server session database.]</span></p> <p><span style="font-size:9pt;font-family:'Lucida Console';color:black">   System.Web.SessionState.SqlSessionStateStore.ThrowSqlConnectionException(SqlConnection conn, Exception e) +2984636</span></p> <p><span style="font-size:9pt;font-family:'Lucida Console';color:black">   System.Web.SessionState.SqlStateConnection..ctor(SqlPartitionInfo sqlPartitionInfo) +2981919</span></p> <p><span style="font-size:9pt;font-family:'Lucida Console';color:black">   System.Web.SessionState.SqlSessionStateStore.GetConnection(String id, Boolean&amp; usePooling) +254</span></p> <p><span style="font-size:9pt;font-family:'Lucida Console';color:black">   System.Web.SessionState.SqlSessionStateStore.SetAndReleaseItemExclusive(HttpContext context, String id, SessionStateStoreData item, Object lockId, Boolean newItem) +207</span></p> <p><span style="font-size:9pt;font-family:'Lucida Console';color:black">   System.Web.SessionState.SessionStateModule.OnReleaseState(Object source, EventArgs eventArgs) +775</span></p> <p><span style="font-size:9pt;font-family:'Lucida Console';color:black">   System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +80</span></p> <p><span style="font-size:9pt;font-family:'Lucida Console';color:black">   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp; completedSynchronously) +171</span></p> </td> </tr> </tbody> </table> <p><span style="font-size:8.5pt;color:black"> </span></p> <hr class=sig> kapilSat, 04 Jul 2009 15:24:49 Z2009-07-06T17:51:27Zhttp://social.msdn.microsoft.com/Forums/en-US/sharepointdevelopment/thread/00bd57cc-1124-481c-8c09-957885b599ac#ecdc874b-5ecc-4de9-b728-a6e314aeea45http://social.msdn.microsoft.com/Forums/en-US/sharepointdevelopment/thread/00bd57cc-1124-481c-8c09-957885b599ac#ecdc874b-5ecc-4de9-b728-a6e314aeea45Ramesh Krishnanhttp://social.msdn.microsoft.com/Profile/en-US/?user=Ramesh%20KrishnanError while shifting sharepoint site to MOSS 2007 , Sever 2003 from MOSS 2007, Server2008Kapil, <div>Is this issue resolved. I am also having same problem. My custom user control code is failing and it occurs whenever the code tries to save something in the session.</div> <div>please let me know if this issue is resolved for you.</div>Sun, 25 Oct 2009 14:10:58 Z2009-10-25T14:10:58Zhttp://social.msdn.microsoft.com/Forums/en-US/sharepointdevelopment/thread/00bd57cc-1124-481c-8c09-957885b599ac#d91bc264-b568-493c-8c23-643a7f5c2ca5http://social.msdn.microsoft.com/Forums/en-US/sharepointdevelopment/thread/00bd57cc-1124-481c-8c09-957885b599ac#d91bc264-b568-493c-8c23-643a7f5c2ca5Tim Larson3331234http://social.msdn.microsoft.com/Profile/en-US/?user=Tim%20Larson3331234Error while shifting sharepoint site to MOSS 2007 , Sever 2003 from MOSS 2007, Server2008Can you tell us what line of code causes the exception to be thrown?  If you can throw in some surrounding lines of code, it would be helpful.<br/> <br/>     Tim<br/> <br/>Sun, 25 Oct 2009 18:19:09 Z2009-10-25T18:19:09Zhttp://social.msdn.microsoft.com/Forums/en-US/sharepointdevelopment/thread/00bd57cc-1124-481c-8c09-957885b599ac#c101eb4b-8307-4083-bcab-a7ef7535c6cdhttp://social.msdn.microsoft.com/Forums/en-US/sharepointdevelopment/thread/00bd57cc-1124-481c-8c09-957885b599ac#c101eb4b-8307-4083-bcab-a7ef7535c6cdBrianTearehttp://social.msdn.microsoft.com/Profile/en-US/?user=BrianTeareError while shifting sharepoint site to MOSS 2007 , Sever 2003 from MOSS 2007, Server2008<p>Hi Kapil,<br/><br/>Assuming the instance name is correct<br/>Assuming your sql server is configured to aalow remote comnnections<br/><br/>Looks like the application pool account has no Sql login or rights at the Sql server.<br/><br/>Try granting the application pool account sql login and accsss to the content DB's in question.<br/><br/>Hope this gets you in the right place.</p><hr class="sig">Brian TSun, 25 Oct 2009 18:47:12 Z2009-10-25T18:47:12Z