Groups > Asp .Net > ASP.NET Installation and setup > Re: Weird Installation Error




Weird Installation Error

Weird Installation Error
Thu, 27 Mar 2008 13:57:57 +000
Hi

I am running Windows XP with Service Pack 2.

I installed IIS and then installed Visual Web Developer 2008 and created a new
project in IIS with a blank default.aspx page.

I then had an error about the IIS metabase, so I ran the following command: 
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727>aspnet_regiis -ga
IWAM_HETZNER_EMThis fixed the metabase error, but now I'm receiving a new error
that reads the following:
 
Server Error in '/test' 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)
+1579
   System.Web.Security.WindowsAuthenticationModule.OnEnter(Object source,
EventArgs eventArgs) +103
  
System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Exec
ute() +92
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&
completedSynchronously) +64



Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET
Version:2.0.50727.1433 

 

Can anyone please help?

Regards
Edward
Post Reply
Re: Weird Installation Error
Thu, 27 Mar 2008 15:33:54 +000
Problem solved with aspnet_regiis.exe -i
Post Reply
about | contact