Web Service could not be resolved

  •  05-06-2008, 9:57 AM

    Web Service could not be resolved

    All-

    I have a workflow process that I have added two web services to using the project references interface. They deployed and worked perfectly until I closed the K2 Designer and opened the project again. How it is as if the web service references are not there. I get the following error when I build the project. 

    "Assembly Reference WorkflowServices could not be resolved. Please ensure the the assembly is registered correctly and exists on disk."

     I have even tried to remove the web service calls from the project references and I get this error.

    System.IO.FileLoadException: The given assembly name or codebase was invalid. (Exception from HRESULT: 0x80131047)
    at System.Reflection.AssemblyName.nInit(Assembly& assembly, Boolean forIntrospection, Boolean raiseResolveEvent)
    at System.Reflection.AssemblyName.nInit()
    at System.Reflection.AssemblyName..ctor(String assemblyName)
    at SourceCode.ProjectSystem.BuildProject.RemoveReference(Reference reference)
    at SourceCode.ProjectSystem.BuildProject.OnAnyItemRemoving(ItemChangeEventArgs e)
    at SourceCode.Framework.PersistableContainerObject.OnItemRemoving(ItemChangeEventArgs e)
    at SourceCode.Framework.PersistableObjectCollectionBase`2.Remove(TItem item)
    at SourceCode.Workflow.Authoring.Process.RemoveReference(Reference reference)
    at SourceCode.Workflow.Authoring.Process.OnAnyItemRemoving(ItemChangeEventArgs e)
    at SourceCode.Framework.PersistableContainerObject.OnItemRemoving(ItemChangeEventArgs e)
    at SourceCode.Framework.PersistableObjectCollectionBase`2.Remove(TItem item)
    at SourceCode.Workflow.Wizards.References.Project.ProjectReferencesPage.RemoveRibbonItem_Click(Object sender, RoutedEventArgs e)

    Any ideas of how to get the K2 Designer to recognize my web service references?

     

    Mike Trouard

View Complete Thread