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

Community Tip - You can Bookmark boards, posts or articles that you'd like to access again easily! X

Getting XToolkitGeneralError when creating new connection with VB API

MV_8740907
4-Participant

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.
1 ACCEPTED SOLUTION

Accepted Solutions
MV_8740907
4-Participant
(To:MV_8740907)

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

MV_8740907
4-Participant
(To:VladimirN)

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

MV_8740907
4-Participant
(To:MV_8740907)

The error has gone away as misteriously as it came.

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

Top Tags