Root url under IIS not found

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.
12/17/2010 2:28:57 PM
Gravatar
Total Posts 137
When enough isn't

Root url under IIS not found

Hi

I can't get the any of our five sites to react when I put the root domaine in the url. Any other urls with extensions work nicely. You can see for your self here:

(UPDATE: Solved in the meanwhile, so now you can't see the problem)

www.nysport.dk doesn't work and e.g. www.nysport.dk/default.aspx or www.nysport.dk/forside.aspx works.

Our webhotel has moved our websites from a IIS 6 server with .net 3.5 to IIS 7 server with asp.net 4, but you can still run .net 3.5. Before the move everything worked.

So our plan was to move our sites to the new server and get everything running under .net 3.5 before upgrading MojoPortal to asp.net 4 in a second stage.

Status is as you can see from the examples everything is running nicely on IIS 7 with .net 3.5 except the root-url. Any suggestions?

I have to add that I can not access the IIS on the hosted environment and the webhotel told me I should check my web.config file. I have experienced with most of the settings with no solution.

I hope someone can give me some sort of clue. Thanks in advance.

Lars Rathje
Denmark

12/17/2010 2:41:12 PM
Gravatar
Total Posts 18439

Re: Root url under IIS not found

Hi Lars,

It shows a 500 error but it is not clear if mojoportal is handling the request. I don't suspect a Web.config error if all other urls in mojoPortal work.

What I would try is first clear the mojoportal log then cause the error and see if anything is logged or not. 

If not, then maybe try disable the friendly error as described in Basic Troubleshooting and see if you can get a more detailed error.

I would check in the web control panel that Default.aspx is the default document and not something else like index.aspx or index.php etc.

Hope it helps,

Joe

12/19/2010 7:06:14 AM
Gravatar
Total Posts 137
When enough isn't

Re: Root url under IIS not found

Thanks, Joe

I have spend a lot of investigations with no results ... BUT ... now I found it:

In the web.config file I commented this part out:

<defaultDocument>
<files>
<remove value="Default.aspx" />
<add value="Default.aspx" />
</files>
</defaultDocument>

That was (as always) the simple cause of the error. I don't know if this is because of the actual setup of my host server, maybe they use "d" rather than "D" or whatever ...

Anyway the problem is solved and I just wanted to pass on the results. Now we can proceed to upgrade for .net 4 version smiley.

Thanks, Lars

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