none
Importing issue RRS feed

  • Frage

  • Dear all
     
     i am working in ms crm 4.0..I got a zip file from the link: http://smscrm.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=26492
    when i am trying to import the file i am getting the following error:

    Error:
    Translated labels for the following languages could not be imported because they have not been enabled for this organization: 1036, 1031, 3082

    i think i have to install language package..But whether i can do this with out installing language package..
    Actually i have modified the XML, all the above mentioned language code to 1033(English)..But i am getting SQl server error..

    Please help me i  have to modify..

    This is thw XML document:

    <ImportExportXml version="4.0.0.0" languagecode="1033" generatedBy="OnPremise">
      <Entities>
        <Entity>
          <Name LocalizedName="SMS Campaign Activity" OriginalName="">New_smscampaignactivity</Name>
          <ObjectTypeCode>10003</ObjectTypeCode>
          <EntityInfo>
            <entity Name="New_smscampaignactivity">
              <HasRelatedNotes>True</HasRelatedNotes>
              <HasRelatedActivities>True</HasRelatedActivities>
              <ObjectTypeCode>10003</ObjectTypeCode>
              <CollectionName>New_smscampaignactivities</CollectionName>
              <LogicalCollectionName>new_smscampaignactivities</LogicalCollectionName>
              <BaseTableName>New_smscampaignactivityBase</BaseTableName>
              <WorkflowEventMask>-1</WorkflowEventMask>
              <IsCustomizable>1</IsCustomizable>
              <IsMappable>1</IsMappable>
              <IsImportable>1</IsImportable>
              <IsDuplicateCheckSupported>1</IsDuplicateCheckSupported>
              <OwnershipTypeMask>UserOwned</OwnershipTypeMask>
              <IsAudited>1</IsAudited>
              <EntityMask>ActivityPointer</EntityMask>
              <IsCustomEntity>1</IsCustomEntity>
              <IsValidForAdvancedFind>1</IsValidForAdvancedFind>
              <ExtensionTableName>New_smscampaignactivityExtensionBase</ExtensionTableName>
              <ReportViewName>FilteredNew_smscampaignactivity</ReportViewName>
              <IsRenameable>1</IsRenameable>
              <CanTriggerWorkflow>1</CanTriggerWorkflow>
              <CanBeChildInCustomRelationship>1</CanBeChildInCustomRelationship>
              <CanBeInCustomEntityAssociation>1</CanBeInCustomEntityAssociation>
              <CanBeInCustomReflexiveRelationship>1</CanBeInCustomReflexiveRelationship>
              <IsMailMergeEnabled>1</IsMailMergeEnabled>
              <EntityClassName>Microsoft.Crm.Entities.CustomBusinessEntity</EntityClassName>
              <EntityAssembly>Microsoft.Crm.Entities</EntityAssembly>
              <ServiceClassName>Microsoft.Crm.ObjectModel.CustomBusinessEntityService</ServiceClassName>
              <ServiceAssembly>Microsoft.Crm.ObjectModel</ServiceAssembly>
              <WorkflowSupport>15</WorkflowSupport>
              <LocalizedNames>
                <LocalizedName description="SMS Campaign Activity" languagecode="1033" />
                <LocalizedName description="Activité de campagne SMS" languagecode="1036" />
                <LocalizedName description="SMS Campaign Activity" languagecode="1031" />
                <LocalizedName description="SMS Campaign Activity" languagecode="3082" />
              </LocalizedNames>
              <LocalizedCollectionNames>
                <LocalizedCollectionName description="SMS Campaign Activities" languagecode="1033" />
                <LocalizedCollectionName description="Activités de campagne SMS" languagecode="1036" />
                <LocalizedCollectionName description="SMS Campaign Activities" languagecode="1031" />
                <LocalizedCollectionName description="SMS Campaign Activities" languagecode="3082" />
              </LocalizedCollectionNames>
              <Descriptions>
                <Description description="" languagecode="1033" />
              </Descriptions>
              <attributes>
                <attribute PhysicalName="CreatedBy">
                  <Type>lookup</Type>
                  <ValidForReadApi>1</ValidForReadApi>
                  <ReferencedEntityObjectTypeCode>8</ReferencedEntityObjectTypeCode>
                  <AttributeTypeId>00000000-0000-0000-00aa-110000000031</AttributeTypeId>
                  <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
                  <Descriptions>
                    <Description description="Unique identifier of the user who created the record." languagecode="1033" />
                    <Description description="Identificateur unique de l'utilisateur qui a créé l'enregistrement." languagecode="1036" />
                    <Description description="Eindeutiger Bezeichner des Benutzers, der den Datensatz erstellt hat." languagecode="1031" />
                    <Description description="Identificador único del usuario que creó el registro." languagecode="3082" />
                  </Descriptions>
                  <ImeMode>auto</ImeMode>
                  <RequiredLevel>none</RequiredLevel>
                  <Format />
                  <LookupClass>SystemUsers</LookupClass>
                  <LookupStyle>single</LookupStyle>
                  <LookupTypes />
                  <displaynames>
                    <displayname description="Created By" languagecode="1033" />
                    <displayname description="Créé par" languagecode="1036" />
                    <displayname description="Erstellt von" languagecode="1031" />
                    <displayname description="Autor" languagecode="3082" />
                  </displaynames>
                </attribute>
                <attribute PhysicalName="CreatedOn">
                  <Type>datetime</Type>
                  <ValidForReadApi>1</ValidForReadApi>
                  <AttributeTypeId>00000000-0000-0000-00aa-110000000015</AttributeTypeId>
                  <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
                  <Descriptions>
                    <Description description="Date and time when the record was created." languagecode="1033" />
                    <Description description="Date et heure de la création de l'enregistrement." languagecode="1036" />
                    <Description description="Datum und Uhrzeit der Erstellung des Datensatzes." languagecode="1031" />
                    <Description description="Fecha y hora en que se creó el registro." languagecode="3082" />
                  </Descriptions>
                  <ImeMode>inactive</ImeMode>
                  <RequiredLevel>none</RequiredLevel>
                  <Format>date</Format>
                  <displaynames>
                    <displayname description="Created On" languagecode="1033" />
                    <displayname description="Créé le" languagecode="1036" />
                    <displayname description="Erstellt am" languagecode="1031" />
                    <displayname description="Fecha creación" languagecode="3082" />
                  </displaynames>
                </attribute>
                <attribute PhysicalName="DeletionStateCode">
                  <Type>int</Type>
                  <AttributeTypeId>00000000-0000-0000-00aa-110000000019</AttributeTypeId>
                  <ImeMode>disabled</ImeMode>
                  <RequiredLevel>none</RequiredLevel>
                  <Format />
                  <MinValue>-2147483648</MinValue>
                  <MaxValue>2147483647</MaxValue>
                </attribute>
                <attribute PhysicalName="ImportSequenceNumber">
                 ..................

    Regards

    Arun

    Freitag, 11. September 2009 11:22

