Error while deploying K2 Process

Last post 05-22-2008, 10:30 AM by lotus22. 14 replies.
Sort Posts: Previous Next
  •  05-08-2008, 11:24 AM 23713

    Error while deploying K2 Process

    I am getting following error while deploying K2 Process.

     Error 12 The request failed with HTTP status 401: Unauthorized.

    I have full access for K2 Service Account, my account, and the admin account for Sharepoitn Site.

    Any help would be grately appreciated

  •  05-08-2008, 3:06 PM 23725 in reply to 23713

    Re: Error while deploying K2 Process

    Is this your first process your are trying to deploy?, what is your server authentication i.e. kerberos, NTML. Did you try to run k2 service in console mode and tried to find out exactly where it fails
  •  05-08-2008, 3:32 PM 23728 in reply to 23713

    Re: Error while deploying K2 Process

    It only happens if I do it from Vista. It works fine on XP machine.
  •  05-09-2008, 10:10 AM 23738 in reply to 23728

    Re: Error while deploying K2 Process

    Hey Lotus, Appreciate if you could share how the problem was fixed..
  •  05-09-2008, 11:39 AM 23740 in reply to 23738

    Re: Error while deploying K2 Process

    I uninstalled Vista and installed XP...same problem :-(

    The deploying works if you use the same machine where I originally deplouyed project.

    If I copy the same project and solution to another machine then I get 401 access denied error while deploying.  it doesn't matter whether it is Vista or XP.

    Anyone has any idea why this happens when you move the project and solution to another machine, it gives you access denied (401)?

     Thank you

  •  05-09-2008, 11:52 AM 23741 in reply to 23740

    Re: Error while deploying K2 Process

    Hey Lotus what is your server authentication i.e. kerberos, NTML. Run K2 server in console moder, that is the fastest way to debug at this level. Once you have k2 server in console mode, try to deploy the process. Do note down the errors it is generating. Print screen and please upload it with your post,
  •  05-09-2008, 2:31 PM 23747 in reply to 23741

    Re: Error while deploying K2 Process

    Attachment: Capture_01.zip
    Here are before and after pictures of K2 Server Console...(after deploying the process and getting 401 error)
  •  05-09-2008, 5:27 PM 23752 in reply to 23747

    Re: Error while deploying K2 Process

    Lotus,

    Is your dev machine separate from K2 server box? And is the process you tried to deploy a SharePoint integrated process or InfoPath integrated?

    In case yours is a distributed environment, on your dev machine, please try to add other servers to the trusted sites as follows:

    1. From IE > Tools > Internet Options

    2. Go to tab Security, select Trusted Sites and click button Sites

    3. Add http://<servername> for each server box that is involved and press OK


    HTH,
    Frank

    The statements and opinions made in my postings are my own, and do not reflect the opinions of SourceCode Technology Holdings, Inc. or its subsidiaries. All information is provided as is with no warranties, express or implied, and grants no rights or licenses.
  •  05-14-2008, 4:04 PM 23803 in reply to 23752

    Re: Error while deploying K2 Process

    Yes my dev box is separate from K2 Server box.

    Infopath integrated process.

    The deploying works from my old workstation.  I received a new workstation and copied the solution to this workstation.  I cannot deply from the new workstation.

    I also added my server http://roc-sp:8081 in trusted site.

     Thank you

  •  05-16-2008, 10:34 AM 23843 in reply to 23803

    Re: Error while deploying K2 Process

    Please open a support ticket on this issue.


    HTH,
    Frank

    The statements and opinions made in my postings are my own, and do not reflect the opinions of SourceCode Technology Holdings, Inc. or its subsidiaries. All information is provided as is with no warranties, express or implied, and grants no rights or licenses.
  •  05-16-2008, 1:40 PM 23848 in reply to 23843

    • ccalcut is not online. Last active: 10-06-2008, 1:23 PM ccalcut
    • Top 75 Contributor
    • Joined on 08-21-2007
    • Bellevue, Washington, USA
    • Posts 62
    • Points 196

    Re: Error while deploying K2 Process

    I ran into this problem also. You have to make sure that the DTC services are running on the client machine and the K2 Server. I also did it on SQL since that is a different server, but am unaware if that really needed it. You then have to make the DTC settings match this on the K2 Server:

    DTC

    To get to the DTC settings go to Administrative Tools and Component Services. Expand the elipse and right click on My Computer.

    My Computer

    Then click on the Security Configuration button.

    Security

    Give that a try.


    - Cory C
  •  05-16-2008, 2:03 PM 23849 in reply to 23803

    Re: Error while deploying K2 Process

    Hi,

    Although your process is using an Infopath integration, the forms are being deployed to a Sharepoint form library right?

    If so, does the user account that is deploying the process in the workstation belong to the site collection owners group as well as owners group of the actual site where the form library resides? As the forms are being added to the form lib in deploy time, that user account must have full control permissions on related moss sites...

    This is a common error situation, where you get a 401 error in VS without any meaningful output in K2 console.

    Don't know if it helps, but its another idea!

    cheers 

  •  05-19-2008, 2:42 PM 23887 in reply to 23803

    Re: Error while deploying K2 Process

    lotus22:

    Yes my dev box is separate from K2 Server box.

    Infopath integrated process.

    The deploying works from my old workstation.  I received a new workstation and copied the solution to this workstation.  I cannot deply from the new workstation.

    I also added my server http://roc-sp:8081 in trusted site.

     Thank you

    • Are you deploying from Visual Studio?
    • Did you install k2 on your new workstation?
    • Is the workstation pointed at the right K2 server?
    • Were there any errors/issues when you ran the install?
    • Is your workstation registered in the same domain as your process server?

    It sounds like you're trying to deploy to K2 server from your workstation through Visual Studio, but I didn't see a confirmation anywhere in this thread that you verified performing this step...


    Lucas Vogel
    Senior Managing Consultant
    Endpoint Systems
    http://endpoint-systems.net
  •  05-20-2008, 8:29 AM 23912 in reply to 23887

    Re: Error while deploying K2 Process

  • Are you deploying from Visual Studio?  YES
  • Did you install k2 on your new workstation?  YES
  • Is the workstation pointed at the right K2 server? YES
  • Were there any errors/issues when you ran the install? NO
  • Is your workstation registered in the same domain as your process server? YES
  • Yes, the account is in the collection server as well.  Like I said, it works on another workstation where I originally created the workflow but not on new workstation.  I copied the whole directory of projects to new computer and ran the solution of it.  let me know if this helps.

     Thanks

  •  05-22-2008, 10:30 AM 23977 in reply to 23912

    Re: Error while deploying K2 Process - NEED HELPPPP

    Guys, any help with this?

     I cannot use K2 if the deployment works from one computer and not from other.  What if this other computer goes bad and how do I recover my workflow that I have spent days on?

     Basically, it works on one computer and not on other.  I copied the project from Windows explorer and copied to network drive and opened in another computer.  Do I need to export the project instead, if yes then how?

     I have tried everything that was mentioned in this thread but not a lucky.  I am kind of desperate to get this fixed.

     any help is greatlyyyyy appreciated.

View as RSS news feed in XML