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
I'm not really into OleDbConnections, but have you seen this post?
http://blogs.msdn.com/b/selvar/archive/2007/11/10/ole-db-resource-pooling.aspx
Table 4 in this post is mentioning the OLE DB SERVICES property and the values that belong to the -number values.
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).