Re: getting 'Object reference not set to an instance' some times
From: Binoy (anonymous_at_discussions.microsoft.com)
Date: 05/11/04
- Next message: Mark Hageman: "Re: Referencing a DLL from code-behind"
- Previous message: Ken Cox [Microsoft MVP]: "Re: Serialization/Deserialization or XML as DB"
- In reply to: Kevin Spencer: "Re: getting 'Object reference not set to an instance' some times"
- Next in thread: Kevin Spencer: "Re: getting 'Object reference not set to an instance' some times"
- Reply: Kevin Spencer: "Re: getting 'Object reference not set to an instance' some times"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 11 May 2004 09:45:17 -0700
Kevin,
We are working on Visual Studio .NET 2003 / Framework 1.1
on Windows XP desktops.
Server is Windows 2000 server with Framework 1.1.
I searched Google and came across with only questions -
No answers.
Thanks
-Binoy
>-----Original Message-----
>Well, the number of lines in your Application+Start
method should be even
>smaller. What development environment are you using?
>
>--
>HTH,
>Kevin Spencer
>..Net Developer
>Microsoft MVP
>Big things are made up
>of lots of little things.
>
>"bINOY" <anonymous@discussions.microsoft.com> wrote in
message
>news:a14f01c4347d$40ba15f0$a301280a@phx.gbl...
>> Kevin,
>>
>> Really Global.asax.vb has only 142 lines.
>>
>> Thanks
>> -Binoy
>>
>> >-----Original Message-----
>> >I would start by looking
>> at "Admin.Global.Application_Start(Object sender,
>> >EventArgs e)" - Line 347
>> >
>> >Could you post that?
>> >
>> >--
>> >HTH,
>> >Kevin Spencer
>> >..Net Developer
>> >Microsoft MVP
>> >Big things are made up
>> >of lots of little things.
>> >
>> >"Binoy" <anonymous@discussions.microsoft.com> wrote in
>> message
>> >news:a03f01c43468$d907b2a0$a101280a@phx.gbl...
>> >> Hello,
>> >>
>> >> I am getting this error once in a while from my web
>> >> sites. When I will refresh web browser, it goes off
and
>> >> sites are working fine.
>> >>
>> >> Directory structures and file names are as below-
>> >>
>> >> C:\WWW - corporate site, C:\WWW\default.aspx is the
>> >> default page and this site works fine.
>> >> C:\Content\www is a virtual directory(/content) on
the
>> >> site from where all ASPX files (other than
>> default.aspx)
>> >> are referenced. All other files in \WWW are ASP
pages.
>> So
>> >> \WWW has a \bin directory, which has all ASPX Dlls.
>> >>
>> >> C:\Content\div1.aspx
>> >> C:\Content\div2.aspx
>> >> C:\Content\div3.aspx
>> >> C:\Content\div4.aspx
>> >> ....... are our divisional site home pages [with
>> >> different divisional site IPs]. \content is also a
>> virtul
>> >> directory (\content\www) for all divisional sites,
so
>> we
>> >> have bin directory copied in \content and
\content\www
>> as
>> >> well.
>> >>
>> >> Error description-
>> >> [NullReferenceException: Object reference not set
to an
>> >> instance of an object.]
>> >> Admin.Global.Application_Start(Object sender,
>> >> EventArgs e) +347
>> >>
>> >> Anybody has any idea of what is happening?
>> >>
>> >> Thanks in advance - Binoy
>> >
>> >
>> >.
>> >
>
>
>.
>
- Next message: Mark Hageman: "Re: Referencing a DLL from code-behind"
- Previous message: Ken Cox [Microsoft MVP]: "Re: Serialization/Deserialization or XML as DB"
- In reply to: Kevin Spencer: "Re: getting 'Object reference not set to an instance' some times"
- Next in thread: Kevin Spencer: "Re: getting 'Object reference not set to an instance' some times"
- Reply: Kevin Spencer: "Re: getting 'Object reference not set to an instance' some times"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|