Home > Net >  Consult to connect to the database statement of the meaning of "OLE DB Services=1"
Consult to connect to the database statement of the meaning of "OLE DB Services=1"

Time:11-12

Such as normal connection database statements: Autumn_CString="Provider=Microsoft. ACE. The OLEDB. 12.0; Data Source="& amp; App_netPath & amp; "; The Jet OLEDB: Database Password=versVipsttis001; Persist Security Info=False;"

'as follows on the basis of the above statement added after the "OLE DB Services=1", found a problem: the speed of reading the database data is super fast than the above statement, but if the user interface at the front desk program after more than 1 minutes not operate automatically disconnected and database can't read the data (if the user has maintained database read operations such as normal you can connect to the database operation), don't understand the OLE DB Services=1 "mean, why will appear this kind of phenomenon, but also masters, please help solve, thank you! (ps: access database 2010)
Autumn_CString="Provider=Microsoft. ACE. The OLEDB. 12.0. Data Source="& amp; App_netPath & amp; "; OLE DB Services=1; The Jet OLEDB: Database Password=versVipsttis001; Persist Security Info=False;"

CodePudding user response:

1 in general is quite so false

CodePudding user response:

reference 1/f, guiyang horse Ma Shanfu plugging waterproof engineering professional maintenance of swimming pool response:
1 in general is quite so false


Since the OLE DB Services is false what does that mean and disconnected points to the database, the problem is still can continue to database operation, if the user is probably more than 1 minutes without any query operations, such as operation again when an error could not find the database, how to explain that?
  • Related