Getting a server error

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.
7/17/2006 11:02:28 AM
Gravatar
Total Posts 13

Getting a server error

After installation, I get this error. 

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)

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: 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)

I have already set the server to allow remote connection, but I still get this error.  What else do I need to do to set it up right?
7/17/2006 2:50:22 PM
Gravatar
Total Posts 18439

Re: Getting a server error

Is your SQL server configured only for Windows authentication? I have seen this error or something like it in that situation. Can you change it to mixed mode so it works with both windows authentication and sql authentication. This is required if you are using a sql login and password in your connection string.

Hope it helps,

Joe
7/20/2006 11:40:50 AM
Gravatar
Total Posts 13

Re: Getting a server error

I moved the installation to another machine and it started working.  I guess I don't have SQL in my machine.  It was only some remnant from an old installation.
You must sign in to post in the forums. This thread is closed to new posts.