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


Attempting to select a readonly publisher for solution
Success Management Process for SmartConnect
Success Management Process for Partners
Firewall Settings for SmartConnect.com
Accessing SmartConnect after purchasing a subscription for your company

POPULAR POSTS


Removed Part: /xl/vbaProject.bin part. (Visual Basic for Applications (VBA))
SSL Security error using OLEDB Connection
The server process could not be started because the configured identity is incorrect.
Manufacturing Serial Trace SmartList Builder Template
Using WINSCP and a task to upload or download files from an SFTP site

CATEGORIES

ARCHIVES

open all | close all

TAGS

Business Central CRM Dynamics 365 dynamics crm Dynamics GP Dynamics NAV Econnect Employee Spotlight eone eOne News eOne Spotlight Events Excel Excel Report Builder Extender Extender Enterprise Flexicoder GP GPUG integration Meet the Team Microsoft dynamics crm Microsoft Dynamics GP Office Relationships partners Popdock release Reporting SalesForce SalesForce.com scripting SmartConnect SmartConnect.com SmartConnect Bootcamp SmartConnect Office Hours SmartList SmartList Builder SmartList Designer SmartView SQL Support Tech Tuesday Templates training Zendesk

Integrate & Automate without Any Code.

SmartList Data has Never Been Faster.

The Easiest Way to Report on GP Data.