MS SQL installation 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.
1/12/2009 2:25:45 PM
Gravatar
Total Posts 7

MS SQL installation error

Hello I am using release 2.2.7.9 mssqlreleasefiles to install mojoportal. I am using a AD account with dbo rights on the database I have created for mojoportal in the connection string... I am getting the following error below during setup. I've triple checked the database server name/uid/password/database name. What could be wrong?

Probing system...
File system permissions ok.

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


System.Data.SqlClient.SqlException: Login failed for user 'EDITED OUT'. 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)

1/12/2009 2:50:39 PM
Gravatar
Total Posts 18439

Re: MS SQL installation error

Hi,

Its not an ambiguous error the login is failing, triple checking or not, something isn't right in the connection string or the user account doesn't have permissions as you think. I recommend using a sql user not an AD user. If you use a windows user you may need to use the same user for the aspnet user that the web runs as and you may need your connection string formated differently. The format on the included connection string is for a sql user account.

I also recommend using the latest version of mojoPortal, currently 2.2.8.2-b

Hope it helps,

Joe

1/12/2009 3:32:30 PM
Gravatar
Total Posts 7

Re: MS SQL installation error

Thanks!!!

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