Could not Iitialize. Illegal characters in path.

When opening up CardExchange, and you're getting an error "  Could not Iitialize. Illegal characters in path. "  

This relates the to path specified in the CardExchange.ini file pointing to the incorrect location (or a blank location path) of the CardExchange Data Folder, or License Directory. 


Steps to rectify:


Open the “CardExchange.inifile in the installation directory for CardExchange (default location is C:\Program Files (x86)\CardExchange Solutions\CardExchange Gateway\) and look in both the lines beginning with “DataDirectory” and “LicenseDirectory”.


Ideally the DataDirectory and LicenceDirectory would be pointing to the default location of: c:\users\public\public documents\CardExchange

In some instances the Data folder and License folder will be installed under a specific user account. The impact of having the License Directory set to a certain account means that any time a different user logs in, they will have to reactivate the CardExchange software. 

We recommend that the License Directory is set to the Public folder in C:\Users so that anyone who logs in will be able to open CardExchange without needing to reactivate it. 


The Fix for this error is to navigate within Windows explorer to the CardExchange Data directory. Copy the path - then simply paste that path into the .ini file next to the LicenseDirectory= and DataDirectory= 

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article