Manish Pansiniya's Blog

.NET, C#, Javascript, ASP.NET and lots more…:)

Error in connecting SQL Server 2005 with IIS

leave a comment »

Another issue I was facing today is connection problem in ASP.NET application from IIS. It is working fine with Internal web server which is provided with Visual Studio 2005. Searched a Lot but could not find any solution.

Following is the error:

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)

Please let me know if anybody has solution to this problem.

Advertisements

Written by Manish

December 22, 2006 at 11:10 am

Posted in .NET

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: