Fresh installation, defaulting to login.aspx

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/16/2013 1:48:48 PM
Gravatar
Total Posts 21

Fresh installation, defaulting to login.aspx

I am sure this is a simple fix that I have overlooked, but my eyes are blurry at this point and I need some fresh insight.  System information:

Server 2008 R2 Enterprise

MSSQL 2008 R2 Enterprise

Latest release (as of today)

.ASP 4.0

For some reason, when I navigate to the page www.RTIRacing.com, It defaults to http://www.rtiracing.com/login.aspx?ReturnUrl=%2f.  If I press the "Home" link, the page works perfectly fine from that point out.

I had a feeling it had something to do with SSL or security of some kind requiring a login, but I can't seem to find that anywhere.

HELP...

-Bob

1/16/2013 2:05:02 PM
Gravatar
Total Posts 18439

Re: Fresh installation, defaulting to login.aspx

Hi Bob,

Are you sure that there is not another protected by roles page that is actually the first page in your site?

The "home" link in the top nav just points to the root of your site, if the first page in your site is protected by roles it will redirect you to the login page. Clicking home in your site map seems to work but that url is /home.aspx it may not actually be the home page. The home page is simply the root level page with the lowest sort order but if that page is protected by roles it should redirect to login. The page with the url /home.aspx does not appear to be protected but it doesn't seem to really be the home page as defined.

Have you specified a different login page in web.config or user.config?

It should not be redirecting to /login.aspx that results in a 404, the correct login page should be /Secure/Login.aspx

You may also want to review url manager and 301 redirect manager for any unintended or incorrect things.

Also make sure that /Default.aspx is the highest priority default document.

Hope that helps,

Joe

1/16/2013 2:31:47 PM
Gravatar
Total Posts 21

Re: Fresh installation, defaulting to login.aspx

Joe,

   Thanks for the quick reply.  I checked and the default.aspx file is listed first in the "default document" section.  I checked to see if there was any "SSL" requirements and there weren't.  There is no redirection as far as I can tell.

   I didn't specify anything other than the SQL connection string.  I basically downloaded the package this morning, setup the database and dbase user information.  Edited the user.config file for connection string.  Set the security settings for the ../data folder, and entered www.rtiracing.com/setup/default.aspx.  I have several other sites working that I set up the same way and I am wondering of something has changed in the newest version?

   I am not against the wall on this one because I have about a week or so before the marketing goes out and people start hitting the site.  I am a bit frustrated that I can't find an answer to this though...

-Bob

1/16/2013 2:51:07 PM
Gravatar
Total Posts 21

Re: Fresh installation, defaulting to login.aspx

Joe,

   Found it...the setting "Automatically add LDAP users on first login" was checked.  I unchecked it, and it seems to have solved the problem.  Does that sound right?

 

 

1/16/2013 5:55:16 PM
Gravatar
Total Posts 21

Re: Fresh installation, defaulting to login.aspx

NOPE...Thought I had it.  As it turns out, the browser was just caching the site.  When I got home from work I tried it from home, and no joy.

-Bob

1/17/2013 6:17:55 AM
Gravatar
Total Posts 18439

Re: Fresh installation, defaulting to login.aspx

What kind of hosting do you have? Shared hosting or your own server?

1/17/2013 6:28:04 AM
Gravatar
Total Posts 21

Re: Fresh installation, defaulting to login.aspx

Joe,

   Everything is on my own server.  I have about 8 sites that are working well, I just can't seem to get to the bottom of this one.

-Bob

1/17/2013 6:31:46 AM
Gravatar
Total Posts 18439

Re: Fresh installation, defaulting to login.aspx

I think you must have some url rewriting rules going on in IIS modules outside of mojoPortal, and/or incorrect authentication configuration on this site in IIS.

Hope that helps,

Joe

1/17/2013 4:55:16 PM
Gravatar
Total Posts 21

Re: Fresh installation, defaulting to login.aspx

Joe,

   You da man...I went into the authorization (freshman mistake) and edited it to reflect the app pool identity, rather than iusr.  It seems like it is working now.  Please check it out from your end and let me know if it is ok.

   6 Pack's on me!!!

-Bob

1/18/2013 11:20:14 AM
Gravatar
Total Posts 18439

Re: Fresh installation, defaulting to login.aspx

Hi Bob,

Seems to be working fine from here. 

Many thanks for the beers! Much appreciated.

Cheers,

Joe

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