Answered by:
CRM 4.0 to CRM 2011 in place upgrade Custom Entity Issue

Question
-
After an in place upgrade, I can not open my custom entities. These custom entities were created in CRM 3.0 upgraded to 4.0 and now to 2011.
The inplace upgrade failed during the data upgrade. I restored the organization_MSCRM and then imported the organization. This completed but had an error at the end in reference to workflows not upgrading.
Everything appears to be working with with the web client and with CRM 4.0 outlook clients. I can see my custom entities in lists, but if I try to open one, I get:
Error an error has occurred. Try this action again. If the problem continues, check the Microsoft Dynamics CRM Community for solutions... Try again or Close
If I select an entity and customize, make any change and publish, it will then show up under entities in the Customization window. But the entity has no forms. If I try to create a "Main Form" I get the same error.
Any ideas on how I can fix this, or where to look for what is preventing the entities from displaying?
Fred ZilzFriday, August 19, 2011 7:00 PM
Answers
-
Amir, good advice - however, when I say I retried the import, I am actually deleing the organization from deployment manager, restoring the database from prior to the CRM 4.0 to 20ll upgrade and then importing the CRM 4.0 database again.
Anyway the issue is resolved...
It turns out there was a plugin from a third party application (Exact Target CRM integration) which was causing the upgrade during import to fail at the tail end of the upgrade. I rolled back to CRM 4.0 (what did we do before Virtual Machines?) uninstalled the aplication which removed the plugin, then backed up the database. Rolled forward to CRM 2011, imported the 4.0 database again and it successfully completed. I am good to go now.
Now it is on to Sharepoint integration...But that is going to be another thread.
Fred Zilz- Marked as answer by FredZilz Monday, August 29, 2011 11:48 PM
Monday, August 29, 2011 11:48 PM
All replies
-
Applicaton log on CRM 2011 server shows:
Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 8/19/2011 12:20:17 PM
Event time (UTC): 8/19/2011 7:20:17 PM
Event ID: de5eba1cac2443dcb895dba1aedeed30
Event sequence: 113
Event occurrence: 1
Event detail code: 0
Application information:
Application domain: /LM/W3SVC/1/ROOT-1-129582544281093750
Trust level: Full
Application Virtual Path: /
Application Path: C:\Program Files\Microsoft Dynamics CRM\CRMWeb\
Machine name: CRMServerMachineName
Process information:
Process ID: 2228
Process name: w3wp.exe
Account name: domain\AppServiceAccount
Exception information:
Exception type: InvalidOperationException
Exception message: Sequence contains no elements
at System.Linq.Enumerable.First[TSource](IEnumerable`1 source)
at Microsoft.Crm.Utility.FormEditorUtility.GetFirstFormHavingLeastOrder(Int32 type, Int32 objectTypeCode)
at Microsoft.Crm.Web.Tools.Views.FormEditorPage.GetFormXml(String formXmlString)
at Microsoft.Crm.Web.Tools.Views.FormEditorPage.ConfigurePage()
at Microsoft.Crm.Application.Controls.PageManager.OnPreRender(EventArgs e)
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Request information:
Request path: /InterhealthCRM/tools/formEditor/formeditor.aspx
User host address: 2001:470:840e:0:397b:99a1:a43:39a5
User: Domain\User
Is authenticated: True
Authentication Type: Negotiate
Thread account name: domain\AppServiceAccount
Thread information:
Thread ID: 14
Thread account name: domain\AppServiceAccount
Is impersonating: False
Stack trace: at System.Linq.Enumerable.First[TSource](IEnumerable`1 source)
at Microsoft.Crm.Utility.FormEditorUtility.GetFirstFormHavingLeastOrder(Int32 type, Int32 objectTypeCode)
at Microsoft.Crm.Web.Tools.Views.FormEditorPage.GetFormXml(String formXmlString)
at Microsoft.Crm.Web.Tools.Views.FormEditorPage.ConfigurePage()
at Microsoft.Crm.Application.Controls.PageManager.OnPreRender(EventArgs e)
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Custom event details:
Fred ZilzFriday, August 19, 2011 7:24 PM -
Hi,
This problem is very specfic to your CRM deployment and may require investigating the issue into the database, I would like to suggest that you contact Microsoft Customer Service and
Support services via telephone so that a dedicated Support Professional can assist with this request.You can contact your Microsoft Dynamics CRM Partner or intiate a case with Microsoft Support team via your company Customer Source Account http://www.microsoft.com/dynamics/en/au/customersource.aspx
or to obtain the phone numbers for specific technology request please take a look at the web site listed below.
http://support.microsoft.com/default.aspx?scid=fh;EN-US;PHONENUMBERS
If you are outside the US please see http://support.microsoft.com for regional support phone numbers.
Jehanzeb Javeed
http://worldofdynamics.blogspot.com
Linked-In Profile |CodePlex Profile
If you find this post helpful then please "Vote as Helpful" and "Mark As Answer".- Proposed as answer by Jehanzeb.Javeed Saturday, August 20, 2011 11:04 AM
- Marked as answer by Jim Glass Jr Monday, August 22, 2011 7:28 PM
- Unmarked as answer by FredZilz Tuesday, August 23, 2011 4:18 PM
Saturday, August 20, 2011 11:03 AM -
Thank you.
Fred ZilzMonday, August 22, 2011 4:00 PM -
Hi,
If you find the post helpful then please Mark as Answer.
Jehanzeb Javeed
http://worldofdynamics.blogspot.com
Linked-In Profile |CodePlex Profile
If you find this post helpful then please "Vote as Helpful" and "Mark As Answer".- Marked as answer by Curt Spanburgh MVP ModeratorMVP, Moderator Tuesday, August 23, 2011 6:30 PM
- Unmarked as answer by FredZilz Tuesday, August 23, 2011 9:49 PM
Monday, August 22, 2011 5:52 PM -
Fred,
Don't try to re-import the organization if in-place upgrade failed during migration for any reason. If you did so as you mentioned it APPARENTLY works but in fact it doesn't because you probably missed a reasonable portion of migration process and despite the fact that Deployment Manager shows you a success message but it did not.
Can you provide me with more information about error messages/logs you receive during the import process?
This may help also
http://social.msdn.microsoft.com/Forums/en-US/crmdeployment/thread/cb6239ab-2ae2-4bca-a618-6f25b79dd9a2
Wednesday, August 24, 2011 7:47 AM -
Amir, good advice - however, when I say I retried the import, I am actually deleing the organization from deployment manager, restoring the database from prior to the CRM 4.0 to 20ll upgrade and then importing the CRM 4.0 database again.
Anyway the issue is resolved...
It turns out there was a plugin from a third party application (Exact Target CRM integration) which was causing the upgrade during import to fail at the tail end of the upgrade. I rolled back to CRM 4.0 (what did we do before Virtual Machines?) uninstalled the aplication which removed the plugin, then backed up the database. Rolled forward to CRM 2011, imported the 4.0 database again and it successfully completed. I am good to go now.
Now it is on to Sharepoint integration...But that is going to be another thread.
Fred Zilz- Marked as answer by FredZilz Monday, August 29, 2011 11:48 PM
Monday, August 29, 2011 11:48 PM