Browser doesn't hit root level

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

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.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
2/7/2012 6:49:52 AM
Gravatar
Total Posts 9

Browser doesn't hit root level

 

Hi when a visitor hits http:\\delykkelige.dk They are not directed straight to root level on delykkelige\default.aspx

Instaed what happens is this:

With Firefox, it has this path:

http://delykkelige.dk/default.aspx/default.aspx/default.aspx/default.aspx/default.aspx/default.aspx/default.aspx/default.aspx/default.aspx/default.aspx/default.aspx/default.aspx/default.aspx/default.aspx/default.aspx/default.aspx/default.aspx/default.aspx/default.aspx/default.aspx/BlogView.aspx

With IE, it has this path

http://delykkelige.dk/AccessDenied.aspx

The Web hotel insists that I have some loop linking in my web.config, but I cant find anything like that.

Perhaps one of you have experienced the same?

 

Configuration:

mojoPortal Version 2.3.7.5 MSSQL

Operating System Microsoft Windows NT 6.0.6002 Service Pack 2

ASP.NET Info v4.0.30319 Running in Full Trust

2/7/2012 7:03:52 AM
Gravatar
Total Posts 18439

Re: Browser doesn't hit root level

My best guess is that you have some strange url rewriter rules going on with IIS Url re-writer module (happening before it reaches mojoPortal) or  you've done some very strange configuration like using ~/Default.aspx as a friendly url which you should not do or you have some strange redirects setup in the Advanced Tools > 301 Redirect manager in mojoPortal.

Hope that helps,

Joe

2/7/2012 9:08:44 AM
Gravatar
Total Posts 9

Re: Browser doesn't hit root level

 

You are right there are 3 pages of redirects.

Don't think that module were there in my previous Mojoportal version.... Anyway I will read the manual and figure out what it is. I can already see there is redirect from root (default) to blogview which explains why I have experience this.

thanks

2/8/2012 11:02:49 AM
Gravatar
Total Posts 9

Re: Browser doesn't hit root level

 

Joe, I can't find it in the documentation? Can you give me a link, its surely there somewhere.

 

thx

Ricky

2/8/2012 12:17:13 PM
Gravatar
Total Posts 18439

Re: Browser doesn't hit root level

Hi Ricky,

If you are seeing unintended redirects under Administration > Advanced Tools > 301 Redirect Manager

Just delete them and that should solve it.

Hope that helps,

Joe

2/9/2012 4:29:07 AM
Gravatar
Total Posts 9

Re: Browser doesn't hit root level

Deleted all items in URL manager. Then went to each page and selected edit and save. Now all the URL in the URL manager is correct. There are not listed any paths in 301 Redirect Manager. That should be good then.

It is though getting more weird.

In my Firefox browser at home it can't logout, instead of going to delykkelige.dk/logout.aspx it goes to delykkelige.dk/default.aspx/logout.aspx

In my firefox browser at work logout works.

When I enter den root level delykkelige.dk it below URL on both Firefow browsers

http://delykkelige.dk/default.aspx/default.aspx/default.aspx/default.aspx/default.aspx/default.aspx/default.aspx/default.aspx/default.aspx/default.aspx/default.aspx/default.aspx/default.aspx/default.aspx/default.aspx/default.aspx/default.aspx/default.aspx/default.aspx/default.aspx/BlogView.aspx

After I cleaned up the items in URL manager and 301 redirects the site can't load at all in IE. I get "500 - Internal server error."

Clearly the choice of browser has a great impact!

I just moved from .net 2.0 to .net 4.0 and installed the latest version and then these things started happen.

Do you think I should uncomment/comment some lines in the web.config to make it work?

Ricky

2/9/2012 10:02:57 AM
Gravatar
Total Posts 18439

Re: Browser doesn't hit root level

If you would like to send me administrator credentials to your web site I will login and take a look.

You can send it to joe dot audette at g mail dotcom

3/14/2012 9:34:56 AM
Gravatar
Total Posts 9

Re: Browser doesn't hit root level

Hi Joe

As you already know will the landing page not show on http://delykkelige.dk/

instead an error is shown and a link to where the error origins from. If I follow the link to line 1072 in the web.config I find these lines

  <!-- Disable runtime rejection of Integrated mode applications that have legacy ASP.NET settings -->
<validation validateIntegratedModeConfiguration="false"/>
<defaultDocument>
<files>
<remove value="Default.aspx"/>
<add value="Default.aspx"/>
</files>
</defaultDocument>

If I comment out this entire section the landing page shows but without any skin - so something has to do with it.

If you want you can get FTP access to the site in order to play with the web.config ?

What do you think

Best

Ricky

 

 

3/14/2012 9:42:28 AM
Gravatar
Total Posts 18439

Re: Browser doesn't hit root level

Hi Ricky,

You can safely remove this:

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

It seems to be causing an error on your site right now.

let me know when you remove that and the site is working and I'll visit your site and see what I can determine about the skin problem.

Hope that helps,

Joe

3/19/2012 7:03:04 AM
Gravatar
Total Posts 9

Re: Browser doesn't hit root level

 

Hi Joe

I have removed the section and the site now shows an ugly skin. I signed in and the skin list only shows:

  1. Site default
  2. Artisteer31- xxxxx
  3. jqueryui-1

I think mine was called andreasviklun.....or something like that.

The web.config is still ready to run install, if you wish to do that

Ricky

 

3/19/2012 7:24:40 AM
Gravatar
Total Posts 18439

Re: Browser doesn't hit root level

Hi Ricky,

Your site seems to be trying to load a skin that does not exist (styleshout-envision) so it is returning no css at all because the skin doesn't exist on disk. That skin is not included in the latest version of mojoPortal but it is still available in the extra-skins.zip download.

You need to leave the Page Settings as Site Default for the skin but you need to go into Administration > Site Settings and choose a skin for the site and click save. That should fix it since it works using a skin that does exist http://delykkelige.dk/?skin=jqueryui-1 or http://delykkelige.dk/?skin=artisteer31-green

Hope that helps,

Joe

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