G
Guest
I am having some problems with a Windows Service application that uses a
global SQLConnection that is opened when the service starts and closed only
when the service terminates.
I realise this is not too good and am planning to change it, however I just
wanted to know if this could cause the connection to just close on it's own
after a certain amount of time and/or volume (i.e. without being explicitly
closed). It seems to only happen when alot is going on with the app and
database itself (several other apps access the same database) and resources
on the server are scarce. I have had instances where the problem disappears
when the client upgrades their server, probably not a good long term solution.
Thanks in advances for any thought.
Regards,
Isaac Taylor
global SQLConnection that is opened when the service starts and closed only
when the service terminates.
I realise this is not too good and am planning to change it, however I just
wanted to know if this could cause the connection to just close on it's own
after a certain amount of time and/or volume (i.e. without being explicitly
closed). It seems to only happen when alot is going on with the app and
database itself (several other apps access the same database) and resources
on the server are scarce. I have had instances where the problem disappears
when the client upgrades their server, probably not a good long term solution.
Thanks in advances for any thought.
Regards,
Isaac Taylor