Click here to Skip to main content
15,076,465 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi friends
The page is not open after deploy the project
the error occur
Server Error in '/' Application.
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.]
   Himani.Web.UI.WebResource.(HttpContext context, String path, String applicationPath) +1257
   Himani.Web.UI.HimaniScriptManager.OnPreRender(EventArgs e) +160
   System.Web.UI.Control.PreRenderRecursiveInternal() +80
   System.Web.UI.Control.PreRenderRecursiveInternal() +171
   System.Web.UI.Control.PreRenderRecursiveInternal() +171
   System.Web.UI.Control.PreRenderRecursiveInternal() +171
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +842
Posted
Updated 4-Jun-12 4:52am
v2
Comments
kodeLogic 4-Jun-12 7:50am
   
Are you sure a proper deployement has been done ?
AmitGajjar 4-Jun-12 8:00am
   
you are missing some resource to deploy on server.....

1 solution

You are trying to use an object that has not been initialized. It could be a null session or data object.

If you are using crystal reports and windows server 64 bit, make sure you enable 32 bit mode applications in IIS 7.

Use error handling in your application. This will help to point out exactly at what point the error is occurring.
   

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