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...
Answered

How can my extension work on sandbox but not on production?

(0) ShareShare
ReportReport
Posted on by
Hi there
 
I import an excel to a staging table. this works well on my sandbox deployed from VS but not on production after uploading extension. Any ideas?
 
Extension has uploaded successfully
permissions included in app
data is the same and tried adding rows manually first so as not to start from 0. 
environment is one difference. can libraries be different or missing in a production of same tenant / region?
 
Error is ...
A DotNet variable has not been instantiated. Attempting to call Microsoft.Dynamics.Nav.OpenXml.Spreadsheet.WorksheetReader.GetEnumerator in Table Excel Buffer: ReadSheetContinous
 
AL call stack: 
/Excel Buffer/(Table 370).ReadSheetContinous line 16 - Base Application by Microsoft
/Excel Buffer/(Table 370).ReadSheetContinous line 5 - Base Application by Microsoft
/Excel Buffer/(Table 370).ReadSheet line 2 - Base Application by Microsoft
/SIC Interface Process/(CodeUnit 50105).FctProcessFile line 21 - Operations Ext V1.1.5.5
/SIC Interface Process/(CodeUnit 50105).FctImportFile line 3 - Operations Ext 
/SIC Import Staging/(Page 50124)./Import SIC File - OnAction/(Trigger) line 6 - Operations Ext 
 
just cant see how it would fail on one environment and work on another.
 
  • Verified answer
    ND-27040843-0 Profile Picture
    7 on at
    I found the issue. I had directed which sheet to read in from a config table and the sheet name was different in live. an easy one in the end :-)
     

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

Congratulations to the August Top 10 Community Leaders

These are the community rock stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 750 Super User 2026 Season 2

#2
YUN ZHU Profile Picture

YUN ZHU 534 Super User 2026 Season 2

#3
AndrewThomas81 Profile Picture

AndrewThomas81 287 Super User 2026 Season 2

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans