I am getting the same error.
I have tried the above and numerous other combinations for the servername and still get the same error.
I have check the DB exists, all look to be fine but still get this error message.
Any help would be greatly appreciated.
Thanks!
Server Error in '/PortalVB' Application.
--------------------------------------------------------------------------------
SQL Server does not exist or access denied.
Description: 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.
Exception Details: System.Data.SqlClient.SqlException: SQL Server does not exist or access denied.
Source Error:
Line 37: End If
Line 38:
Line 39: Context.Items.Add("PortalSettings", New PortalSettings(tabIndex, tabId))
Line 40:
Line 41: End Sub
Source File: c:\PortalVB\PortalVB\global.asax Line: 39
Stack Trace:
[SqlException: SQL Server does not exist or access denied.]
System.Data.SqlClient.ConnectionPool.GetConnection(Boolean& isInTransaction) +472
System.Data.SqlClient.SqlConnectionPoolManager.GetPooledConnection(SqlConnectionString options, Boolean& isInTransaction) +372
System.Data.SqlClient.SqlConnection.Open() +384
ASPNetPortal.PortalSettings..ctor(Int32 tabIndex, Int32 tabId) +1003
ASP.Global_asax.Application_BeginRequest(Object sender, EventArgs e) in c:\PortalVB\PortalVB\global.asax:39
System.Web.SyncEventExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute() +60
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +87
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.573