UriFormatException when deploying from K2 Studio

  •  11-17-2008, 7:03 PM

    UriFormatException when deploying from K2 Studio

    I have deployed a K2 project for development successfuly.  When I moved the project files across to test box and deploy it from the K2 studio in the test box, I got the error below. It was deployed successfully if I did it from the K2 Studio in dev box by changing the environment fields. However, I can't deploy the project from the same box all the time.

     1 Error(s)

    Task Error: System.UriFormatException: Invalid URI: The URI is empty.

       at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind)

       at System.Uri..ctor(String uriString)

       at SourceCode.Workflow.Common.Authentication.ADCredentials.AddCredentials(CredentialCache currentCache, NetworkCredential newCredentials, String serverUrl)

       at SourceCode.Workflow.Common.Authentication.ADCredentials.GetCredentials(String serverUrl)

       at SourceCode.DeploymentTasks.SharePoint.WorkflowIntegration.WorkflowIntegrationTask.UpdateWorkflowIntegration()

       at SourceCode.DeploymentTasks.SharePoint.WorkflowIntegration.WorkflowIntegrationTask.Execute()

View Complete Thread