Error Importing the default solution: Entity that stores a chart attached with a view.
-
Thursday, 10 May 2012 6:46 PM
Hello Everyone
I am getting following error when I try to import the default solution from my dev box to production box. The account entity was renamed to company.
Type: Chart
Display Name: Company
Name: Account
Description: Entity that stores a chart attached with a view.
The log has following error
Error in XSD Validation of the dataDescription. Unhandled Exception: System.Xml.Schema.XmlSchemaValidationException: The 'alias' attribute is not declared.
at System.Xml.Schema.XmlSchemaValidator.SendValidationEvent(XmlSchemaValidationException e, XmlSeverityType severity)
at System.Xml.Schema.XmlSchemaValidator.SendValidationEvent(String code, String arg)
at System.Xml.Schema.XmlSchemaValidator.ValidateAttribute(String lName, String ns, XmlValueGetter attributeValueGetter, String attributeStringValue, XmlSchemaInfo schemaInfo)
at System.Xml.XsdValidatingReader.ValidateAttributes() at System.Xml.XsdValidatingReader.ProcessElementEvent()
at System.Xml.XsdValidatingReader.Read()
at Microsoft.Crm.Visualizations.FetchXmlVisualizationDataModule.ValidateWithXsd(XmlDocument doc)Any Ideas?
Thanks
- Edited by WPF_Dev Thursday, 10 May 2012 6:52 PM
All Replies
-
Monday, 14 May 2012 11:00 AM
Hi,
It is very hard to judge the exact error based on above.
Please try one thing. Remove this chart from your entity. Then try importing this solution to your Production.
After it has been imported, create the chart again in Production.
In order to debug your error, try importing this solution, if possible, to another dev/test environment. Before importing turn on sql profiling on your dev/test crm database. Then try importing your solution to that dev/test environment. This way you will exactly find your sql query where the error is and what the error is.
I hope this helps. If my response answered your question, please mark the response as an answer and also vote as helpful.
Ashish Mahajan, CRM Developer, CSG (Melbourne)
My Personal Website: http://www.ashishmahajan.com
My Blogs: http://ashishmahajancrm.blogspot.com.au and http://ashishmahajancrm.wordpress.com
My Youtube Channel: http://www.youtube.com/user/ashishmahajanmscrm
My Twitter: https://twitter.com/#!/ashishmahajan74My Linkedin: 
- Proposed As Answer by Ashish Mahajan Australia (Architect) Monday, 14 May 2012 11:00 AM
-
Thursday, 17 May 2012 11:49 PMHi,
If the response answered your question and you are satisfied, please mark the response as an answer and also vote as helpful. This will help others to search on similar problems.
Thanks in advance.
Ashish Mahajan, CRM Developer, CSG (Melbourne)
My Personal Website: http://www.ashishmahajan.com
My Blogs: http://ashishmahajancrm.blogspot.com.au and http://ashishmahajancrm.wordpress.com
My Youtube Channel: http://www.youtube.com/user/ashishmahajanmscrm
My Twitter: https://twitter.com/#!/ashishmahajan74My Linkedin: 
- Edited by Ashish Mahajan Australia (Architect) Thursday, 17 May 2012 11:50 PM
-
Tuesday, 5 June 2012 8:39 AMNeeded the Rollup 5 - had forgotten to apply it.
-
Tuesday, 5 June 2012 10:58 AMCool, good work.
Ashish Mahajan, Microsoft Dynamics CRM Solutions Architect, CSG (Melbourne)
My Personal Website: http://www.ashishmahajan.com
My Blogs: http://ashishmahajancrm.blogspot.com.au and http://ashishmahajancrm.wordpress.com
My Youtube Channel: http://www.youtube.com/user/ashishmahajanmscrm
My Twitter: https://twitter.com/#!/ashishmahajan74My Linkedin: 