Antworten

  • Arun,

    I have never came to your problem, nor can I reproduce it. Since System Administrator should have maximum persmissions to all entities, the behaviour you described is very strange.
    Can you check the administrator role and the privileges for that role? If there is "no access" set for it, then it will have be solved some other way (preferably SQL). There is a possibility that things went wrong becaouse you edited the file manually and maybe did something that is not supported.

    However, try to check the privileges in SQL directly. On http://code.msdn.microsoft.com/CrmSecurityReports you can find reports and SQL that identifies all privileges by roles.

    I hope it helps.


    Dejan Dular

    Microsoft Certified Business Management Solutions Specialist
    Freitag, 11. September 2009 15:50

Alle Antworten

  • Arun,

    this is not an error. It is just a warning.

    If you import customizations, that contains languages not installed on your system, those languages are ignored. Other languages and all customizations are imported. Don't forget to enable new entities to be shown and publish them.
    Dejan Dular

    Microsoft Certified Business Management Solutions Specialist
    • Als Antwort vorgeschlagen Dejan Dular Freitag, 11. September 2009 12:23
    Freitag, 11. September 2009 12:23

  • Dear Dejan,

    Thank you your reply..I solved that issue by altering the XML document..But one of my entity is fully  readonly..i cant able to create or modify..i am in system administrator role..Where i am going wrong..Please help me..


    Regards

    Arun
    Freitag, 11. September 2009 12:35
  • Arun,

    I have never came to your problem, nor can I reproduce it. Since System Administrator should have maximum persmissions to all entities, the behaviour you described is very strange.
    Can you check the administrator role and the privileges for that role? If there is "no access" set for it, then it will have be solved some other way (preferably SQL). There is a possibility that things went wrong becaouse you edited the file manually and maybe did something that is not supported.

    However, try to check the privileges in SQL directly. On http://code.msdn.microsoft.com/CrmSecurityReports you can find reports and SQL that identifies all privileges by roles.

    I hope it helps.


    Dejan Dular

    Microsoft Certified Business Management Solutions Specialist
    Freitag, 11. September 2009 15:50