Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

A call to Microsoft.Dynamics.Nav.OpenXml.spreadsheet.WorkbookReader.Open failed -import error

(0) ShareShare
ReportReport
Posted on by

Dear All,

I am using NAV 2015. I have created a report to import a report to import an excel file. while trying to import it shows an error

A call to Microsoft.Dynamics.Nav.OpenXml.spreadsheet.WorkbookReader.Open failed with this message.C:\Users\UserName\filename.xlsx

When i run the debugger and check the process it stops in the code XlWrkBkReader := XlWrkBkReader.Open(FileName); in table Excel buffer.

What may be the reason behind this can anyone specify. the excel version in the client and server is also same.

Problem happens client machine only , server machine working properly.

Thanks,

P.Saravanan

*This post is locked for comments

  • Suggested answer
    Alexander Ermakov Profile Picture
    Alexander Ermakov 28,094 on at
    RE: A call to Microsoft.Dynamics.Nav.OpenXml.spreadsheet.WorkbookReader.Open failed -import error

    Where is the file actually located? Does the user have enough rights to access that file? Can it open the file directly from that location?

  • Suggested answer
    Jatin Patel Profile Picture
    Jatin Patel 2,641 on at
    RE: A call to Microsoft.Dynamics.Nav.OpenXml.spreadsheet.WorkbookReader.Open failed -import error

    Hi Saravanan,

    Please refer below link.

    blogs.msdn.microsoft.com/.../nav-pattern-of-the-week-silent-file-upload-and-download

  • Verified answer
    keoma Profile Picture
    keoma 32,675 on at
    RE: A call to Microsoft.Dynamics.Nav.OpenXml.spreadsheet.WorkbookReader.Open failed -import error

    check if XlWrkBkReader variable is set to runonclient=yes. if it's set to no, then the file has to be on the server, not on the client. in that case, before running that command copy the file from client to server with upload or cu file mgmt.

    also check if the current user has file read access and the file is not locked.

    also try with a different excel doc to check, if the first one is not corrupted.

  • Binesh Profile Picture
    Binesh 7,885 on at
    RE: A call to Microsoft.Dynamics.Nav.OpenXml.spreadsheet.WorkbookReader.Open failed -import error

    Check weather Excel application is installed in Client PC.
    Also check if any pop up appears while importing regarding excel then Allow.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,409 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans