The following error show up when I try to setup the workflow that I deploy in SharePoint2007 Enterprice.
The following location is not accessible, because it is in a different site collection:
urn
chemas-microsoft-com
ffice:infopath:AssocForm:-myXSD-2007-10-05T20-34-25 .
I use Vs2008 Beta2
I have the following
.xsn forms
The .xsn forms are created by using InfoPath2007 with Domain security.
The .xsn files are in C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\FEATURES\State Machine Demo\
Features and Workflow XML
the Feature and workflow.xml are in C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\FEATURES\State Machine Demo
Feature.xml
< xml version="1.0" encoding="utf-8" >
<Feature Id="9482df7b-4d35-4700-98ce-277faa758eba"
Title="State_Machine_Demo 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" />
</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>
workflow.xml
< xml version="1.0" encoding="utf-8" >
<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
<Workflow Name="Henry State Machine Workflow."
Description="Simple workflow that creates a review task and waits for the user to complete it."
Id="bfd48191-dd96-4b87-b88c-fc3ac4389dd7"
CodeBesideClass="State_Machine_Demo.DemoWorkflow"
CodeBesideAssembly="State_Machine_Demo, Version=1.0.0.0, Culture=neutral, PublicKeyToken=f5893718340771ab"
TaskListContentTypeId="0x01080100C9C9515DE4E24001905074F980F93160"
AssociationUrl="_layouts/CstWrkflIP.aspx"
InstantiationUrl="_layouts/IniWrkflIP.aspx"
ModificationUrl="_layouts/ModWrkflIP.aspx">
<Categories/>
<!-- Tags to specify InfoPath forms for the workflow; delete tags for forms that you do not have -->
<MetaData>
<Instantiation_FormURN>
urn
chemas-microsoft-com
ffice:infopath:Initform:-myXSD-2007-10-05T20-48-10
</Instantiation_FormURN>
<Association_FormURN>
urn
chemas-microsoft-com
ffice:infopath:AssocForm:-myXSD-2007-10-05T20-34-25
</Association_FormURN>
<Task0_FormURN>
urn
chemas-microsoft-com
ffice:infopath:Initform:-myXSD-2007-10-05T20-48-10
</Task0_FormURN>
<StatusPageUrl>_layouts/WrkStat.aspx</StatusPageUrl>
</MetaData>
</Workflow>
</Elements>