Hello
Whats the security Level Set to the form? If it is Restricted, Managed Code
Doesnt Work

Signature
Kalyan Reddy
Visit http://www.autonomysystems.com
> Hi:
>
[quoted text clipped - 17 lines]
>
> |1
Edson - 15 Feb 2007 21:20 GMT
Hi, thanks for writting back
My form has "Full trust" in the security level
In fact, i developed another infopath form that also uses manage code and
works well, but it is not a part of a WF.
The way in witch im publishing the form the form that works well is using
the "Share point central administraticion".
And the way in witch i'm publishing the form that do not work well is using
an script that activate the custom worflow that i developed as well as the
forms that is uses for the taks generated.
Here is a scratch of the script that publishes the infopath form, that i'm
having problems with:
copy /Y feature.xml "%CommonProgramFiles%\Microsoft Shared\web server
extensions\12\TEMPLATE\FEATURES\SEMARNATSPWorkflowLibrary\"
copy /Y workflow.xml "%CommonProgramFiles%\Microsoft Shared\web server
extensions\12\TEMPLATE\FEATURES\SEMARNATSPWorkflowLibrary\"
xcopy /s /Y Forms\*.xsn "%programfiles%\Common Files\Microsoft Shared\web
server extensions\12\TEMPLATE\FEATURES\SEMARNATSPWorkflowLibrary\Forms\"
here is an part of the "Workflow.xml"
<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
<Workflow
Name="Autorización de servicios informáticos"
Description="Autorización de servicios para el SASI"
Id="{B34A24A5-D37D-4531-AB63-8E9EEED6BB00}"
CodeBesideClass="SEMARNATSPWorkflowLibrary.Workflow1"
CodeBesideAssembly="SEMARNATSPWorkflowLibrary, Version=3.0.0.0,
Culture=neutral, PublicKeyToken=b7c30ecdaa094b6a"
TaskListContentTypeId="0x01080100C9C9515DE4E24001905074F980F93160"
AssociationUrl="_layouts/CstWrkflIP.aspx"
>
<Categories/>
<MetaData>
<!-- Tags to specify InfoPath forms for the workflow; delete tags for
forms that you do not have -->
<Association_FormURN>urn:schemas-microsoft-com:office:infopath:AssociationSABIForm:-myXSD-2006-12-02T20-02-04</Association_FormURN>
<Task0_FormURN>urn:schemas-microsoft-com:office:infopath:SolicitudesSASITitularForm:-myXSD-2006-11-26T15-31-27</Task0_FormURN>
<Task1_FormURN>urn:schemas-microsoft-com:office:infopath:SolicitudesSASIResponsableForm:-myXSD-2006-11-26T15-31-27</Task1_FormURN>
<StatusPageUrl>_layouts/WrkStat.aspx</StatusPageUrl>
</MetaData>
</Workflow>
</Elements>

Signature
MSD
> Hello
>
[quoted text clipped - 22 lines]
> >
> > |1