• Register
3,890 points
11 5 1

When the user tries to access data using ADO interop on an ASP.NET page that resides on an identical website and that is hosted on the same computer that has Microsoft.NET framework 1.0 installed. Then the following error can occur;

Exception Details: System.NullReferenceException: Object reference not defined as an instance of an object.

Solution:

To solve this error, the user has to register Adobe.dll file in the global assembly cache (GAC). On the computer where you have only installed .NET Framework, the GACutil.exe file does not exist. This file can be obtained by installing Microsoft.NET Framework SDK or create a Visual Studio.NET installation project that uses the installer to install the correct component according to requirements.

Registration Process:

To register Adobe.dll in the GAC, the user has to perform the following steps;

  • Click Start and Run.
  • In the Run dialog box, type the following command and then click OK.
C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705\gacutil\i C:\Program Files\ Microsoft.NET\Primary Interop Assemblies \ adobd.dll

Note:

Microsoft has confirmed that this error is due to a problem in Microsoft products that are listed at the beginning of this article. ADO and ADO MD have not been fully tested in a Microsoft .NET Framework environment. They may cause intermittent problems, especially in service-based applications.

3,890 points
11 5 1