Skip to main content

Notifications

Microsoft Dynamics NAV (Archived)

MS NAV 2013 R2

Posted on by 422

Hi,

I have created a automation variable ('Microsoft Excel 14.0 Object Library'.Application) in NAV 2013 R2 report. I am trying to export datas' to excel. When I compile, its okay. But, when I try to save the report, it shows below message:

'You cannot create an Automation object "XLApp22" on Microsoft Dynamics NAV Server. You must create it on a client computer'

where XLApp22 is the automation variable.

,Abdul

*This post is locked for comments

  • AbduTeeyech Profile Picture
    AbduTeeyech 422 on at
    RE: MS NAV 2013 R2

    Okay, I am going through excel buffer table for the dotnet variable. thank you.

    ,Abdul

  • Suggested answer
    Mohana Yadav Profile Picture
    Mohana Yadav 59,135 Super User 2024 Season 2 on at
    RE: MS NAV 2013 R2

    about the same error, please check whether you have CREATE statements in multiple places.

  • Suggested answer
    Mohana Yadav Profile Picture
    Mohana Yadav 59,135 Super User 2024 Season 2 on at
    RE: MS NAV 2013 R2

    you have to check in excel buffer table for DotNet variable and example.

    that is what I meant in previous post.

  • AbduTeeyech Profile Picture
    AbduTeeyech 422 on at
    RE: MS NAV 2013 R2

    Hi Mohana, this is needed to be updated in the jobs, to save the files, excel buffer wont help this right?.

    Now I written CREATE(XLApp22,FALSE,TRUE) in my code and complied it, still its showing same message while saving.

    And, how it can be done using DotNet variable?, which assembly and codes' I should use ?.

    ,Abdul.

  • Verified answer
    Mohana Yadav Profile Picture
    Mohana Yadav 59,135 Super User 2024 Season 2 on at
    RE: MS NAV 2013 R2

    And why are you using Automation variable.

    you can use DotNet variable.

    Please check table 370 excel buffer

  • Verified answer
    Mohana Yadav Profile Picture
    Mohana Yadav 59,135 Super User 2024 Season 2 on at
    RE: MS NAV 2013 R2

    It seems like you have used CREATE(XLApp22) in your code

    Please use CREATE(XLApp22,FALSE,TRUE)

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,240 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans