Skip to main content

Notifications

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)

(0) 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

  • 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,977 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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,261 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,996 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Product updates

Dynamics 365 release plans