Click here to Skip to main content
15,887,434 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am placing the nested web application inside DNN. When i am running nested dnn site from IIS it is throwing the following exception how could i solve this issue?

HTML
Server Error in '/DNN/Sample' Application.


HTML
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:
HTML
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:
HTML
[NullReferenceException: Object reference not set to an instance of an object.]
   DotNetNuke.Common.Globals.get_Status() +104
   DotNetNuke.HttpModules.RewriterUtils.OmitFromRewriteProcessing(String localPath) +66
   DotNetNuke.HttpModules.RequestFilter.RequestFilterModule.FilterRequest(Object sender, EventArgs e) +202
   System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +79
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +170
Posted
Updated 1-Nov-12 0:10am
v2
Comments
dander275 15-Dec-12 3:31am    
I have exactly the same problem now. Have you overcome the problem or found any workaround?
Srinubabu Ravilla 21-Jan-13 1:19am    
We can't place the website inside the DNN site. If we want to place it inside the DNN we need to change the web.config file as per the DNN configuration.
Member 10112611 5-Sep-17 8:21am    
any fix to this problem? I also facing the same issue now. What are the changes to do in web.config?
935 29-May-14 15:35pm    
Same problem...

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900