Hello All,
I have developed a web application long time back which is working fine in Windows 2008 server.
now we need to move this application to new servers (new pre-prod and prod servers) and after putting necessary configuration in IIS, we have deployed the application on new pre-prod.
But we are getting below mentioned error -
Server Error in '/retailer/eosc' 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.]
Rocs.Global_asax.subFormGetAdminSatList(String& sDlrSatList) in E:\Synergy\ROCS\ROCS_SourceCode\ROCS\Global.asax.vb:431
Rocs.Global_asax.Session_Start(Object sender, EventArgs e) in E:\Synergy\ROCS\ROCS_SourceCode\ROCS\Global.asax.vb:260
System.Web.SessionState.SessionStateModule.CompleteAcquireState() +408
System.Web.SessionState.SessionStateModule.BeginAcquireState(Object source, EventArgs e, AsyncCallback cb, Object extraData) +1295
System.Web.AsyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +114
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +374
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1016
Please note that the application is in .Net 4.0 and the databases are DB2 and SQL Server 2008
Also the same code is working fine on Dev and old Pre-prod server, not sure why I am getting this error.
Is there any IIS config setting which I am missing?
Please help me ASAP
Thanks,
Ankur Bakliwal