Hi all, could you please help me with my big problem?
I have WebService on IIS. This WebService has methods to control database stored on server.
I am using Postgre database and to access to database I have Npgsql.dll library.
This library is stored in GAC (global assembly cache).
The WebService is not able to open the connection to the database even the connection string is allright, everything seems to be OK. But when the function Open() is called, there occurs an errror "Object reference not set to instance of object" or something like this.
Although, if I access the database with some console application, everything goes well.
Just the bloody WebService :(
Thank you very much for any help.
Zdenek Mach.
ICQ# 173965423
skype: Zdenek_Mach
I have WebService on IIS. This WebService has methods to control database stored on server.
I am using Postgre database and to access to database I have Npgsql.dll library.
This library is stored in GAC (global assembly cache).
The WebService is not able to open the connection to the database even the connection string is allright, everything seems to be OK. But when the function Open() is called, there occurs an errror "Object reference not set to instance of object" or something like this.
Although, if I access the database with some console application, everything goes well.
Just the bloody WebService :(
Thank you very much for any help.
Zdenek Mach.
ICQ# 173965423
skype: Zdenek_Mach
Comment