provider: Named Pipes Provider, error: 40 - Can't install

Post here for help with installing or upgrading mojoPortal pre-compiled release packages. When posting in this forum, please provide all relevant details. You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

Post here for help with installation of mojoPortal pre-compiled release packages

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.

You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

This thread is closed to new posts. You must sign in to post in the forums.
11/15/2010 4:34:03 PM
Gravatar
Total Posts 1

provider: Named Pipes Provider, error: 40 - Can't install

<add key="MSSQLConnectionString" value="server=SAHARA\SQLEXPRESS;UID=mojouser;PWD=4ywu0ara9;database=mojo_sql;"/><add key="MSSQLConnectionString" value="server=SAHARA\SQLEXPRESS;UID=mojouser;PWD=4ywu0ara9;database=mojo_sql;"/><add key="MSSQLConnectionString" value="server=SAHARA\SQLEXPRESS;UID=mojouser;PWD=4ywu0ara9;database=mojo_sql;"/>

Hi there

I'm trying to install on a Plesk server with SQLExpress 2005 and IIS 6 with ASP 3.5 installed. I'm getting the following error:

------

Probing system...
File system permissions ok.

The system cannot connect to the MSSQL database. Please check your connection string.

System.Data.SqlClient.SqlException: 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) at System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject) at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) at System.Data.SqlClient.SqlConnection.Open() at mojoPortal.Data.DBPortal.DatabaseHelperGetConnectionError(String overrideConnectionInfo)
 
---
 
Here's my Connection String:
 
<add key="MSSQLConnectionString" value="server=xxxxxx\SQLEXPRESS;UID=xxxxxx;PWD=xxxxx;database=xxxxxx;"/>
 
I've tried every possible combination on the connection string and the result is always the same. I have other mssql dbs running OK.
 
SQLBrowser service is also on.
 
I really need help. What am I doing wrong?
 
thanks
G
 
 
 

 

11/16/2010 2:19:28 AM
Gravatar
Total Posts 550

Re: provider: Named Pipes Provider, error: 40 - Can't install

Hi ,

It seems your MS SQL Server name is incorrect. You can get the correct instance name of it from your hosting provider.

Can you connect to your sql server via MS SQL Server Management Studio?

Hope Helps,

Asad

 

You must sign in to post in the forums. This thread is closed to new posts.