Developing custom MOSS 2007 Sharepoint Workflows on a remote Workstation


Today I tried to do some Workflow Development for MOSS 2007 on my Vista machine (Workstation). After loading a sample Project I encountered the following Error in the Workflow Designer in Visual Studio:


Could not load file or assembly 'Microsoft.SharePoint.WorkflowActions.intl, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' or one of its dependencies. The system cannot find the file specified. 


 This DLL is located in the GAC on a MOSS Server 2007 Installation (Server or VPC). So in order to do the Developpment on a Workstation you have to copy two DLLs from your MOSS 2007 Server to your Workstation and add them to the GAC there. The only waay to copy the DLLs out of the GADC is by using the command line here is an example how to do this:


> cd \WINDOWS\assembly\GAC_MSIL\Microsoft.SharePoint.WorkflowActions.intl\12.0.0.0__71e9bce111e9429c     
> copy microsoft.sharepoint.WorkflowActions.intl.dll c:\     
> cd \WINDOWS\assembly\GAC_MSIL\Microsoft.SharePoint.WorkflowActions.intl.resources\12.0.0.0__71e9bce111e9429c
> copy microsoft.SharePoint.workflowactions.intl.resources.dll c:\


 !! Absolutely no warranties, use at your own risk !!





That’s it! Hope this procedure is helpful to others, who want to develop Workflows for MOSS 2007 now with Visual Studio 2005 or 2008 on a Workstation.


Best Regards Martin

Comments (3)
  1. venkriss says:

    Hmm,

    So I copied all the dlls from SP server to my devbox (Vista, VS2008,no sharepoint or WSS installed).

    When I try to create sequential workflow project using VS2005 I always get two errors.

    1. Object reference not found

    2. The sharepoint site location entered is not valid "in what local site do you want to use for debugging" textbox ( I know this is a valid server and I can access the URL from IE without any issues).

    Can you point me in right direction on what might be going on here?

    Is it not possible to create VS 2008 Sharepoint workflow projects without installing WSS or MOSS on the dev box ( This is that last last option I would go for as all our MOSS dev servers are VPCs)

  2. Vollmix says:

    For Sharepoint Workflow Development on your Workstation you need additional DLLs. Look at my additional posting:

    http://blogs.msdn.com/martinv/archive/2008/01/21/developing-custom-moss-2007-sharepoint-workflows-on-a-remote-workstation.aspx

    Hope this helps!

    Martin

Comments are closed.

Skip to main content