Failed Logins

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.
6/23/2012 10:19:33 PM
Gravatar
Total Posts 148

Failed Logins

I am installing a new version of mojoPortal.  Even though I have installed mojoPortal before, I have always used Windows Authentication for my login. However, I want to use SQL Server Authentication this time  

I followed the instructions in the video entitled Dev Series 1 mojoPortal Source Code Overview Part 1 on YouTube.  I keep getting the Failed Login response.

Here is my connection string in user.config:

<add key="MSSQLConnectionString" value="Data Source=localhost;Initial Catalog=MyGreatDatabase;UID=MyGreatLogin;PWD=1234567;" />

I followed the instruction in the YouTube video exactly. But, still I get:

System.Data.SqlClient.SqlException (0x80131904): Login failed for user 'MyGreatLogin'

 

6/24/2012 8:36:49 AM
Gravatar
Total Posts 148

Re: Failed Logins

One thing I need to add.  If I change the connection string to:

<add key="MSSQLConnectionString" value="Data Source=localhost;Initial Catalog=MyGreatDatabase;Integrated Security=True;" />

then it works.

6/24/2012 10:47:18 AM
Gravatar
Total Posts 18439

Re: Failed Logins

In order to use SQL Authentication you need to configure your sql server installation to support Mixed Mode authentication so it can use either SQL auth or Windows auth, if you don't know how to do that do some googling. Once that is done you need to make sure you create a sql user that is dbo on your mojoPortal database and then use that user and password.

Hope that helps,

Joe

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