|    
|
|  |
From: "Andreas" Subject: ADO from multiple applications causes "object reference not ... Date: Fri, 7 Jun 2002 08:25:54 -0700
| |
>-----Original Message----- >Hi, > >We have a .NET web application and a .NET web service that >are using a common assembly (each has one copy in its bin >directory, of course). This assembly is using ADO (old >ado, not ADO.NET) and was originally written in VB6 but >has now been upgraded to .NET. > >This works just fine on our development machines but as >soon as we deploy it to machines with only the .NET >framework installed instead of Visual Studio.NET we get >strange problems. > >If we access the web service first, it works but results >in us not being able to run the web application. If we >then restart IIS and run the web application first, we get >the same problem with the web service. This is strange and >very annoying. > >The exception we get is: > >"System.NullReferenceException: Object reference not set >to an instance of an object. > at System.Enum.InternalGetValue() > at System.Enum.System.IConvertible.ToSByte >(IFormatProvider provider) > at DataAccessMTS.CDataAccessMTS.CreateParameters >(Command& Cmd, Object[] ArgParams) > at DataAccessMTS.CDataAccessMTS.RunSPGetRS(String >SPName, String RegistryKey, Object[] Parameters) " I found a solution to the problem. I just drag-and-dropped ADODB.DLL to c:\winnt\assembly and it worked. // Andreas
| | Post a follow up to this message... |
|  |
|