web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

A DotNet variable has not been instantiated.

(0) ShareShare
ReportReport
Posted on by
Hi everyone,
Does anyone had encountered this kind error?
What we are trying to do is updating an existing excel file from a BLOB type field and downloading it.
Any help will be appreciated. Thanks and have a good day.
8272.PNG
3175.PNG
  • Suggested answer
    THE Italian Profile Picture
    Microsoft Employee on at

    Is this SaaS or Online? If this is SaaS then you might file a request to MS Support.

    If this is on-prem installation, there might be chances that the library deployed in the environment are not the same ones used in the assembly probing path of the original development.

  • Community Member Profile Picture
    on at

    Hi,

    I am using an on-prem installation. How would I know if there's a difference between the library deployed in this environment and the one used in the assembly probing path?

    I am new to AL / Business Central so thank you for your responses.

    Thanks,

    Jim

  • Suggested answer
    THE Italian Profile Picture
    Microsoft Employee on at

    It could be that OpenXML libraries are different than the one where ExcelBuffer has been developed.

  • Suggested answer
    Avinash B Profile Picture
    1,455 on at

    Hi

    As per my knowledge, the dotnet variable XlWrkBkWriter is not initialized. For this, call CreateNewBook() function from Excel Buffer first to initialize the variable.

    Regards

    Avinash B

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 569 Super User 2026 Season 2

#2
YUN ZHU Profile Picture

YUN ZHU 375 Super User 2026 Season 2

#3
Grigorios Mavrogeorgis Profile Picture

Grigorios Mavrogeorgis 228 Super User 2026 Season 2

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans