Security Issue

From: Anil (AnilKN@hotmail.com)
Date: 06/01/02


From: "Anil" <AnilKN@hotmail.com>
Date: Sat, 1 Jun 2002 08:38:40 -0700


Hi

I get the following error only on the machines in the
production web farm.
The logon ( form authentication) process works fine in my
dev and qa
machines.

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.]
   System.Web.Security.FormsAuthentication.Initialize() 
+360
   System.Web.Security.FormsAuthenticationModule.OnEnter
(Object source,
EventArgs eventArgs) +146
   System.Web.SyncEventExecutionStep.Execute() +60
   System.Web.HttpApplication.ExecuteStep(IExecutionStep 
step, Boolean&
completedSynchronously) +87
Contents from web.Config
<configuration>
  <system.web>
    ....
    <authentication mode="Forms">
        <forms name="appNameAuth" path="/" 
loginUrl="login.aspx"
protection="All" timeout="30">
       <credentials passwordFormat="Clear">
            <user name="Jeff" password="imbatman" />
        </credentials>
        </forms>
    </authentication>
    <authorization>
      <allow users="*" />
    </authorization>
     ....
  </system.web>
</configuration>
Please help!
Very many thanks in advance.
Regards
-Anil


Relevant Pages

  • Object reference not set to an instance of an object.
    ... Object reference not set to an instance of an object. ... An unhandled exception occurred during the execution of the ... Dim myJobRequest As New skillsDB.jobRequest ... Session= "The skills database has been updated ...
    (microsoft.public.dotnet.general)
  • Re: Exchange 2003 Mobile Admin
    ... Object reference not set to an instance of an object. ... Please review the stack trace for more information about ... Exception Details: System.NullReferenceException: Object reference not set ... Server Error in '/MobileAdmin' Application. ...
    (microsoft.public.exchange.setup)
  • Re: Load Testing Errors
    ... There are many reasons an application might fail under load when it normally ... I notice your exception is occurring inside a DataView. ... from your request when you were expecting non-null values. ... One is a "Object reference not set to an instance of an object." ...
    (microsoft.public.dotnet.framework.performance)
  • Re: Load Testing Errors
    ... There are many reasons an application might fail under load when it normally ... I notice your exception is occurring inside a DataView. ... from your request when you were expecting non-null values. ... One is a "Object reference not set to an instance of an object." ...
    (microsoft.public.dotnet.general)
  • Re: Strange error when app starts
    ... installed correctly via the installer ... machines and until recently they all worked perfectly. ... updated the application to a new version one of the machines fails ... unhandled exception when the application starts. ...
    (microsoft.public.dotnet.framework.windowsforms)