Hi guys,
This is probably one of the most bizarre experiences i've had with DNN....
I've been running this site for a while now and yesterday I completed a skin change with some additional pages, including a new homepage (deleted old one). The new homepage has a different name so I selected it as splash and home in site settings, but then I noticed that after I deleted old home, DNN is looking for Home.aspx instead of the one I set up. I had home.aspx in recycle bin (default page after clean installation) so I went ahead and deleted it from there. And the site started throwing this error (see below) when I try to access domain directly.
I tried creating home.aspx again so I can just redirect, but it doesn't work... but all pages work when u type direct url (e.g. www.mydomain.com/contacts). On top of that, I noticed that when I enter the domain with "www" it worked fine with google chrome, but not other browsers. I have all possible aliases (www, http://, http://www) and still only works with "www" in chrome. I restarted the application and still doesn't work. I've never had this trouble before.
Temporarily I just uploaded an html to redirect to direct URL for my intended homepage.
Any suggestions??? this is really frustrating.
**************Error************
Object reference not set to an instance of an object.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. |
Stack Trace:
[NullReferenceException: Object reference not set to an instance of an object.] DotNetNuke.Entities.Portals.PortalSettings.VerifyPortalTab(Int32 PortalId, Int32 TabId) +327 DotNetNuke.Entities.Portals.PortalSettings.GetPortalSettings(Int32 tabID, PortalInfo portal) +1227 DotNetNuke.Entities.Portals.PortalSettings..ctor(Int32 tabID, PortalAliasInfo objPortalAliasInfo) +113 DotNetNuke.HttpModules.UrlRewriteModule.OnBeginRequest(Object s, EventArgs e) +2176 System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +68 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75
|