Question : SQL Exception when testing ASP.Net application

When I start to debug my ASP.Net application on the development server, I get the following error message:  

"Exception: 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)"

I did some searches online and tried some suggestions but the same thing keeps happening and I can't fix this error.

Answer : SQL Exception when testing ASP.Net application

skykuhl

Yes this is all possible.

I have a PDC on which I installed SQL 2005 Express
for our AVG Anti Virus Database.

Last year, I installed SQL 2008 Express on the PDC
for a small Time Study Database/Program

( I know it's not recommended but our company
 does not like to spend a while lot on I.T.)

and did exactly what your being asked to do.

I unistalled the SQL 2005 Express Tools (Management Studio etc.)
and when the SQL 2008 Express was finished I just connected
 to the AVG database.

Now I can manage both through the SQL 2008 Express Management Studio.

Hope this helps.

Random Solutions  
 
programming4us programming4us