Hi,
I'm encountering a similar issue using 3.08. I developed my site on //localhost/MyDnnSite and it works fine. I want to host it at //MyDnnSite.MyDomainName.com on another server. I copied over the web files and the db. I can login and navigate to most pages as a user but as an admin or host when I try to change Admin settings the only page that I see is the home page. Also, when I click on Register or the Administrator account, I get "An error has occurred." message. When I try to change the SuperUser account settings, the page is blank. When I try to change any Host settings, I get this familiar error:
[NullReferenceException: Object reference not set to an instance of an object.]
DotNetNuke.Entities.Portals.PortalSettings.GetPortalSettings(Int32 TabId, PortalAliasInfo objPortalAliasInfo)
DotNetNuke.Entities.Portals.PortalSettings..ctor(Int32 tabId, PortalAliasInfo objPortalAliasInfo)
DotNetNuke.HttpModules.UrlRewriteModule.OnBeginRequest(Object s, EventArgs e)
System.Web.SyncEventExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute() +60
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +87
So I tried changing PortalAlias.HTTPAlias, first by adding MyDnnSite.MyDomainName.com to the string, and when that did not work, replacing it. Still no joy.
Any thoughts on where I've gone wrong?
Thanks,
Simon