Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0DNN menus are switching portal aliasDNN menus are switching portal alias
Previous
 
Next
New Post
7/29/2008 3:03 PM
 

I have a DNN website which has a couple portal aliases.  The first is www.abc.com, and the second is abc.com (without the www), and there are corresponding host headers in IIS 6.0. 

When you go to www.abc.com, the menu for all the pages should continue to use the same alias, such as http://www.abc.com/tabid/59default.aspx, http://www.abc.com/tabid/60/default.aspx.  The problem is that sometimes, the urls in the menu suddenly start giving http://abc.com/tabid/59/default.aspx.  It's switched over to using a different alias (the one without www).  Our domain is abc, so our corporate network is setup in a way that if anyone tries to go to "http://abc.com/..." from within the network, the user gets a server not found error.  As you might imagine, this is really disconcerting when the site seems to be running fine, and then on the next click of the menu, it seems like the site went down.  If you directly tried to go to http://www.abc.com/tabid/59/default.aspx, it would still be reachable correctly.  It's only when navigating via the menus that this problem happens.  We've noticed that each time it happens, only one browser type (IE vs Firefox) will fail, and the urls will have switched on just a couple of the pages.  And the url switches for one person, anyone else who tries to get to the same pages with the same browser type will see the problem.  The other pages have the correct url and the other browser type had no problems.  However, it's a different set of pages or browser type each time.  So the next time we see this problem, it's a different set of pages where the menus will switched from www.abc.com/... to abc.com/...

This problem seems to happen intermittently every couple days, at different times of day, and we haven't been able to reproduce the problem on our staging boxes (and they have two different portal aliases).  There are no error messages logged in either the server event log or the DNN one.  We also haven't been able to set any monitoring on it because the pages render fine if going to the url directly - it's only when trying to navigate via the menus.

We're using snapsis menu.  IIS automatically recycles the worker process for this site every 29 hours. 

The short-term fix for it is to restart the application by editing the web.config file or manually killing the asp worker process for the application pool. 

We've run out of ideas for troubleshooting for a long-term fix. 

Has anyone run into this problem before or have any suggestions for what to check next? 

 
New Post
7/30/2008 2:06 PM
 

I am little confused (as is DNN) when you have www.abc.com and abc.com as portal aliases and host headers, but your corporate network is setup to prevent abc.com.

I would simply remove the abc.com portal alias as see if your problems are resolved. You might want to check the site map under Admin|Site settings if this is a public site.

This was probably caused by using domain.com as the portal alias when DNN (or the new portal) was configured. I have also seen this behavior with 3rd party modules when they ask DNN for the root of the portal - it seems to return the first portal alias listed. If you reverse the order of the alias entries (in the table itself) it can correct (or cause) this behavior.

I hope this is of some help to you.


Dwayne J. Baldwin
 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0DNN menus are switching portal aliasDNN menus are switching portal alias


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out