Can't connect to SQL Server in an IIS web application after installing Visual Studio 2005

S

sim0n

Hi there,

I have a problem connecting to SQL Server from within both 1.1 and 2.0
web apps on IIS. The strange thing is, if i create a file system
website, the database code works without a problem (or the same code in
a console app even).

The error message I get is:

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)

I don't even have SQL Server 2005 installed on this machine, i even
removed SQL Server express and it still doesn't want to play. Has
anyone come across this problem before?

Any help greatly appreciated.

sim0n.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,743
Messages
2,569,478
Members
44,899
Latest member
RodneyMcAu

Latest Threads

Top