web
You’re offline. This is a read only version of the page.
close
Skip to main content
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)
  • Abanoub_ayadD365 Profile Picture
    24 on at
    Importing solution failing on fresh install on-prem (Custom API)
    Hi @Noe206,
      Currently facing similar to this what is the result
  • Noe206 Profile Picture
    5 on at
    RE: Importing solution failing on fresh install on-prem (Custom API)

    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.

  • Suggested answer
    Bipin D365 Profile Picture
    28,981 Moderator on at
    RE: Importing solution failing on fresh install on-prem (Custom API)

    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
    RE: Importing solution failing on fresh install on-prem (Custom API)

    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

  • edmunch Profile Picture
    on at
    RE: Importing solution failing on fresh install on-prem (Custom API)

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

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…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

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

#1
DAnny3211 Profile Picture

DAnny3211 359

#2
Abhilash Warrier Profile Picture

Abhilash Warrier 137 Super User 2025 Season 2

#3
Martin Dráb Profile Picture

Martin Dráb 77 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans