Back

SmartConnect could not be loaded : Could not create session factory

Published: Nov 08, 2012
Post Author Written by David Youngquist

When running a SmartConnect map, receiving an error message in the Windows Event Viewer that says ‘SmartConnect could not be loaded : Could not create session factory’.

This generally indicates that the SmartConnect password machine is wrong on the machine that is running the map. The password is saved in the Windows registry of the local machine. If you have a machine that works, you can open the registry on that machine and compare it to the machine where it is not working.

If SmartConnect works when you run the map inside of SmartConnect, but fails when you run it via the web service, it means the password on the machine hosting the web service is incorrect. The password can be located in the following location.

If you are on a 32 bit machine, you need to navigate to HKEY_LOCAL_MACHINE – Software – eOneSolutions – SmartConnect

If you are on a 64 bit machine, you have to go to HKEY_LOCAL_MACHINE – Software – Wow6432Node – eOneSolutions – SmartConnect

The password is located in 2 locations. In the ConnectionString key, there is a section there that says ‘Password=SmartConnect;’ that needs to be modified.

In the ScSqlPassword key there is a string there that just contains the password. Change it in both locations.

Feeling stuck? Get the support and guidance you need to help you power through any data challenge

We're on your integration team. Connect with our people and let us know how we can help you.