?
Solved

Object reference not set to an instance of an object.

Posted on 2011-03-08
2
Medium Priority
?
1,372 Views
Last Modified: 2012-05-11
We have a applicaton which, when our root web application pool is running .net 2 integrated, works fine.  As soon as I change it to .net 4 the application crashes. We actually have several doing that.  Here is the error...

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.]
   ImageViewerHandler.ImageViewerHandler.ProcessRequest(HttpContext context) +226
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +596
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +265


Can anyone tell me what the object is that .net 4 is looking for and cannot find? I can't find anything!

Any help is greatly appeciated.

thanks
terri
0
Comment
Question by:web-dba
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 15

Accepted Solution

by:
pcsmitpra earned 2000 total points
ID: 35083354
I checked about image viewer, they support only asp.net 2.0 , I doubt if you can get it working on asp.net 4.
http://www.codeproject.com/KB/web-image/ThumbViewerControl.aspx
0
 

Author Closing Comment

by:web-dba
ID: 35083712
Thanks, we can easily remove that from the site.
0

Featured Post

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Logparser is the smartest tool I have ever used in parsing IIS log files and there are many interesting things I wanted to share with everyone one of the  real-world  scenario from my current project. Let's get started with  scenario - How do w…
As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
Suggested Courses

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question