why the connection is closing?
hai all,
i have a dll component which is used to connect to the database. i am using this dll using DCOM.
In my DLL, i have taken a ADODB.Connection globally. while at the time of login i am creating a connection to the database.
after that if i open any screen in my client application, it will call that particular class in DLL. it will use the same above connection to communicate with the database.
while logging in from the client machine, the connection is successfully created. after that if i open any screen, it is giving an error "reference to a closed or invalid connection". why?
but the system is working fine, if both server and client are in the same machine.
pls helpme