Re: getting 'Object reference not set to an instance' some times

From: Binoy (anonymous_at_discussions.microsoft.com)
Date: 05/11/04


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
>> >
>> >
>> >.
>> >
>
>
>.
>



Relevant Pages

  • Error on remote Development with VS.NET 2003
    ... Microsoft Development Environment ... Directory Services cannot find the web server. ... projects on a Windows 2000 or newer server from a Windows NT 4.0 client. ...
    (microsoft.public.sharepoint.portalserver.development)
  • Re: Best development platform? Mac, Windows or Linux?
    ... what do you think is the best all round development platform ... there's more than one way to deploy PHP (it could be either a server ... COM is available only on Windows, ... the term "development environment" is ambiguous. ...
    (comp.lang.php)
  • Re: ASP and Access
    ... Kevin Spencer ... > Windows 200 Pro OS also comes with IIS. ... >> ..Net Developer ... Since I am using an outsite server it always ...
    (microsoft.public.frontpage.client)
  • Re: Wheres Apache in the Suse Distro ?!
    ... > on Windows using Visual Studio, ... the development environment is much less friendly using ... Well...I would stay away from Windows.Forms in mono and concentrate on ... > on an application server remote from your web server is that mono ...
    (alt.os.linux.suse)
  • project security issue
    ... my development environment is windows 2003 server. ... when i open a project on the visual studio IDE that is located on another server i get the message ...
    (microsoft.public.dotnet.framework)

Loading