cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - If community subscription notifications are filling up your inbox you can set up a daily digest and get all your notifications in a single email. X

Getting XToolkitGeneralError when creating new connection with VB API

MV_8740907
7-Bedrock

Getting XToolkitGeneralError when creating new connection with VB API

I am using Creo Parametric - Release 6.0 (connected) 6.0 6.0.4.0

Getting XToolkitGeneralError when doing asyncConnection = (New CCpfcAsyncConnection).Start(startArgs, ".").

Already made sure the env vars are set as follows :
PROE_INSTALL_PATH=C:\PROGRA~1\PTC\CREO50~1.0\PARAME~1
PRO_COMM_MSG_EXE=C:\PROGRA~1\PTC\CREO50~1.0\COMMON~1\X86E_W~1\obj\pro_comm_msg.exe
PRO_DIRECTORY:\PROGRA~1\PTC\CREO50~1.0\COMMON~1
PTCNMSPORT=11239

Also deleted the following reg entries so they would get reconstructed:
a) HKEY_CURRENT_USER\Software\PTC\pmap_mutex_list
b) HKEY_CURRENT_USER\Software\PTC\volatile_portmap



Here are the errors that I faced
XToolkitGeneralError, Im also getting "Creo Agent is not available : CREO Agent did not initialize correctly" when launching CREO itself, not sure if its related.
ACCEPTED SOLUTION

Accepted Solutions

The error has gone away as misteriously as it came.

I will close this as I have now different issues that also need resolution!

View solution in original post

3 REPLIES 3

Read this article - "Error: pfcExceptions::XToolkitGeneralError received while trying to start or connect to a Creo Parametric session through VB API application": https://www.ptc.com/en/support/article/CS46034

Thank you for pointing it out, but the resolution indicated on this article I had already implemented without success (see above).

The error has gone away as misteriously as it came.

I will close this as I have now different issues that also need resolution!

Announcements


Top Tags