27-01-20 05:43 PM
I have encountered some interesting behavior in Blue Prism today. We have a reconciliation process that connects to a spreadsheet using the OLEDB Blue Prism object and up until now the process of querying data has proven to be successful. However, when running the process in debug mode this morning, Blue Prism crashed unexpectedly with no exception messaging. I re-opened the application and the item is still locked in the queue, and there is no sign of anything going wrong in the log.
Has anyone encountered issues with OLEDB connectivity like this before? I imagine it may be related to opening and closing the OLEDB connection, but I am unsure.
Thank you,
Nick
28-01-20 09:48 AM
29-01-20 09:09 AM
29-01-20 02:11 PM
27-05-24 08:05 PM
I am also having this issue. It happens for me when opening a connection to an excel file with the wrong compatibility mode / excel version in the connection string's extended properties. Most commonly I get a crash if the version I specify doesn't match the excel sheet I'm trying to open
Provider=Microsoft.ACE.OLEDB.12.0;Data Source=spreadsheet.xlsx;Extended Properties='Excel 12.0 Xml;HDR=YES;Empty Text Mode=EmptyAsNull'; <-- This will work because the spreadsheet is xlsx and the version of the extended properties is "Excel 12.0 Xml"
Provider=Microsoft.ACE.OLEDB.12.0;Data Source=spreadsheet.xls;Extended Properties='Excel 12.0 Xml;HDR=YES;Empty Text Mode=EmptyAsNull'; <-- This will crash because the spreadsheet is xls and the version of the extended properties is "Excel 12.0 Xml" Changing the version to "Excel 8.0" avoids the crash
Editing the object to check the file type before setting the connection string is how I handled the issue. But Blue Prism really shouldn't be crashing like this under any circumstance