Hi All,
I have got successfully installed DNN 4.9.0 on my local PC, then I made DNN db backup, restored this backup on my ASP.NET hosting site, copied all DNN files into hosting site, fixed web.config to have correct slq connection...
...when I'm trying to start DNN on that site I'm getting infamous message:
Object reference not set to an instance of an object.
See below in P.S. more detailed message.
Any ideas what could be wrong? (AFAIS the issue could be with URL rewrite in DNN core).
FYI: I did do that procedure many times: local install -> db backup -> db restore on ASP.NET hostiing ->copy ASP.NET apps' files to hosting site -> fix web.config -> run ASP.NET app on hosting site - and it always worked well...
I wonder why it does not work with DNN?
Am I doing something wrong?
Shoudl I install DNN on hosting site from scratch (by using DNN setup procedure)...
Thank you.
--
Shamil
P.S. Detailed message:
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.GetPortalSettings(Int32 TabId, PortalAliasInfo objPortalAliasInfo) +101
DotNetNuke.Entities.Portals.PortalSettings..ctor(Int32 tabId, PortalAliasInfo objPortalAliasInfo) +77
DotNetNuke.HttpModules.UrlRewriteModule.OnBeginRequest(Object s, EventArgs e) +3391
System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +68
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75
|
Server Error in '/dnn' Application.
Object reference not set to an instance of an object.