CRM 2011 Customer Portal Technical Preview not compatible with released version of CRM 2011?
-
יום שני 21 פברואר 2011 11:31
While trying to import the Customer Portal technical preview solution into our on-premise instance of CRM 2011 released last week, following error is returned: The solution package cannot be imported because it contains invalid XML.
This is the actual error:
The import file is invalid. XSD validation failed with the following error: 'The element 'attribute' has invalid child element 'Name'. List of possible elements expected: 'ValidForReadApi, ReferencedEntityObjectTypeCode, IsSecured, MaxLength, CanModifyRequirementLevelSettings, CanModifyAdditionalSettings, DisplayMask, XmlAbbreviation, AggregateOf, IsRenameable, YomiOf, LookupTypes, AttributeOf, AccuracySource, ValidForUpdateApi, displaynames, Format, RequiredLevel, CanModifyFieldLevelSecuritySettings, IsLogical, Length, Accuracy, LinkedAttribute, IsAuditEnabled, LookupStyle, ImeMode, Descriptions, CanModifySearchSettings, LookupBrowse, MaxValue, OptionSetName, AppDefaultValue, optionset, ValidForCreateApi, CalculationOf, IsCustomField, MinValue, IsCustomizable'.'. \r\nThe validation failed at: \r\n'...<?xml version="1.0" encoding="utf-16"?><ImportExportXml xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><Entities><Entity><Name LocalizedName="Account" OriginalName="Account">Account</Name><ObjectTypeCode>1</ObjectTypeCode><EntityInfo><entity Name="Account"><LocalizedNames><LocalizedName description="Account" languagecode="1033" /></LocalizedNames><LocalizedCollectionNames><LocalizedCollectionName description="Accounts" languagecode="1033" /></LocalizedCollectionNames><Descriptions><Description description="Business that represents a customer or potential customer. The company that is billed in business transactions." languagecode="1033" /></Descriptions><attributes><attribute PhysicalName="Adx_CreatedByIPAddress"><Type>nvarchar</Type>< \r\n\<<<<<ERROR LOCATION>>>>> \r\nName>adx_createdbyipaddress</Name><LogicalName>adx_createdbyipaddress</LogicalName><RequiredLevel>none</RequiredLevel><DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask><ImeMode>auto</ImeMode><ValidForUpdateApi>1</ValidForUpdateApi><ValidForReadApi>1</ValidForReadApi><ValidForCreateApi>1</ValidForCreateApi><IsCustomField>1</IsCustomField><IsAuditEnabled>1</IsAuditEnabled><IsSecured>0</IsSecured><IsCustomizable>1</IsCustomizable><IsRenameable>1</IsRenameable><CanModifySearchSettings>1</CanModifySearchSettings><CanModifyRequirementLevelSettings>1</CanModifyRequirementLevelSettings><CanModifyAdditionalSettings>1</CanModifyAdditionalSettings><Format>text</Format><MaxLength>100</MaxLength><Length>200</Length><displaynames><displayname description="Created By IP Address" languagecode="1033" /></displaynames><Descriptions><Description description="" languagecode="1033" /></Descriptions></attribute><attribute PhysicalName="Adx_CreatedByUsername"><Type>nvarchar</Type><Name...'."
I was previously able to import this solution with no issues several times with CRM 2011 beta online.
Are these known issues with the released version of CRM 2011 and could you please let me know when those are expected to be fixed, or if there is a workaround?
כל התגובות
-
יום שני 21 פברואר 2011 22:58בעלים
Hi David,
Which file are you trying to import? Is it MicrosoftXrmCustomerPortal.zip or are you trying to load the cab file?
Thanks
- Palak -
יום שלישי 22 פברואר 2011 06:35
Hi Palak,
It is the MicrosoftXrmCustomerPortal.zip file that we are trying to import and returns this error. This is on a 2011 instance that was installed after the official release last week. My colleague in the US has the exact same issue. We did not encounter these issues on 2011 Beta.
Thanks,
David
-
יום שלישי 22 פברואר 2011 23:14בעלים
Can you please tell me the version number of CRM you're on? You can find it in File -> Help -> About Microsoft Dynamics CRM.
Thanks!
- Palak -
יום רביעי 23 פברואר 2011 06:37
Hi Palak,
The version is CRM 2011 Beta (5.0.9585.110) - on premise. We did not see these issues when importing the solution on CRM 2011 Beta (5.0.9688.585) - online. During (successful) import on that online version, it does display a message saying the solution was built using version 5.0.9688.53. So could the issues with our on premise version be related to the fact that it is an older version than the one used to build the solution? By mistake I thought we were already on the latest version released last week.
Thanks,
David
-
יום רביעי 23 פברואר 2011 23:28בעלים
Hi David,
Yes, it is very likely that problem is caused because the solution is built on a newer version of CRM than your deployment. Please try upgrading your on premise version to the latest release that can be found here: http://crm.dynamics.com/.
Thanks!
- Palak- סומן כתשובה על-ידי Matt Cooper [msft]Microsoft Employee יום שישי 25 פברואר 2011 18:23