Hi,

I developed a workflow using WF and have some problem on deployment. If I
install the assembly in GAC it works fine, but now I want to use custom
policy, so I copy the assembly into the virtual server Bin folder, create a
custom policy based on WSS_Medium template, and then modify web.config
accordingly; but it doesn't work and failed in the workflow initialization
page.

The same method works for web part, but not workflow! I set almost all the
permission to be Unrestricted but still doesn't work. I'm pretty sure its
related to the security, as if I change trust level to Full in web.config
file, it works immediately.

Does anydoby know what went wrong? Is it possible to deploy custom workflow
assembly to application Bin folder without Full trust enabled?

thanks in advance.

Re: custom workflow deployment by Daniel

Daniel
Sun Dec 16 05:57:00 PST 2007

The assamly must be deployed to the GAC and have a strong name.

/Daniel Bugday
http://www.sharepointforum.com/
http://www.sharepointforum.com/en-US/Blog/

"Sheila" <Sheila@discussions.microsoft.com> wrote in message
news:876E1394-2337-4539-8320-83B78669ACE3@microsoft.com...
> Hi,
>
> I developed a workflow using WF and have some problem on deployment. If I
> install the assembly in GAC it works fine, but now I want to use custom
> policy, so I copy the assembly into the virtual server Bin folder, create
> a
> custom policy based on WSS_Medium template, and then modify web.config
> accordingly; but it doesn't work and failed in the workflow initialization
> page.
>
> The same method works for web part, but not workflow! I set almost all the
> permission to be Unrestricted but still doesn't work. I'm pretty sure its
> related to the security, as if I change trust level to Full in web.config
> file, it works immediately.
>
> Does anydoby know what went wrong? Is it possible to deploy custom
> workflow
> assembly to application Bin folder without Full trust enabled?
>
> thanks in advance.
>