Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Interop / November 2003

Tip: Looking for answers? Try searching our database.

Object reference not set to an instance of an object.

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Peter Kissa - 14 Nov 2003 15:35 GMT
Hi,
this one is a little bit tricky...
We have a web project in ASP.NET which uses the functionality of a COM
object, which we store in Session scope between multiple http requests.
We tested this scenario on several OS and PCs - and we found out that in
some cases the ASP.NET web site returns an exception which says:
       Object reference not set to an instance of an object.
The rest of the system (not .NET) works fine, but it fails on either on
creating the instance of COM object or setting the Session variable in
ASP.NET.

Has anyone faced similar problem?
Any clue how to troubleshoot this?

Thanx in advance,
Peter
Peter Kissa - 14 Nov 2003 16:12 GMT
One more fact I forgot to mention:
The COM (STA-ATL) object runs in COM+ environment as Server Application.

> Hi,
> this one is a little bit tricky...
[quoted text clipped - 12 lines]
> Thanx in advance,
> Peter

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.