Skip to main content
Nintex Community Menu Bar

K2 Deployment error

  • February 6, 2009
  • 3 replies
  • 18 views

Forum|alt.badge.img+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

Forum|alt.badge.img+6
  • February 6, 2009

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 


 


Forum|alt.badge.img+6
  • February 9, 2009

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


Forum|alt.badge.img+1
  • Author
  • Nintex Partner
  • February 18, 2009

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