What do I have to do to get this to work?
C:\>aspnet_regsql.exe -A m -E
Start adding the following features:
Membership
............
An error has occurred. Details of the exception:
An error has occurred while establishing a connection to the server. When conne
cting 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)
Unable to connect to SQL Server database.
Hi,
If you're connecting to a remote machine, you will need to turn on remote connection on that server. Please follow this KB article to achieve this.
http://support.microsoft.com/kb/914277/en-us
HTH. If this does not answer your question, please feel free to mark the post as Not Answered and reply. Thank you!
|||SQL Server is set to allow remote connections already. I probably should have mentioned that in the first post.|||Hi,
Named Pipes Provider, error: 40 - Could not open a connection to SQL Server
Is just a basic connectivity error meaning the client could not connect to the target SQL Server. So just follow the basic connectivity troubleshooting guidelines on our SQL Protocols blog, see:
SQL Server 2005 Connectivity Issue Troubleshoot - Part I
http://blogs.msdn.com/sql_protocols/archive/2005/10/22/483684.aspx
and
SQL Server 2005 Connectivity Issue Troubleshoot - Part II
http://blogs.msdn.com/sql_protocols/archive/2005/10/29/486861.aspx
This should help you debug the problem.
No comments:
Post a Comment