K2 Deployment error

  • 6 February 2009
  • 3 replies
  • 0 views

Badge +1

any body can tell me the answer for my questions.


 i create a sample application using k2 smartobject and workflow.


create a deployment project and deploy on the server thorugh MSbuild files.


my aspx coding is below


System.workflow.Client.ProcessInstance pi= new createprocessInstance("ProjectnameAVAProcess",5555);


my user is K2:DenallixBob.


error messges is User doesnot have permission to start the process.


 Kindly tell me what can i do.


 


 


3 replies

Badge +6

Hi Ramesh,


I think this problem has occured due to permission level in K2 workspace respect to above mentioned process or Manage-level permission to create a process in k2 workspace itself. Grant this user into K2 workspace. This might resolve this issue.


Best regards


Madhan 


 

Badge +6

Hi Ramesh,


Madhan is right, after a first process deployement you need to give some rights to users for this process.


In the latest K2 blackpearl User guide (0807 version), it exists an article on "how to : Creating a custom MSBuild task to set rights on a process".... it can be usefull to use it to deploy the process and give right using automated deployement (K2 Developer Reference >> Development Techniques > Creating a custom MSBuild task to set rights on a process).


HTH

Badge +1

This is  Impersonate Error for that User.


you can go to set the permission on the web.config files.


<identity Impersonate=true;User=Your Username;Password=Your Password>


 Thanks


Ramesh


 

Reply