Thursday, October 22, 2015

Yet Another Error when Exporting/Publishing CRM Customizations

Capturing and Analysing SQL Queries in CRM Implementations

CRM 2011–Cannot publish customizations after import

Problem:
If you ever run into a situation that you imported your solution successfully and not able to publish it, the reason is because either the size of the solution might be too large or the SQL is not fast enough.
We ran into this problem earlier this week.  We have a slow SQL server and the size of our solution is big, we can’t publish it and we don’t know what was the reason behind it since CRM didn’t provide any helpful error messages.
Cause:
After hours of troubleshooting, we finally figured out that CRM has a default timeout value of 300 seconds = 5 minutes. If any process takes more than 5 minutes, it’ll stop.

Detail solution is given below -

http://blogs.msdn.com/b/darrenliu/archive/2011/07/08/crm-2011-cannot-publish-customizations-after-import.aspx