Skip to content
+1-888-319-3663

HELP ARTICLE

Could not log into the SQL Server Could not create session factory after updating to SmartConnect 2017


When upgrading SmartConnect to 20.17.0.11, I receive an error that says “Could not log into the SQL Server Could not create session factory”


First thing to check is that your SmartConnect password is correct.  Browse into the SmartConnect folder which by default is located in C:\Program Files (x86)\eOne Solutions\SmartConnect.  find the file named eOne.SmartConnect.Config.exe and right click on it and select “Run as administrator”

When the SmartConnect Configuration window opens, type in the MSSQL Server name, the name of the SmartConnect database (typically SmartConnect), then name of the SmartConnect User (typically SmartConnect) and the SmartConnect user password which you would have typed in on the initial installation.  Press the “Test Connection” button.  

If any of the connection information is wrong you will get an error that says “Failed to connect to the SmartConnect database, please check the entered credentials and try again”.  

If the connection information is correct, the fields at the bottom of the window will populate with values.  If the fields populate, click on the “Save Changes” button at the bottom of the window.  

Now relaunch SmartConnect and see if you are able to get in.  If you still get the same exact error it means there are some tables that need to be updated before you can proceed.   

Close SmartConnect completely, then download this script and run this in SQL Management studio against your SmartConnect database.  After running the script, relaunch SmartConnect and you should be able to continue with the upgrade

RECENT POSTS


Use the REST Connector to parse nested Value Arrays
SmartConnect email task fails with error: An invalid character was found in the email header
Does SmartConnect import into Avalara Avatax software
Could not initialize a collection when launching SmartConnect
ERROR [HY000] [Microsoft][ODBC Excel Driver]General error Unable to open registry key when you open a SmartConnect map.

POPULAR POSTS


SSL Security error using OLEDB Connection
This implementation is not part of the Windows Platform FIPS validated cryptographic algorithms
Removed Part: /xl/vbaProject.bin part. (Visual Basic for Applications (VBA))
The server process could not be started because the configured identity is incorrect.
Using WINSCP and a task to upload or download files from an SFTP site

CATEGORIES

TAGS

Business Central CRM D365 Business Central Dynamics 365 dynamics crm Dynamics GP Dynamics NAV Econnect Employee Spotlight eone eOne News error Error Message Events Excel Excel Report Builder Extender Flexicoder GP integration Map Meet the Team Microsoft dynamics crm Microsoft Dynamics GP Navigation List Builder Office Relationships partners Popdock release Reporting SalesForce SalesForce.com SmartConnect SmartConnect.com SmartConnect Bootcamp SmartConnect Maps SmartConnect Office Hours SmartList SmartList Builder SmartPost SmartView SQL Tech Tuesday Templates training

Integrate & Automate without Any Code.

SmartList Data has Never Been Faster.

The Easiest Way to Report on GP Data.