MOSS Code Access Security

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



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? As the workflow pages are in the _Layouts
folder, is there any special rights or configuration required?

thanks in advance.
.



Relevant Pages

  • Re: sharepoint designer workflow assembly error
    ... SharePoint Developer B2TR and and ASP.NET 3.0 Framework with no luck. ... I have sharepoint 2007 in a Windows server machine, ... Im trying to build a workflow from the designer on my site, ... Ive looked in the GAC and the dll for the workflowactions is there, ...
    (microsoft.public.sharepoint.portalserver)
  • Re: custom workflow deployment
    ... The assamly must be deployed to the GAC and have a strong name. ... I developed a workflow using WF and have some problem on deployment. ... install the assembly in GAC it works fine, but now I want to use custom ...
    (microsoft.public.sharepoint.portalserver)
  • Re: Error starting custom workflow
    ... Load Workflow Assembly: System.IO.FileNotFoundException: Could not load file ... The assembly is deployed to the GAC, so Im not sure how it can not see it (I ... version, token, etc, in a local dll, the problem may lie with a ... Are all assemblies referenced in your ...
    (microsoft.public.sharepoint.portalserver)