Customization, Dynamics CRM

Error during exporting default solution

I tried to export the whole default solution with all customizations of our testing environment. After 5 Minutes, the export stops with an error message, but no details.

Digging in the logs I found an error, which is telling me, that the process was running into a timeout:

Google finds multiple entries about extending the timeout, but nether adding registry entries nor adding organization settings changed the behavior.

But the following article describes all possibilities very good: https://blogs.msdn.microsoft.com/crminthefield/2011/06/13/microsoft-dynamics-crm-timeout-settings/

Based on this article I changed the following web.config on the crm frontend server:

Original configuration:

 

Changed configuration:

You can also find this information on the supportpage of microsoft: https://support.microsoft.com/en-us/help/918609/a-time-out-occurs-when-you-import-large-customization-files-into-micro

Description to this step:

The parameter executionTimeout=”300″ defines, that after 300 seconds (=5 minutes) the web service stops processing the current execution. In my case, this stopped the export of the solution. I changed this value to 9000 (=15 minutes) and started the solution export again and the export finished successfully.

The exported file had a file size of about 500 MB.

Why is this solution that big?

In the default solution all customizations are included. This means also all templates and all attachments, added to the templates are also included. In my case, this caused the huge filesize.