Skip to main content
NetApp Knowledge Base

"External table not in expected format" because account cannot use proxy

Views:
46
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
nas
Last Updated:

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
      

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.