Skip to main content
10-Marble
Aug 25, 2021 11:47 AM UTC
Question

Exception at connecting to CREO Session

Hi there,

My java application is working perfectly on one computer, but for some reason it isn't working at another workstation.
I have installed the OTK for java and set environment variables properly.
But in my code, I get an exception on connecting to creo,
com.ptc.pfc.Implementation.pfcExceptions$XToolkitCantModify at com.ptc.pfc.pfcAsyncConnection.pfcAsyncConnection.AsyncConnection_Connect(Native Method)

Any idea what might be the problem here?

Thanks,
Hamza

3 replies

24-Ruby III
Aug 26, 2021 8:54 AM UTC

@hamzawaseem wrote:

Hi there,

My java application is working perfectly on one computer, but for some reason it isn't working at another workstation.
I have installed the OTK for java and set environment variables properly.
But in my code, I get an exception on connecting to creo,
com.ptc.pfc.Implementation.pfcExceptions$XToolkitCantModify at com.ptc.pfc.pfcAsyncConnection.pfcAsyncConnection.AsyncConnection_Connect(Native Method)

Any idea what might be the problem here?

Thanks,
Hamza


Hi,

please read https://support.ptc.com/appserver/cs/view/solution.jsp?source=Sitecore Article Viewer&art_lang=en&n=CS321596 document.

Translate
12-Amethyst
Jul 28, 2022 9:50 AM UTC

@hamzawaseem @MartinHanak Did you find any resolution to this issue?

 

I have similar issue while running vbapi application on other user's system.

 

Any help would be appreciated.

 

Thanks,

Prasad

 

Translate
21-Topaz I
Jul 28, 2022 1:48 PM UTC

If the issues have the same root cause then you may well try and update the .NET framework like suggested with this article https://www.ptc.com/en/support/article/cs352808 

Translate