Article ID: 968392 - Last Review: April 29, 2009 - Revision: 1.0

Error message and the hyperlink control is not rendered if the ImageUrl property is set in Visual Studio 2005 or Visual Studio 2008 after you install .NET Framework 2.0 SP2 or .NET Framework 3.5 SP1:"Object reference not set to an instance of an object"

On This Page

Expand all | Collapse all

SYMPTOMS

Considering this scenario:
  • You have .NET Framework 3.5 Service Pack 1 or .NET Framework 2.0 Service Pack 2 installed.
  • In Microsoft Visual Studio 2005 IDE or in Microsoft Visual Studio 2008 IDE, you specified the ImageUrl property for a hyperlink control.
In this scenario, when you change IDE to the Design view, the hyperlink control is not rendered. Instead, a gray box appears, and you receive the following error message:
Error Rendering Control - An unhandled exception has occurred Object reference not set to an instance of an object.

RESOLUTION

How to obtain the hotfix

This issue is fixed in the ASP.NET 2.0 hotfix package April 2009. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
969612  (http://support.microsoft.com/kb/969612/ ) Description of the hotfix rollup package for ASP.NET 2.0: April 2009

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

APPLIES TO
  • Microsoft .NET Framework 2.0 Service Pack 2
  • Microsoft .NET Framework 3.5 Service Pack 1
  • Microsoft ASP.NET 2.0
Keywords: 
kbhotfixserver kbexpertiseadvanced kbqfe kbsurveynew KB968392
 

Article Translations