OLEDB Connection Open Hangs while opening Excel in C#

  • Thread starter Thread starter Venkateshmpr
  • Start date Start date
V

Venkateshmpr

Guest
We are trying to open Excel file using OLEDB to extract data from the file. The application get hanged intermittently at the oledbconnection.open(). Below is the hierarchy of the call.

Windows Service->Exe->DLL->DLL(Calls the Open method).

Below is the connection string we are using. Provider=Microsoft.ACE.OLEDB.12.0;Data Source=;Extended Properties='Excel 12.0;HDR=Yes;IMEX=1;'

Any help highly appreciated.

Continue reading...
 
Back
Top