none
Erro: Pacote de Gerenciamento - "Falha na verificação XSD" RRS feed

  • Pergunta

  • Estou usando o SCSM 2010 SP1; através do Authoring Tools criei um novo pacote de gerenciamento (MP) que apenas aumenta a altura do campo "Descrição" no formulário de Incidente de "55" para "220". Coloquei uma descrição, salvei e lacrei-o sem problemas.

    Se eu importar o arquivo ".XML" (não lacrado), não posso criar novos modelos de Incidente ou mesmo modificar os que já existem; só se eu excluir o MP, fizer as modificações no sistema, e depois reimportar o ".XML"

    Se eu importar o arquivo ".MP" (lacrado), aparece a mesma mensagem de erro se eu tentar criar ou modificar um modelo de Incidente:

    Já abri o arquivo ".XML" no Bloco de Notas, mas a linha 0 posição 0 está idêntica a outros MPs que tenho funcionando perfeitamente. Alguém pode me ajudar? Agradeço desde já :-)

    <ManagementPack ContentReadable="true" SchemaVersion="1.1" OriginalSchemaVersion="1.1" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <Manifest>
        <Identity>
          <ID>MP_PSUAPE_04.00</ID>
          <Version>1.0.0.2</Version>
        </Identity>
        <Name>MP_PSUAPE_04.00</Name>
        <References>
          <Reference Alias="System">
            <ID>System.Library</ID>
            <Version>7.0.6555.0</Version>
            <PublicKeyToken>31bf3856ad364e35</PublicKeyToken>
          </Reference>
          <Reference Alias="Console">
            <ID>Microsoft.EnterpriseManagement.ServiceManager.UI.Console</ID>
            <Version>7.0.6555.0</Version>
            <PublicKeyToken>31bf3856ad364e35</PublicKeyToken>
          </Reference>
          <Reference Alias="Alias_673cd341_3786_434b_be10_0c3b1f6182f1">
            <ID>ServiceManager.IncidentManagement.Library</ID>
            <Version>7.0.6555.0</Version>
            <PublicKeyToken>31bf3856ad364e35</PublicKeyToken>
          </Reference>
          <Reference Alias="Alias_9c30bc7b_b088_4b1e_9b79_fefba3acaf12">
            <ID>System.WorkItem.Incident.Library</ID>
            <Version>7.0.6555.0</Version>
            <PublicKeyToken>31bf3856ad364e35</PublicKeyToken>
          </Reference>
          <Reference Alias="Alias_22310c98_ec7f_4b1c_8fb5_1a0cec2a67eb">
            <ID>System.WorkItem.Library</ID>
            <Version>7.0.6555.0</Version>
            <PublicKeyToken>31bf3856ad364e35</PublicKeyToken>
          </Reference>
          <Reference Alias="Alias_93d05dc1_e5e9_44e0_862b_780e4cfef8f8">
            <ID>System.WorkItem.Activity.Library</ID>
            <Version>7.0.6555.0</Version>
            <PublicKeyToken>31bf3856ad364e35</PublicKeyToken>
          </Reference>
          <Reference Alias="Alias_a283681b_e9df_45f9_ad74_d5bd71621e1a">
            <ID>System.Knowledge.Library</ID>
            <Version>7.0.6555.0</Version>
            <PublicKeyToken>31bf3856ad364e35</PublicKeyToken>
          </Reference>
          <Reference Alias="Alias_0bf91b55_a8a8_44e4_81f5_bf302293a96f">
            <ID>System.SupportingItem.Library</ID>
            <Version>7.0.6555.0</Version>
            <PublicKeyToken>31bf3856ad364e35</PublicKeyToken>
          </Reference>
        </References>
      </Manifest>
      <TypeDefinitions>
        <EntityTypes>
          <TypeProjections>
            <TypeProjection ID="CustomForm_b582b387_6e09_46b6_80bc_70f35784b249_TypeProjection" Accessibility="Public" Type="Alias_9c30bc7b_b088_4b1e_9b79_fefba3acaf12!System.WorkItem.Incident">
              <Component Path="$Context/Path[Relationship='Alias_9c30bc7b_b088_4b1e_9b79_fefba3acaf12!System.WorkItem.IncidentPrimaryOwner']$" Alias="PrimaryOwner" />
              <Component Path="$Context/Path[Relationship='Alias_22310c98_ec7f_4b1c_8fb5_1a0cec2a67eb!System.WorkItemAffectedUser']$" Alias="AffectedUser" />
              <Component Path="$Context/Path[Relationship='Alias_22310c98_ec7f_4b1c_8fb5_1a0cec2a67eb!System.WorkItemAssignedToUser']$" Alias="AssignedUser" />
              <Component Path="$Context/Path[Relationship='Alias_22310c98_ec7f_4b1c_8fb5_1a0cec2a67eb!System.WorkItemCreatedByUser']$" Alias="CreatedByUser" />
              <Component Path="$Context/Path[Relationship='Alias_22310c98_ec7f_4b1c_8fb5_1a0cec2a67eb!System.WorkItem.TroubleTicketClosedByUser']$" Alias="ClosedByUser" />
              <Component Path="$Context/Path[Relationship='Alias_22310c98_ec7f_4b1c_8fb5_1a0cec2a67eb!System.WorkItem.TroubleTicketResolvedByUser']$" Alias="ResolvedByUser" />
              <Component Path="$Context/Path[Relationship='Alias_22310c98_ec7f_4b1c_8fb5_1a0cec2a67eb!System.WorkItem.TroubleTicketHasActionLog']$" Alias="ActionLogs" />
              <Component Path="$Context/Path[Relationship='Alias_22310c98_ec7f_4b1c_8fb5_1a0cec2a67eb!System.WorkItem.TroubleTicketHasUserComment']$" Alias="UserComments" />
              <Component Path="$Context/Path[Relationship='Alias_22310c98_ec7f_4b1c_8fb5_1a0cec2a67eb!System.WorkItem.TroubleTicketHasAnalystComment']$" Alias="AnalystComments" />
              <Component Path="$Context/Path[Relationship='Alias_22310c98_ec7f_4b1c_8fb5_1a0cec2a67eb!System.WorkItem.TroubleTicketHasNotificationLog' TypeConstraint='Alias_22310c98_ec7f_4b1c_8fb5_1a0cec2a67eb!System.WorkItem.TroubleTicket.SmtpNotificationLog']$" Alias="SMTPNotifications" />
              <Component Path="$Context/Path[Relationship='Alias_93d05dc1_e5e9_44e0_862b_780e4cfef8f8!System.WorkItemContainsActivity' TypeConstraint='Alias_93d05dc1_e5e9_44e0_862b_780e4cfef8f8!System.WorkItem.Activity.ManualActivity']$" Alias="Activities">
                <Component Path="$Context/Path[Relationship='Alias_93d05dc1_e5e9_44e0_862b_780e4cfef8f8!System.WorkItemContainsActivity' SeedRole='Target']$" Alias="ParentWorkItem" />
                <Component Path="$Context/Path[Relationship='Alias_22310c98_ec7f_4b1c_8fb5_1a0cec2a67eb!System.WorkItemCreatedByUser']$" Alias="ActivityCreatedBy" />
                <Component Path="$Context/Path[Relationship='Alias_22310c98_ec7f_4b1c_8fb5_1a0cec2a67eb!System.WorkItemAssignedToUser']$" Alias="ActivityAssignedTo" />
                <Component Path="$Context/Path[Relationship='Alias_22310c98_ec7f_4b1c_8fb5_1a0cec2a67eb!System.WorkItemAboutConfigItem']$" Alias="ActivityAboutConfigItem" />
              </Component>
              <Component Path="$Context/Path[Relationship='Alias_22310c98_ec7f_4b1c_8fb5_1a0cec2a67eb!System.WorkItemRelatesToWorkItem']$" Alias="RelatedWorkItems">
                <Component Path="$Context/Path[Relationship='Alias_22310c98_ec7f_4b1c_8fb5_1a0cec2a67eb!System.WorkItemAffectedUser']$" Alias="RWIAffectedUser" />
                <Component Path="$Context/Path[Relationship='Alias_22310c98_ec7f_4b1c_8fb5_1a0cec2a67eb!System.WorkItemAssignedToUser']$" Alias="RWIAssignedUser" />
              </Component>
              <Component Path="$Context/Path[Relationship='Alias_22310c98_ec7f_4b1c_8fb5_1a0cec2a67eb!System.WorkItemRelatesToWorkItem' SeedRole='Target']$" Alias="RelatedWorkItemsSource">
                <Component Path="$Context/Path[Relationship='Alias_22310c98_ec7f_4b1c_8fb5_1a0cec2a67eb!System.WorkItemAffectedUser']$" Alias="RWIAffectedUser" />
                <Component Path="$Context/Path[Relationship='Alias_22310c98_ec7f_4b1c_8fb5_1a0cec2a67eb!System.WorkItemAssignedToUser']$" Alias="RWIAssignedUser" />
              </Component>
              <Component Path="$Context/Path[Relationship='Alias_22310c98_ec7f_4b1c_8fb5_1a0cec2a67eb!System.WorkItemAboutConfigItem']$" Alias="AffectedConfigItems" />
              <Component Path="$Context/Path[Relationship='Alias_22310c98_ec7f_4b1c_8fb5_1a0cec2a67eb!System.WorkItemRelatesToConfigItem']$" Alias="RelatedConfigItems" />
              <Component Path="$Context/Path[Relationship='Alias_22310c98_ec7f_4b1c_8fb5_1a0cec2a67eb!System.WorkItemAboutConfigItem' TypeConstraint='System!System.Service']$" Alias="RelatedServiceRequests" />
              <Component Path="$Context/Path[Relationship='Alias_a283681b_e9df_45f9_ad74_d5bd71621e1a!System.EntityLinksToKnowledgeDocument']$" Alias="RelatedKnowledgeArticles" />
              <Component Path="$Context/Path[Relationship='Alias_22310c98_ec7f_4b1c_8fb5_1a0cec2a67eb!System.WorkItemHasFileAttachment']$" Alias="FileAttachments">
                <Component Path="$Context/Path[Relationship='Alias_0bf91b55_a8a8_44e4_81f5_bf302293a96f!System.FileAttachmentAddedByUser']$" Alias="FileAttachmentAddedBy" />
              </Component>
            </TypeProjection>
          </TypeProjections>
        </EntityTypes>
      </TypeDefinitions>
      <Categories>
        <Category ID="MP_PSUAPE_04.00.Category" Value="Console!Microsoft.EnterpriseManagement.ServiceManager.ManagementPack">
          <ManagementPackName>MP_PSUAPE_04.00</ManagementPackName>
          <ManagementPackVersion>1.0.0.0</ManagementPackVersion>
        </Category>
      </Categories>
      <Presentation>
        <Forms>
          <Form ID="CustomForm_b582b387_6e09_46b6_80bc_70f35784b249" Accessibility="Public" Target="CustomForm_b582b387_6e09_46b6_80bc_70f35784b249_TypeProjection" BaseForm="Alias_673cd341_3786_434b_be10_0c3b1f6182f1!System.WorkItem.Incident.ConsoleForm" TypeName="Microsoft.EnterpriseManagement.ServiceManager.Incident.Forms.IncidentFormControl">
            <Category>Form</Category>
            <Customization>
              <PropertyChange Object="IncidentDescription" Property="MinHeight">
                <NewValue>200</NewValue>
              </PropertyChange>
              <PropertyChange Object="IncidentDescription" Property="Height">
                <NewValue>200</NewValue>
              </PropertyChange>
            </Customization>
          </Form>
        </Forms>
      </Presentation>
      <LanguagePacks>
        <LanguagePack ID="ENU" IsDefault="true">
          <DisplayStrings>
            <DisplayString ElementID="MP_PSUAPE_04.00">
              <Name>MP_PSUAPE_04.00</Name>
              <Description>MP criado  para alteração do layout do formulário de Incidentes</Description>
            </DisplayString>
            <DisplayString ElementID="CustomForm_b582b387_6e09_46b6_80bc_70f35784b249">
              <Name>System.WorkItem.Incident.ConsoleForm  (Customized)</Name>
              <Description>System.WorkItem.Incident.ConsoleForm  (Customized)</Description>
            </DisplayString>
          </DisplayStrings>
        </LanguagePack>
      </LanguagePacks>
    </ManagementPack>
    sexta-feira, 10 de agosto de 2012 17:24

Todas as Respostas

  • Ola Paulo..

    Na opção Show ou Mostre.. o que tem???

    Vc tem outro MP customizado?

    []'s


    || Aurélio Alves || - http://aurelioalves.wordpress.com

    segunda-feira, 3 de setembro de 2012 13:26
  • Olá Aurélio!

    Consegui descobrir a causa do problema: é que no meu ambiente de teste eu não havia aplicado o CU2 e o CU3, ao contrário do que eu já havia feito no ambiente de produção. Depois disto a solução funcionou perfeitamente :-)

    Obrigado pela ajuda, mais uma vez!

    • Sugerido como Resposta Aurélio Alves terça-feira, 11 de setembro de 2012 20:50
    segunda-feira, 10 de setembro de 2012 19:53