Problem connect to SQL 2000 from ASP.Net - TechRepublic
General discussion
June 13, 2006 at 10:59 PM
wkleo

Problem connect to SQL 2000 from ASP.Net

by wkleo . Updated 19 years, 3 months ago

Currently, I created ASP.Net Application and using SQL 2000 Database.There are error occurred that connect to SQL 2000 server when run the ASP.Net application.The following error appear

An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 – Could not open a connection to SQL Server)
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.Exception: An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 – Could not open a connection to SQL Server)

Source Error:

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.

I would appreciate if anyone can help me to solve this problem!

Thank you
Wilson

This discussion is locked

All Comments