Type: InfoPathLocalizedException, Exception Message: The specified form cannot be found - InfoPath Dev
in

InfoPath Dev

Use our Google Custom Search for best site search results.

Type: InfoPathLocalizedException, Exception Message: The specified form cannot be found

Last post 07-30-2008 06:22 AM by s42bm. 0 replies.
Page 1 of 1 (1 items)
Sort Posts: Previous Next
  • 07-30-2008 06:22 AM

    • s42bm
    • Top 500 Contributor
    • Joined on 04-21-2008
    • Posts 32

    Type: InfoPathLocalizedException, Exception Message: The specified form cannot be found

     Hi Everyone,

    I have created two InfoPath forms. The first one was published to a form library on the server, and the second one was published to the host application, which was a simple state machine workflow built in VS 2008, as the task form. When I tried to open the task form from the task list, I got the error like "Type: InfoPathLocalizedException, Exception Message: The specified form cannot be found" in the Log file.

    The form was in the feature folder and the feature was activated. The workflow.xml, feature.xml and the error message are copied below:

     workflow.xml

    <?xml version="1.0" encoding="utf-8" ?>

    <!-- Customize the text in square brackets.
    Remove brackets when filling in, e.g.
    Name="[NAME]" ==> Name="MyWorkflow" -->

    <Elements xmlns="http://schemas.microsoft.com/sharepoint/">
      <Workflow
         Name="SimpleStateMachineWF"
         Description="My SharePoint Workflow"
         Id="d893aabf-50d1-494d-ab56-44a6c06a0e0f"
         CodeBesideClass="SimpleStateMachineWF.Workflow1"
         CodeBesideAssembly="SimpleStateMachineWF, Version=1.0.0.0, Culture=neutral, PublicKeyToken=e941aaf5cdf89153"
         TaskListContentTypeId="0x01080100C9C9515DE4E24001905074F980F93160">
        <Categories/>
        <MetaData>
          <!-- Tags to specify InfoPath forms for the workflow; delete tags for forms that you do not have -->
          <!--<Association_FormURN>[URN FOR ASSOCIATION FORM]</Association_FormURN>
           <Instantiation_FormURN>[URN FOR INSTANTIATION FORM]</Instantiation_FormURN>
          <Task0_FormURN>[URN FOR TASK (type 0) FORM]</Task0_FormURN>
          <Task1_FormURN>[URN FOR TASK (type 1) FORM]</Task1_FormURN>-->
          <!-- Modification forms: create a unique guid for each modification form -->
          <!--<Modification_[UNIQUE GUID]_FormURN>[URN FOR MODIFICATION FORM]</Modification_[UNIQUE GUID]_FormURN>
          <Modification_[UNIQUE GUID]_Name>[NAME OF MODIFICATION TO BE DISPLAYED AS A LINK ON WORKFLOW STATUS PAGE</Modification_[UNIQUE GUID]_Name>
          -->
          <Task1_FormURN>urn:schemas-microsoft-com:office:infopath:CMSTask:-myXSD-2008-07-16T18-14-19</Task1_FormURN>
          <!--<StatusPageUrl>_layouts/WrkStat.aspx</StatusPageUrl>-->
        </MetaData>
      </Workflow>
    </Elements>
     

     feature.xml

     

    <?xml version="1.0" encoding="utf-8" ?>

    <Feature  Id="91786d77-82e0-4d1e-b9f9-dc10b1bc0424"
          Title="SimpleStateMachineWF feature"
          Description="My SharePoint Workflow Feature"
          Version="12.0.0.0"
          Scope="Site"
          ReceiverAssembly="Microsoft.Office.Workflow.Feature, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"
          ReceiverClass="Microsoft.Office.Workflow.Feature.WorkflowFeatureReceiver"
          xmlns="http://schemas.microsoft.com/sharepoint/">
      <ElementManifests>
        <ElementManifest Location="workflow.xml" />
        <ElementFile Location="CMSTaskForm.xsn" />
      </ElementManifests>
      <Properties>
        <Property Key="GloballyAvailable" Value="true" />

        <!-- Value for RegisterForms key indicates the path to the forms relative to feature file location -->
        <!-- if you don't have forms, use *.xsn -->
        <Property Key="RegisterForms" Value="*.xsn" />
      </Properties>
    </Feature>
     

    Exception occurred during request processing. (User: ***\***, Form Name: , IP: , Request: http://psshpointest:18320/_layouts/WrkTaskIP.aspx?List=8d615084-fa01-4b54-881c-863992eaabea&ID=16&Source=http://psshpointest:18320/sites/projects/_layouts/WrkStat.aspx?List=%257b5949D82D%252d962E%252d4E56%252d93DD%252d9CE0CA42EDDF%257d&WorkflowInstanceID=%257b5832A845%252dF9C5%252d490E%252dB44E%252dE7AC8A8EFB8A%257d, Form ID: , Type: InfoPathLocalizedException, Exception Message: The specified form cannot be found.)

     

    Thanks!

Page 1 of 1 (1 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.