New Install :System.Data.SqlClient.SqlException (0x80131904): Login failed

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.
5/7/2013 9:38:07 PM
Gravatar
Total Posts 2

New Install :System.Data.SqlClient.SqlException (0x80131904): Login failed

Hello everybody

I'm a newbie.

I am trying to install new version of Mojoportal 2.3.9.7 as a new installation and I get the following error during setup procedure:

Probing system...
File system permissions ok.
The system cannot connect to the MSSQL database. Please check your connection string.
System.Data.SqlClient.SqlException (0x80131904): Login failed for user 'demomojo'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at mojoPortal.Data.DBPortal.DatabaseHelperGetConnectionError(String overrideConnectionInfo) ClientConnectionId:8dfac557-efb2-41b1-8a1b-bd1bfb68febb
Note: This page shows some information that is helpful during setup and upgrades but for security it would be best not to show any information when the system is up to date. You can disable setup and suppress all information on this page by setting DisableSetup=true in Web.config. When you need to upgrade, you can set this back to false. If you are logged in as Administrator setup will run and you will be able to see this page even if it is disabled in Web.config so you can easily leave it disabled and just login before upgrading. But if you are not logged in you will need to enable setup in Web.config.

 

I'm using Win 8 build 9200.

SQL server 2008 10.0.1600

and pack mojoportal-2-3-9-7-mssql-net40-deploymentfiles.

Thank you! Hope a fast response :D

5/8/2013 2:12:19 AM
Gravatar
Total Posts 2

Re: New Install :System.Data.SqlClient.SqlException (0x80131904): Login failed

i think i found my solution to fix it. I turn on Mixed mode in MSSQL then now it works properly

Thanks 

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