cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
JimMeldrum1
Helper I
Helper I

Error importing a solution between environments

When attempting to import a Solution from one Environment to another in the same tenant the process is initiated and the status message 'Currently importing solution "solution name"' appears but after a short while is replaced with the error below: -

 

Solution "solution name" failed to import: Code: InternalServerError Content: ModelBuilderService_EvaluationChallengedResult

 

There is an option to download an xml log file but does not display well enough for me to make any sense of it 😞

 

Has anyone else experienced this? Any ideas?

 

Many thanks

1 ACCEPTED SOLUTION

Accepted Solutions
JimMeldrum1
Helper I
Helper I

I managed to import the solution successfully via the classic interface (under Solutions I selected switch to classic) although I received this warning: -

 

The import of solution: Registration Solution completed with warning. Ribbon client metadata is being refreshed in the background.

 

There was also a warning in the Status column against the Flow object 'Push Attendance to Excel' which stated "Warning This Solution Import Log table contains 50 records." but I'm not sure if that's relevant. I mention it as everything else appears to be normal.

View solution in original post

11 REPLIES 11
sakula1996
Responsive Resident
Responsive Resident

Hi @JimMeldrum1 ,

 

Are you using AI Builder in your solution?

Hi @sakula1996 thank you for your response. I'm not using AI Builder in the solution. It comprises some Dataverse tables, a Canvas App and a Flow

sakula1996
Responsive Resident
Responsive Resident

@JimMeldrum1 , can you post the XML log?

Of course, attached. Thank you again @sakula1996 

Hi @JimMeldrum1 ,

 

I have a similar problem.  I have not resolved it yet but I finally found how to look at the XML log… so I thought I’ll share it with you.

At the top of the XML I saw this line: “schemas-microsoft-com:office:spreadsheet” which made me think to try to open it with Excel… Eureka!

It gives you a nicely formatted Excel file with 2 tabs; the first tab is just a summary of the solution and publisher info. The second tab present the logs in a readable format.

 

I check your file and it seems it stopped processing when it encountered a flow named “Push Attendance to Excel”.  Not sure if this is the root cause of the problem but I guess it’s a good place to start.

 

Good luck!

The "Push Attendance to Excel" flow is part of the solution and the XML log file lists the status as 'processed'. It's the last element in the solution so I think it's not this.

 

The only error in the log is against Solution ItemType which states: -

 

Code: InternalServerError Content: ModelBuilderService_EvaluationChallengedResult

 

I found this on the Web: - ModelBuilder Class (Microsoft.EntityFrameworkCore) | Microsoft Docs

 

Baffled 😞

 

JimMeldrum1
Helper I
Helper I

I managed to import the solution successfully via the classic interface (under Solutions I selected switch to classic) although I received this warning: -

 

The import of solution: Registration Solution completed with warning. Ribbon client metadata is being refreshed in the background.

 

There was also a warning in the Status column against the Flow object 'Push Attendance to Excel' which stated "Warning This Solution Import Log table contains 50 records." but I'm not sure if that's relevant. I mention it as everything else appears to be normal.

View solution in original post

Thanks for telling me about the Switch to classic idea... I tried... but it failed again.
Right now I"m at the point where I'm starting a new solution from scratch and testing Export/Import after adding only 2-3 objects at the time.  This way I hope to pinpoint issue.

Addendum: once I'd imported into the target environment using the classic interface I was able to export from that environment and into another environment using the new interface without issues.

 

The only material change I can think is that the tables in the initial source environment were populated with data which does not transfer on export and import.

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

Power Apps Community Call

Monthly Power Apps Community Call

Did you miss the call?? Check out the Power Apps Community Call here!

secondImage

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Top Solution Authors
Top Kudoed Authors
Users online (73,686)