Skip to main content
1-Visitor
Nov 14, 2016 1:17 PM UTC
Solved

Unable to connect to the existing Creo Parametric process using ProEngineerConnect

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.
skadam-5Answer
1-Visitor
Dec 19, 2016 12:45 PM UTC

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.

5 replies

1-Visitor
Nov 15, 2016 8:52 AM UTC

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?

Translate
skadam-51-VisitorAuthor
1-Visitor
Dec 12, 2016 9:10 AM UTC

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.

Translate
1-Visitor
Dec 12, 2016 1:43 PM UTC

Can you read anything from the trail file?

Translate