"External table not in expected format" because account cannot use proxy
Applies to
- ONTAP 9
- CIFS/SMB
- Group Policy Object (GPO)
- network proxy
- Microsoft Excel
- OLE DB
Issue
- Script running on Windows host uses OLE DB API to create xlsx file in ONTAP SMB share
- Script creates the xlsx file, but does not properly populate the contents
- Script logs error
External table not in expected format-
hostname:: ERROR :: Export of data failed - System.Data.OleDb.OleDbException (Ox80004005): External table is not in the expected format. at System.Data.OleDb.OleDbCommand.ExecuteCommandTextErrorHandling(OleDbHResult hr) at System.Data.OleDb.OleDbCommand.ExecuteCommandTextForSingleResult(tagDBPARAMS dbParams, Object& executeResult) at System.Data.OleDb.OleDbCommand.ExecuteCommandText(Object& executeResult) at System.Data.OleDb.OleDbCommand.ExecuteReaderlnternal(CommandBehavior behavior, String method) at System.Data.OleDb.OleDbCommand.ExecuteNonQuery() at TechnologyServices.Utilities.Offce.Excel.Export(DataTable dt, String path) at TechnologyServices.Utilities.Offce.Excel.Export(DataSet ds, String path) at script.DataAccess.Export() Logger: script.DataAccess Date: 2025-08-20 11:23:24,721
-
