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 CRM (Archived)

Error when importing solution to on-premise

(0) ShareShare
ReportReport
Posted on by 3,079

I'm trying to import an add-on solution into our on-premise (v9) organization, and I'm getting the error:

"The solution package you are importing was generated on Microsoft Dynamics 365 (online). You can’t import it into on-premises or hosted versions of Microsoft Dynamics 365."

The solution is set to version 9.0, so that's not what it's complaining about.  Since when can solutions not be used on either platform?  We've imported a number of solutions before and never had to download an on-premise-specific version...

*This post is locked for comments

I have the same question (0)
  • Ben Thompson Profile Picture
    6,350 on at

    I think the answer will be when the solution contains functionality such as a Flow which is not available within the onpremise solution...

    Now I have seen that error message before when trying to import the an exported default online solution to an onpremise instance but I've not seen it with an add-in solution. What were you trying to install (hoping that its not one of mine)?

  • awalters Profile Picture
    3,079 on at

    It's Dynamics 365 Workflow Tools.  The author only has online to develop on, but he suggested to just grab the code and compile for the older (on-prem) version, which I did.  I was able to do that and adjust the solution XML for version, but then got this error.  There was an item in the XML - generated by - that I changed from "CRMLive" to "OnPremise", and then it imported fine (but I've never had to do that before).  There are not any Flows in it - only an assembly and plugin steps.  :-(

  • awalters Profile Picture
    3,079 on at

    I can see that the various solutions have this value set (it's why I was able to look at a different package and see what to change it to), but I've never had it block an import before.

  • gdas Profile Picture
    50,091 Moderator on at

    Hi Allison ,

    What was the version of Dynamics 365 online where you have  exported the  solution ?

    If I am not wrong  this is expected if your solution exported from above version of 9,0. See the below references  -

    "Any solution exported from a newer version of Dynamics 365 for Customer Engagement apps cannot be imported into an older version of Dynamics 365 for Customer Engagement apps. This includes major and minor versions. Solutions exported from an earlier version of Dynamics 365 for Customer Engagement apps can be imported into later versions as shown in the following chart."

    docs.microsoft.com/.../maintain-managed-solutions

    docs.microsoft.com/.../introduction-solutions

  • awalters Profile Picture
    3,079 on at

    Both the on-premise and online in this case are version 9, so according to that chart we should be fine.  It also doesn't mention anything about online vs on-premise.

  • gdas Profile Picture
    50,091 Moderator on at

    Yes , agreed with you ,in that case please raise ticket to MS.

  • Verified answer
    Ben Thompson Profile Picture
    6,350 on at

    If it's https://github.com/demianrasko/Dynamics-365-Workflow-Tools then I suspect the issue is that the current online version is 9.1 and the last version was created with that release rather than 9.0 (based on the release date) and the new 9.1 solution manager has a lot of new / additional flow and custom control options included within it.

    It's probably worth highlighting this as I suspect a lot of ISVs follow a similar development methodology and will be in for a nasty surprise when they release a new version and discover onpremise users can't install it... I know I will need to change a few things to avoid this sort of issue.

  • awalters Profile Picture
    3,079 on at

    I recompiled everything with version 9.0 assemblies, though, and then changed the version XML to 9.0.  It did allow an import no problem once I did that, and also changed the "GeneratedBy" tag, so I'd be surprised if it's version related (or at least specifically related to the 9.1 vs 9.0 change).  Though it's not impossible, I guess.  Going to go through all the others we have now and see if I can see anything else that might be relevant.  And gonna test the hell out of this import to see if there were any intended consequences.  All seems good at the moment, though.

    And yes, it'll definitely be a nasty surprise if on-prem users can't use a bunch of add-ons...though I'd guess more for us than the developers.  (At least for the free stuff.)

  • awalters Profile Picture
    3,079 on at

    That being said - I wonder if something generated in 9.0 online could be imported in 9.0 on-prem without any changes.  Anyone still have a 9.0 online instance kicking around?  :-D

  • Suggested answer
    Ben Thompson Profile Picture
    6,350 on at

    There is no such thing as a 9.0 online instance anymore. Prior to 9 all instances sat on their own self contained hardware and upgrades were applied manually. From 9.0 onwards online instances use standard Azure systems and upgrades are performed automatically using a continuous deployment cycle to ensure all people are on the same instance see community.dynamics.com/.../october-service-update-for-dynamics-365-online-will-be-version-9-1 so everyone is currently on 9.1 and this week or last weeks minor release.

    That's why you occasionally see reports of something not working in Australia or the United Kingdom as those regions receive the new releases earlier in the week than the rest of the world...

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 CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans