RE: 32 Bit Application disconnecting from database in the evening
- From: GordonS <GordonS@xxxxxxxxxxxxxxx>
- Date: Thu, 14 Feb 2008 08:06:01 -0800
Error message being displayed: "[ODBC SQL Server Driver][Named Pipes]General
network error"
Only happens on windows XP (not sure but may only happen on SP2)
Although giving a code example would be difficult, some background might help
On the launching of our appliction (VC++ MFC App) we create a CDatabase
object that opens a connection to a SQL server database using a DSN. This
connection is kept open for the lifetime of the application. The problem
seems to come that at a random time in the evening (sometime after 6pm) the
software reports the above error when accessing the database. Could this be
that pc's network connection has somehow been disrupted thus invalidating the
connection?
--
Gordon Smith
""Walter Wang [MSFT]"" wrote:
Hi Gordon,.
Could you please tell us more about the issue you are having? Such as:
* Any error messages (error dialog, log files, records in event log, etc.)
* What's your system configuration (os version, service pack, database,
driver, etc.)
* Some source code
Thanks.
Regards,
Walter Wang (wawang@xxxxxxxxxxxxxxxxxxxx, remove 'online.')
Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
- Follow-Ups:
- RE: 32 Bit Application disconnecting from database in the evening
- From: "Walter Wang [MSFT]"
- RE: 32 Bit Application disconnecting from database in the evening
- Prev by Date: RE: ODBC SQL Select Problem Vista only
- Next by Date: RE: ODBC SQL Select Problem Vista only
- Previous by thread: RE: ODBC SQL Select Problem Vista only
- Next by thread: RE: 32 Bit Application disconnecting from database in the evening
- Index(es):
Relevant Pages
|
|