Strange problem!! 2.3.8.5

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/26/2012 9:01:48 AM
Gravatar
Total Posts 5

Strange problem!! 2.3.8.5

I have installed mojoportal 2.3.8.1 .net 4 on a windows 2008 R2 and MSSQL 2008.

After upgrade to 2.3.8.5, I can't login. No errors in any logs.

If copy back the 2.3.8.1 files, it works again.(even when the DB is upgraded).

One thing I have noticed is that url's on buttons are pointing on http://<hostname>/ and not on the actual page.

ex.

On secure/login.aspx on the button:

 2.3.8.1  http://<hostname>/secure/login.aspx?returnurl=%2home.aspx

2.3.8.5 http://<hostname>/

I have also tried make a new install with same result.

Please help. Thanks

/Michael

 

 

 

6/27/2012 10:05:46 AM
Gravatar
Total Posts 18439

Re: Strange problem!! 2.3.8.5

Hi,

The only thing I can think of that would cause login to fail is if you are using encrypted passwords and you did not update the new web.config with the same machine key that you were using before in your previous web.config file.

Redeploying older version files after upgrading is a bad idea and will usually result in errors because there can be changes in the database that won't work with older code. To go back to a previous version you should have a backup of the files and db first, then delete all the files and restore them from the backup so that no newer files are mingled in and restore the database as well.

I cannot produce any login failure with a new installation and the return url params are working correctly and are not related to a failed login.

Best,

Joe

6/27/2012 1:05:35 PM
Gravatar
Total Posts 5

Re: Strange problem!! 2.3.8.5

Hi Joe

Thanks for you answer.
The upgrade part I understand and I have backup also. I was only for testing.

What I don't get is if I make a brand new installation, I can't login. I simply use mojoportal-2-3-8-5-mssql-net40-deploymentfiles.zip
and install a new website and db (yes I have remembered the file security).

I only changed the user.config file with DB connection and then run http://localhost/setup.

Setup runs without any problem and the site is up running, but login won't work.

If I do exactly same, but with mojoportal-2-3-8-1-mssql-net40-deploymentfiles.zip everything works fine, even login.

I think I will download the source, so I can debug better.

Thanks
/Michael


 

6/27/2012 1:19:01 PM
Gravatar
Total Posts 18439

Re: Strange problem!! 2.3.8.5

On the new installation are you using admin@admin.com and the password admin?

What message does it say when login fails?

Have you looked in the db in the mp_Users table to make sure the admin user was created and has the cleartext password admin in the Pwd field?

Do you have anonymous authentication configured in IIS?

6/27/2012 3:49:12 PM
Gravatar
Total Posts 5

Re: Strange problem!! 2.3.8.5

Yes i'm using admin@admin.com and password admin.

There are no messages, even when I enter something wrong. the button link is http://localhost in the status line. It seems like a the form submit is not launched.

I have looked in mp_users and admin is there and also the password is in clear text.

anonymous authentication is enabled.

If just change files to 2.3.8.1 files, I can login.

Any other ideas?

Thanks

Michael

6/28/2012 3:05:57 AM
Gravatar
Total Posts 5

Re: Strange problem!! 2.3.8.5

Hi Joe

It seems that all post don't work. Just an update. Register also doesn't work 

http://test.it-inside.dk is a clean install with 2.3.8.5.

If I run from a ie8 there are some script errors. Object expected and sys is undefined

/Michael

 

6/28/2012 4:56:38 AM
Gravatar
Total Posts 5

Re: Strange problem!! 2.3.8.5

Update:

I reinstalled the IIS and updated the server again. Now it works on 2.3.8.5.

Strange!!

/Michael

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