cannot login after instalation

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/23/2007 6:24:47 AM
Gravatar
Total Posts 3

cannot login after instalation

Hi all,

I have strange problem. After install mojoportal to Win2003 IIS6 work ok, new site was created ok, until i tried to log in as admin@admin.com with pass admin. It just not authenticate (i using default forms method) and just flip back to home page (default.aspx) and stay unloged. I checked user database and admin is there with my registered user too. Cookie is working too. Only HttpContext.Current.Request.IsAuthenticated is still false. Any ideas what can i have wrong?

Thanx a lot for any advice

5/23/2007 7:46:41 AM
Gravatar
Total Posts 18439

Re: cannot login after instalation

Blocked cookies is the most likely cause even if you think you have cookies enabled. Try accessing it from a different computer. In the past when I have helped people with reports like this it always turns out to be anti-virus or privacy software or browser plugins/toolbars blocking the authentication cookie. Disable all that stuff if you have it and see if it solves it or see if you can produce the problem on other client computers. Even if you can login to other sites it can still be blocking selectively.

Hope it helps,

Joe

 

 

5/23/2007 8:00:15 AM
Gravatar
Total Posts 3

Re: cannot login after instalation

Thanks for quick help, no cookie is not blocked. I just compiled source and print cookie from default.aspx and it is there - some human unreadable string. I just tried simple forms authentication example where is credentials part of web.config and it not work too on this win2003 server, so it is not mojoportal problem but problem of this w2003 server. On my local XP IIS all example works ok. Please have any idea what can be blocked on w2003 server so it not allow forms authentication? there is sharepoint instaled too. I know default 2003 server restrictions are pretty tight.

5/23/2007 8:05:32 AM
Gravatar
Total Posts 18439

Re: cannot login after instalation

How do you have mojoportal configured? as a virtual directory beneath a site or as a root web site? If you make it a root web site then sharepoint should not interfere but if you have it as a virtual directory beneath a root web site (Sharepoint or not) there might be another web.config file at the root site that is interfering. Did you try accessing from another computer as I suggested? What version of mojoPortal are you using?

Hope it helps,

Joe

5/23/2007 8:17:11 AM
Gravatar
Total Posts 3

Re: cannot login after instalation

Holy cow!

that was ! web.config from intebup root with some evil setting. maybe this?

<machineKey validationKey="DD97357ACF197744DC00A9EF95B34305C2245463183B1B39" decryptionKey="96C54BFED3335BDEFADE8EA47643E724E014DCF56CD12344" validation="SHA1" />

if disabled that root web.config login to mojo works!

 

yup i have mojo as app under folder in root as app and its web.config inherit that setting from root web.config. Anyone by the chace know default machine key what i can use in my mojo web.config?

 

Thanks much foro help

 

 

 

5/23/2007 8:31:00 AM
Gravatar
Total Posts 18439

Re: cannot login after instalation

ok, if the upper web.config has that then maybe commenting out the machine key in mojoportal web.config will solve it. Also maybe not though, for best results I would make mojoportal a root web site of its own. I can't predict what settings are affected by a web.config file higher up the chain.

If you remove the upper web.config might solve it too, is it needed for something else or just leftover from something else.

Hope it helps,

Joe

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