Mar 18, 2010 at 2:53 PM
Edited Mar 18, 2010 at 6:37 PM
I am having trouble getting Slickticket to run against a SQL server that is not ".\SQLEXPRESS'
*edit i had now instead of not*
I get: "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: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)"
Line 25: UserName = GetUsername();
Line 26: el.WriteEntry(db.Connection.ConnectionString, EventLogEntryType.Error);
Line 27: Details = db.users.FirstOrDefault(u => u.userName.Equals(UserName));
Line 28: HighestAccessLevelGroup = GetHighestAccessLevelGroup(db);
Line 29: IsRegistered = Details != null;
Source File: c:\SlickTicket_Test\App_Code\CurrentUser.cs Line:
27 Source Error:
As you can see I added wrote an event log out with the connection string and it shows up as follows: "Data Source=.\SQLEXPRESS;Inital Catalog=SlickTicket;Integrated Security=True"
This is not the connection string in my web.config
I even went into the DBML file and change the connection string in there, to no avail. Any idea what’s going on an how I can fix this?