Skip to main content
Aug 11, 2020 12:56 PM UTC
Question

Pfc::XtoolkitCantModify error while trying to connect to creo in other systems.

The connection string
 Async = CAsync.Connect(Nothing, Nothing, Nothing, 15)
works fine on my system

But the same connection string throws TOOLKITCANTMODIFY error on other systems when running the built exe file. Why is this happening?


2 replies

Aug 12, 2020 4:21 AM UTC

Try running vb_api_register.bat with admin rights in a machine where you want to execute this program. this enables VB API in that system. This file exist in parametric\bin directory.

Aug 12, 2020 6:11 AM UTC

Some previous case reports that this error message happened due to some typo in some env var.

Given that the issue happens in a different workstation than yours, it seems like a probable cause.