cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
oml
Helper II
Helper II

Error code 8004F037 - When importing solution

Hi,

 

I'm trying to import an unmanaged solution from an existing environment to a new fresh environment.

 

Both environments are a "Production" type.

 

When importing the unmanaged solution, I get the following exception message:

 

 

The FetchXml (<fetch version="1.0" mapping="logical"><entity name="crc17_leaseline"><attribute name="crc17_leaselineid" /><filter type="and"><condition attribute="statecode" operator="eq" value="0" /></filter><attribute name="crc17_description" /><attribute name="crc17_quantity" /><attribute name="crc17_rate" /><attribute name="crc17_frequency" /><attribute name="crc17_name" /><attribute name="transactioncurrencyid" /></entity></fetch>) is invalid. Failure while calculating dependencies for SavedQuery (Id=e1453351-38b0-4364-bd1c-27bcb67e0db0).

 

 

I feel like I have tried anything on the existing solution, but I'm starting to run out of things to troubleshoot.

 

"crc17_leaseline" is a custom entity(table).

 

I think I understood "SavedQueries" to be "System Views." Is this correctly assumed?

 

Anyone who maybe can give me a hint or point in a direction? I would be really much appreciated.

1 ACCEPTED SOLUTION

Accepted Solutions
oml
Helper II
Helper II

Thanks for your reply @timl .

 

I manage to solve the issue by myself.

 

For some reason, there was a really strange "View" on the custom entity that I did not create. The "View" had a really strange "View Type". And even more strange was, that it was not available to me to access. So if I tried to go the environment on Power Platform, then Data -> Entitiy -> "the custom entity" -> Views I could not see the view. But if I was to include the custom entity in my solution, I could see in the related components under Views, this strange View was there. See attached.

 

I should properly note, that I have been the only one working in this environment and I have the "System Administrator" Security Role.

 

What solved the issue for me was to recreate the custom entity and reconfigure all the relations and workflows.

View solution in original post

2 REPLIES 2
timl
Super User
Super User

Hi @oml 

To diagnose this issue, I would start by checking the dependencies of "crc17_leaseline". Are there any missing? In your solution, you can choose the option to add all the dependent objects of "crc17_leaseline".

oml
Helper II
Helper II

Thanks for your reply @timl .

 

I manage to solve the issue by myself.

 

For some reason, there was a really strange "View" on the custom entity that I did not create. The "View" had a really strange "View Type". And even more strange was, that it was not available to me to access. So if I tried to go the environment on Power Platform, then Data -> Entitiy -> "the custom entity" -> Views I could not see the view. But if I was to include the custom entity in my solution, I could see in the related components under Views, this strange View was there. See attached.

 

I should properly note, that I have been the only one working in this environment and I have the "System Administrator" Security Role.

 

What solved the issue for me was to recreate the custom entity and reconfigure all the relations and workflows.

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (4,697)