App works on one web server, but not the other

  • Thread starter Thread starter Chris
  • Start date Start date
C

Chris

I've written a web application in VB.Net and developed it on my webserver,
now I want to deploy it on the production server. Both servers are running
the same version of the dotnet framework. I created the virtual web and
set the security, copied over the files and the binaries, then tried to run
the application.

Now, my application uses adodb.dll, which I copied over to the bin
directory. But anytime I run the application on the target server, it
throws an exception when I try to read from the database. Keep in mind
that my application works perfectly on the development server, so I know
it's not a code issue.

Here's the exception:
Object reference not set to an instance of an object.
Exception Details: System.NullReferenceException: Object reference not set
to an instance of an object.

I think there's something that I need to do on the target server, but I'm
unsure of what that might be. I think it's related to the adodb.dll (i've
added it to the GAC as well Q810098, but it didn't help). Any help would
be appreciated...

Thanks,
Chris
 
I suppose the queastion would be are both servers running the same version
of MDAC. Pretty sure ADO is installed with MDAC - its not likely that you
could juts copy a DLL over and stick it in the GAC. I would start there.

--
Regards

John Timney
Microsoft Regional Director
Microsoft MVP
 
Back
Top