troubleshooting Question

SQL Server 2005 named pipes error when using web services

Avatar of SwatiBhaskar
SwatiBhaskar asked on
ASP.NETMicrosoft SQL Server 2005
3 Comments1 Solution497 ViewsLast Modified:
I'm consuming a web service from within a ASP.NET application. I get the following error when I try to execute a web method from within the application -

System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.Data.SqlClient.SqlException: 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)
   at Documents.GetStatements(String clientId, String accountNumber, String begDate, String endDate)
   --- End of inner exception stack trace ---

Since the web service is an external one (hosted by a third party vendor), I'm unable to view the SQL Server settings, but I'm sure that remote connections are allowed. Is this an issue with the those settings or can I sort this out at client side here itself?

Thanks.
ASKER CERTIFIED SOLUTION
TheMegaLoser

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 3 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 3 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros