Hello,
I have been building a site in a developer environment for a while. Now my company wants to migrate it to a production environment to convert it to production so that our clients can test it. I put the site into a solution, exported it and tried to import it into the new environment but I always got error messages about dependencies. I tried to add components that were missing according to the error messages (choices, table columns, table relationships, ...) to the solution. It got to a point where I did't get this message with the list of missing components anymore and could proceed until I see the message "Currently importing solution..." at the top of the page. However, after a while I would always get this error message
"Solution "..." failed to import: The dependent component EntityDataSource (Id=500816e2-d7f7-ee11-a1fe-002248d88859) does not exist. Failure trying to associate it with Entity (Id=05dbf962-abff-4a70-8169-4e868fedad10) as a dependency. Missing dependency lookup type = PrimaryKeyLookup."
(The first Id is always the same but the second Id changes each time I try to import the solution)
This time I have no idea which component is the problem because it only shows the Id and not the name. Could you tell me how I can search for it and maybe add it to the solution? I also use virtual tables (from SQL) on my site. Could this be the cause of this error and what do I have to add to the solution or how can I solve it?
Also when I open the "solution" xml file in the exported zip solution filed, there are still these error messages regarding missing dependencies even though it doesn't show the list of missing components anymore when I import the solution.
Update: I solved this problem by adding "Virtual table data source" into the solution.
"Add existing" --> "More" --> "Developer" --> "Virtual table data source"
There are several data sources there and I wasn't sure which one(s) was/were needed so I added all of them except "Solution History Data Provider"
The import was successful but I got this warning message "Solution "..." imported successfully with warnings: Data Source secrets are not included in solutions. You'll need to edit your data sources to add secrets back following solution import."
Could anyone please tell me how I can do it? 🙂
Still checking if I will run into any other problems.
Lucas001
60
Super User 2025 Season 2
Fubar
55
Super User 2025 Season 2
surya narayanan
35