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

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Unhandled General Exceptions Unhandled General Exceptions
Previous
 
Next
New Post
1/25/2011 1:30 PM
 
Is it normal for DNN to throw an unhandled exception error when having trouble parsing a URL?

These general exceptions are showing up in both the DNN log and the Windows System event log.  

The situation is that, when a misformed URL with at least one parameters after the domain but before the page name, the server logs an error.  

For instance,

www.mydomain.com/something1.aspx  will return a 404 as expected (since I don't have a page called something1)
www.mydomain.com/morestuff/something1.aspx will throw a general exception for an unhandled error.

Message: System.Exception: Unhandled Error: ---> System.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.Entities.Portals.PortalSettings..ctor(Int32 tabID, PortalAliasInfo objPortalAliasInfo) at DotNetNuke.HttpModules.UrlRewriteModule.OnBeginRequest(Object s, EventArgs e) at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) --- End of inner exception stack trace ---


I would guess that it is in the parsing process for the URL - but I am somewhat new to the DNN world.

Most importantly - is there a setting I can use to redirect users to the home page, or some other useful response when this occurs?

I have tried this on  three different instances of version 5.6.0.   Any help or suggestions are appreciated.

Thanks,
John.


 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Unhandled General Exceptions Unhandled General Exceptions


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