Welcome to Infogenium Software - Product Support Sign in | Join | Faq

Print Search
Sort Posts:    
   09-04-2007, 5:02 AM
aoporto is not online. Last active: 6/18/2009 11:45:20 AM aoporto

Top 10 Posts
Joined on 03-10-2007
Posts 11
"Object reference not set to an instance of an object" error caused by installing IIS after .NET Framework 2.0
Reply Quote
If you install IIS after installing .NET Framework 2.0, you may receive the error "Object reference not set to an instance of an object" when running EdgeRM.  To fix the issue, please execute the following from the command line (cmd.exe):

C:\windows\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe -i


More details from the error message:

Server Error in '/EdgeRM' 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.]
System.Web.Hosting.ISAPIWorkerRequestInProc.GetServerVariable(String name) +1126
System.Web.Hosting.ISAPIWorkerRequest.ReadRequestHeaders() +121
System.Web.Hosting.ISAPIWorkerRequest.GetKnownRequestHeader(Int32 index) +126
System.Web.Hosting.ISAPIWorkerRequestInProc.GetKnownRequestHeader(Int32 index) +104
System.Web.HttpRequest.FillInHeadersCollection() +30
System.Web.HttpRequest.get_Headers() +55
System.Web.Security.CookielessHelperClass.GetCookielessValuesFromHeader() +16
System.Web.Security.CookielessHelperClass.Init() +23
System.Web.Security.CookielessHelperClass.RedirectWithDetectionIfRequired(String redirectPath, HttpCookieMode cookieMode) +13
System.Web.Security.FormsAuthenticationModule.OnEnter(Object source, EventArgs eventArgs) +226
System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +92
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64
 

   Report 
   12-11-2007, 3:12 PM
Anonymous
Re: "Object reference not set to an instance of an object" error caused by installing IIS after .NET Framework 2.0
Reply Quote
Thank you,
A simple error, but one that makes work grind to a halt. I reinstalled my computer, and installed VS2005 prior to installing (optional) IIS on the computer.

thanks
    
Infogenium Soft... » EdgeRM » Support » "Object reference not set to an instance of an object" error caused by installing IIS after .NET Framework 2.0

Powered by Community Server, by Telligent Systems