locked
Customer Portal 2 process activation problem related to LCID 1033 RRS feed

  • Question

  • Hi, you've done a great job with Customer Portal version for CRM 2011.

    However, I've encountered an issue with language.

    My CRM2011 deployment is in Russian (1049), and i faced with difficulties trying to Activate 2 processes: MSA-Customer Portal: Customer portal sign-up invitation & MSA-Customer Portal: Setup basic portal privileges

    I get the following error:

    Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: System.Web.HttpUnhandledException: Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #37A03912Detail:
    <OrganizationServiceFault xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/xrm/2011/Contracts">
      <ErrorCode>-2147220970</ErrorCode>
      <ErrorDetails xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Collections.Generic" />
      <Message>System.Web.HttpUnhandledException: Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #37A03912</Message>
      <Timestamp>2011-02-12T22:17:25.6361147Z</Timestamp>
      <InnerFault>
        <ErrorCode>-2147204305</ErrorCode>
        <ErrorDetails xmlns:d3p1="http://schemas.datacontract.org/2004/07/System.Collections.Generic" />
        <Message>A validation error occurred.  The value of '1033' in attribute 'languagecode' on record of type 'workflow' not a provisioned LCID.</Message>
        <Timestamp>2011-02-12T22:17:25.6361147Z</Timestamp>
        <InnerFault i:nil="true" />
        <TraceText>

    [Microsoft.Crm.ObjectModel: Microsoft.Crm.ObjectModel.TargetAttributeValidationPlugin]
    [9223a793-ed74-4280-a1fa-2231e0db9424: TargetAttributeValidationPlugin]


    </TraceText>
      </InnerFault>
      <TraceText i:nil="true" />
    </OrganizationServiceFault>


    Please tell me where to dig.

    Saturday, February 12, 2011 10:26 PM

Answers

  • Thanks for the feedback.  We didn't do any testing in a non-english deployment before we shipped the CTP version.  We have been testing it since and will have some additional instructions for when we ship the 'RTM' version of the portals.  In the meantime, the problem you are experiencing is that the out-of-box workflows have some english in them, but it doesn't look like that language pack is installed in your CRM yet.  I think you can safely add English as a language pack (that doesn't mean your users have to use it), but it should get you through the errors for activating those workflows.  The other thing you can consider is that those workflows are pretty trivial - you can build your own without affecting the solution.

    Thanks again for reporting the error - this is helpful for us to see the various areas that we need to validate.

    Shan


    Shan McArthur www.shanmcarthur.net Check out the commercial edition of xRM portals @ www.adxstudio.com
    Wednesday, February 16, 2011 8:34 PM
    Moderator

All replies

  • Thanks for the feedback.  We didn't do any testing in a non-english deployment before we shipped the CTP version.  We have been testing it since and will have some additional instructions for when we ship the 'RTM' version of the portals.  In the meantime, the problem you are experiencing is that the out-of-box workflows have some english in them, but it doesn't look like that language pack is installed in your CRM yet.  I think you can safely add English as a language pack (that doesn't mean your users have to use it), but it should get you through the errors for activating those workflows.  The other thing you can consider is that those workflows are pretty trivial - you can build your own without affecting the solution.

    Thanks again for reporting the error - this is helpful for us to see the various areas that we need to validate.

    Shan


    Shan McArthur www.shanmcarthur.net Check out the commercial edition of xRM portals @ www.adxstudio.com
    Wednesday, February 16, 2011 8:34 PM
    Moderator
  • You can also try updating the language code for the workflows in the customizations.xml within the zip file and then reimport the solution. We haven't tested this, so I'm not sure if it will work. Let us know the results if you try it.

    For example, change the <LanguageCode>1033</LanguageCode> line to <LanguageCode>1049</LanguageCode> for the workflow definitions only. See sample below:

        <Workflows>
        <Workflow WorkflowId="{35cab722-cf57-457e-91e8-3fcdc550ad3a}" Name="MSA-Customer Portal: Customer portal sign-up invitation">
          <XamlFileName>/Workflows/MSA-CustomerPortalCustomerportalsign-upinvitation-35CAB722-CF57-457E-91E8-3FCDC550AD3A.xaml</XamlFileName>
          <Type>1</Type>
          <Subprocess>0</Subprocess>
          <Category>0</Category>
          <LanguageCode>1049</LanguageCode>
          <Scope>4</Scope>
          <OnDemand>1</OnDemand>
          <TriggerOnCreate>0</TriggerOnCreate>
          <TriggerOnDelete>0</TriggerOnDelete>
          <AsyncAutodelete>0</AsyncAutodelete>
          <IsCustomizable>1</IsCustomizable>
          <PrimaryEntity>Contact</PrimaryEntity>
        </Workflow>

    Wednesday, February 16, 2011 10:23 PM