Skip to main content
1-Visitor
November 14, 2016
Solved

Unable to connect to the existing Creo Parametric process using ProEngineerConnect

  • November 14, 2016
  • 1 reply
  • 3050 views

I am running asynchronous application in batch process mode.

When I try to connect the application with the existing creo session using ProEngineerConnect, it is returning error PRO_TK_CANT_MODIFY.

I have set the environment variable PRO_COMM_MSG_EXE also.


This thread is inactive and closed by the PTC Community Management Team. If you would like to provide a reply and re-open this thread, please notify the moderator and reference the thread. You may also use "Start a topic" button to ask a new question. Please be sure to include what version of the PTC product you are using so another community member knowledgeable about your version may be able to assist.
Best answer by skadam-5

Including the file name in the variable, made it to connect.

Earlier I used only the path of the exe. But now I am using the full path with the exe name also.

Thanks Tomas for the help.

1 reply

1-Visitor
November 15, 2016

How did you set the PRO_COMM_MSG_EXE variable? Is it set correctly?

Is nmsd.exe process running? Can you read anything from the trail file?

skadam-51-VisitorAuthor
1-Visitor
December 12, 2016

I have set the PRO_COMM_MSG_EXE as a system variable.

From cmd it is able to get its value.

Also nmsd.exe and pro_comm_msg.exe processes are running.

API returns 'PRO_TK_CANT_MODIFY'.

I have tried by disable firewall settings also.

1-Visitor
December 12, 2016

Can you read anything from the trail file?