IIS 7 and Above
Configuration & Scripting
error in iis Object reference not set to an instance of an object.
Last post Jul 29, 2020 02:57 PM by Roemesh
Jul 22, 2020 04:28 AM|Roemesh|LINK
After hosting an application i am getting below mentioned error in IIS#
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.
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.
[NullReferenceException: Object reference not set to an instance of an object.]
ApplicationFails.BasePage.OnInit(EventArgs e) +90
System.Web.UI.Control.InitRecursive(Control namingContainer) +172
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +490
Jul 23, 2020 05:54 AM|Yuk Ding|LINK
Could you reproduce this issue by trigger any control all the time? It is important to know in which condition the exception is thrown. Besides, how did publish your application? Have you tried some common troubleshooting steps like enable-32bit application,
load user profile or change application pool identity, check application pool version?
The exception have something to do with your UI control by it is uncertain how it is trigger because its a stack trace instead of a dump file.
Jul 29, 2020 02:57 PM|Roemesh|LINK
it was db error.so in some browsers it works and somewhere it is failed