Error Importing the default solution: Entity that stores a chart attached with a view.
-
2012. május 10. 18:46
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
- Szerkesztette: WPF_Dev 2012. május 10. 18:52
Az összes válasz
-
2012. május 14. 11:00
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: 
- Válasznak javasolta: Ashish Mahajan Australia (Architect) 2012. május 14. 11:00
-
2012. május 17. 23:49Hi,
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: 
- Szerkesztette: Ashish Mahajan Australia (Architect) 2012. május 17. 23:50
-
2012. június 5. 8:39Needed the Rollup 5 - had forgotten to apply it.
-
2012. június 5. 10:58Cool, 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: 