Skip to main content

Notifications

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
    Community member Profile Picture
    7 on at
    How can my extension work on sandbox but not on production?
    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

Jainam Kothari – Community Spotlight

We are honored to recognize Jainam Kothari as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard >

Featured topics

Product updates

Dynamics 365 release plans