Relative Content

Tag Archive for c#sqloledbconnectivitywincc

Multiple-step OLE DB operation generated errors. Check each OLE DB status value, if available ( OLEDB WinCC)

I am working on a project that reads WinCC’s TagLogging data, using C# and Connectivity Pack.
When I create a new Datatable, using the function myAdapter.Fill(new DataTable), the system reports an error “Multiple-Step OLE DB operation generated errors” at this point.
I have tried many ways to fix it without success. Below is my code, can anyone help me see where the problem is? Thank you.