Author: Divergence | Posted on: 5/29/2009 8:58:13 PM | Views : 910

Hey everyone,

I've developed a custom membership provider and it works great locally. When I move it to the my shared hosting servers, I get this error.

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)

The SQL Server is 2000, there is no 2005 on there.

My connection string is definately ok as I confirmed everything in there. My web.config membership tag looks like this

    <connectionStrings>
        <add name="SpiritMovedConnectionString"
             connectionString="Data Source=mssql.h ...

Go to the complete details ...