Exception with K2ROM

  • 19 August 2005
  • 3 replies
  • 0 views

Badge +4
Hi all,

When I worked with K2ROM, it raised the following exception:

System.Exception: NT AUTHORITYNETWORK SERVICE does not have permissions to start the process at Client.Throw(String s, Exception e) at Client.InternalCall(UInt32 sock, ArchiveX ar, Int32 hdr) at SourceCode.K2ROM.Connection.CreateProcessInstance(String ProcName, Int32 Version) at SourceCode.K2ROM.Connection.CreateProcessInstance(String ProcName) ...

Can somebody help me? Thanks a lot.

3 replies

Badge +8
It appears that the user credentials are not being passed from your application to K2, since NT AUTHORITYNETWORK SERVICE is attempting to start the process.

Is the K2ROM being called by a web application? In this case, ensure that 'Enable Anonymous access' has been disabled/unticked for the web site, and that the web.config file for the web application contains the following lines, assuming that you are using integrated windows authentication in the client's IE settings:
<identity impersonate="true" />
<authentication mode="Windows" />

If this does not work, can you post more information on your environment (e.g. if you're using a web applicaiton or windows application, whether the K2 server and web server are on different machines etc.)?
Badge +4
Thanks for your help.

It works fine now. Thanks.
Badge +2

This is because of web config settings.


identity impersonate should be "True".

Reply