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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Suggested Answer

Importing solution failing on fresh install on-prem (Custom API)

(2) ShareShare
ReportReport
Posted on by 5

I have a solution with a custom API that fails when importing into a fresh on-prem v9.1 org. It will import to 90 percent then fail with a generic error: “The operation timed out. This may be because a solution is currently being imported into this environment. Please try again after the solution import is completed. Solutions should be imported outside of working hours if possible.”

I’ve tried updating the time out, which did nothing as I get the same error. After removing the custom API folder from the solution, it imports successfully.

Anyone have success importing a custom solution containing a custom API on a fresh on-prem v9.1 org?

As a side note, I also tested having a basic “Hello World” custom API solution, which also fails.

Thank you

I have the same question (0)
  • edmunch Profile Picture
    on at

    Are there any other details besides the generic error?  Have you enabled Platform traces to see if you can get further details?

  • Noe206 Profile Picture
    5 on at

    Thank you for your fast response. I can only see a few errors, but none is pointing to custom API.

    Crm Exception: Message: The entity with a name = 'none' with namemapping = 'Platform' was not found in the MetadataCache. MetadataCacheDetails: ProviderType=Dynamic, StandardCache=True, IsLoadedInStagedContext = False
    
    Crm Exception: Message: Cannot insert duplicate key., ErrorCode: -2147220937
    
    Crm Exception: Message: The specified object was not found., ErrorCode: -2147220969

    Thank you

  • Suggested answer
    Bipin D365 Profile Picture
    28,983 Moderator on at

    Hi,

    I hope you added all the required components related to custom api in your solution.

    You can do that by selecting the custom api and then click add required components inside your solution.

  • Noe206 Profile Picture
    5 on at

    Yes, sir, I did add all the components that were needed.

    Unpack the solution to confirm the components needed.

    Also, I exported the solution and tried to import it into the new install.

    Both case still gives me a failed import.

  • Abanoub_ayadD365 Profile Picture
    27 on at
    Hi @Noe206,
      Currently facing similar to this what is the result

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Martin Dráb Profile Picture

Martin Dráb 45 Most Valuable Professional

#2
iampranjal Profile Picture

iampranjal 36

#3
Satyam Prakash Profile Picture

Satyam Prakash 31

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans