Problem with OleDbConnection, Excel and connection pooling

前端 未结 2 1994
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-17 07:26

So, I have the same symptoms as described in C#/ASP.NET Oledb - MS Excel read "Unspecified error", but my my answer did not seem to fix it. Even always closing the

2条回答
  •  时光取名叫无心
    2020-12-17 07:53

    If I understand correct your question you want to know what means the connection string property OLE DB Services=-4.

    You can find the corresponding documentation here, here and here. I hope the information is what you need. If you want play with DBPROPVAL_OS_AGR_AFTERSESSION property it has the value 8 (see oledb.h).

提交回复
热议问题