Can't find 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/31/2006 1:19:34 AM
Gravatar
Total Posts 4

Re: Can't find login.aspx

Hi,

I've just started setting up a testing site with mojoportal as a virtual directory. This is using .Net2 under Win XP. The database is setup with the scripts. On trying to load the site (http://localhost/mojoportal) I get the following error:



Requested URL: /mojoportal/login.aspx

Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42 HTTP/1.1 404 Not Found Server: Microsoft-IIS/5.1 Date: Tue, 31 Jan 2006 13:10:59 GMT X-Powered-By: ASP.NET X-AspNet-Version: 2.0.50727 Cache-Control: private Content-Length: 0 X-AspNet-Version: 2.0.50727 Cache-Control: private Content-Type: text/html; charset=utf-8 Content-Length: 3648
Server Error in '/mojoportal' Application.
The resource cannot be found.

Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly.

Requested URL: /mojoportal/login.aspx

Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42

Any pointers greatly appreciated. TIA.

Jon

1/31/2006 1:33:48 AM
Gravatar
Total Posts 18439

Re: Can't find login.aspx

The correct url would be /mojoportal/Secure/Login.aspx

I'm not sure what would make the login link point to the wrong place unless it is a web configuration issue.

Are you using the release version or from svn?

Hope it helps,

Joe
1/31/2006 1:38:55 AM
Gravatar
Total Posts 4

Re: Can't find login.aspx

Thanks for the speedy reply.  I'm using the release versions.  Plural as I had the same problem with the 1.0 release under .net 1.1 but decided to try version 2 first.

I thought that Secure should be in the url and tried entering it manually with the same result as posted.

Jon

1/31/2006 1:49:20 AM
Gravatar
Total Posts 18439

Re: Can't find login.aspx

If you have SSLIsAvailable as true in the Web.config and you don't really have ssl available you will get a 404 error when it tries to force ssl on the login page.

Is that possibly the problem?
1/31/2006 1:55:25 AM
Gravatar
Total Posts 4

Re: Can't find login.aspx

Nope.

<add key="SSLIsAvailable" value="false" />

Jon

1/31/2006 2:23:12 AM
Gravatar
Total Posts 18439

Re: Can't find login.aspx

Hmm,

I'm running out of ideas, haven't seen this issue before.
Your IIS settings are mapping localhost/mojoportal to the root folder of the mojoportal web? You can get to the home page of the site but just not the login?
Is this aplication beneath another application at the root of the Default Web site? is there another Web.config file at the root of the Default Web Site? and another app running there?
1/31/2006 2:29:48 AM
Gravatar
Total Posts 4

Re: Can't find login.aspx

Yes!  There was a Web.config in the Default Web Site root.

Looks to be working fine now.

Thank you.

Jon

1/31/2006 1:26:43 PM
Gravatar
Total Posts 18439

Re: Can't find login.aspx

Excellent! Glad its working for you!

Cheers,

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