Error Importing the default solution: Entity that stores a chart attached with a view.
-
Donnerstag, 10. Mai 2012 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
- Bearbeitet WPF_Dev Donnerstag, 10. Mai 2012 18:52
Alle Antworten
-
Montag, 14. Mai 2012 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: 
- Als Antwort vorgeschlagen Ashish Mahajan Australia (Architect) Montag, 14. Mai 2012 11:00
-
Donnerstag, 17. Mai 2012 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: 
- Bearbeitet Ashish Mahajan Australia (Architect) Donnerstag, 17. Mai 2012 23:50
-
Dienstag, 5. Juni 2012 08:39Needed the Rollup 5 - had forgotten to apply it.
-
Dienstag, 5. Juni 2012 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: 