SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
failed to load SqlAssist.Mso.dll

 
Reply to topic    SoftTree Technologies Forum Index » SQL Assistant View previous topic
View next topic
failed to load SqlAssist.Mso.dll
Author Message
SqlExplorer



Joined: 18 Sep 2011
Posts: 44
Country: United States

Post failed to load SqlAssist.Mso.dll Reply with quote
Hi,

I temporarily resolved the error

Application C:\Program Files\Microsoft Office\root\Office16\MSACCESS.EXE failed to load SqlAssist.mso.dll earlier this morning, by copying the latest dll files into the ..\Office16 folder.

But it's recurring again, now. It happens whenever I got into the Access 2016 query designer. I've confirmed that the dll is in the location where the error is occurring.


Since the agency removed admin access to all of our PCs, I reinstalled Sql Assistant more than a month ago, into another folder c:\software\Installed\SqlAssistant. (I had temporary access, and used it to reinstall as many apps as possible, outside of \program files.)


So I guess the easiest question would be, how do you re-point Sql Assistant to the \software\Installed\SqlAssistant folder? Sql Assistant itself is properly installed there, but it's still pointing to Program Files for its dlls.



Btw - The plugins for access seem to include up to 2013, according to Options. But during the Install, the plugins listed for Access are up to only 2010. It doesn't hurt anything, just an fyi.



*************************************************************
* SQL Assistant files *
*************************************************************
Installation directory: c:\Software\Installed\SqlAssistant
SQL Assistant version: 9.5.469
SqlAssist.exe ... OK
SqlEditor.exe ... OK
sacmd.exe ... OK
sareg.exe ... OK
saddl.exe ... OK
sascan.exe ... OK
sqleditor_std.exe ... OK
SqlAssist.pdf ... OK
data\SqlAssist.sas ... OK
data\SqlAssist.setup.sas ... OK
data\SqlAssistDTMap.xml ... OK
data\dbdiagram.themes ... OK
data\SqlAssist.DocMng.dll ... OK
data\SqlAssist.Sms.dll ... OK
data\SqlAssist.vs.dll ... OK
data\SqlAssist.vs.14.dll ... OK
data\SqlAssist.dll ... OK
data\SqlAssistPrefs.dll ... OK
data\SqlAssist.Dbm.dll ... OK
data\SqlAssist.Ase.dll ... OK
data\SqlAssist.Dex.dll ... OK
data\SqlAssist.Mso.dll ... OK
data\SqlAssist.mwb.dll ... OK
data\SqlAssist.mwb4.dll ... OK
data\SqlAssist.Ase4.dll ... OK
data\SqlAssist.Dex4.dll ... OK
data\SqlAssist.DDL.dll ... OK
data\SqlAssist.re.dll ... OK
data\SqlAssist.Sms.Bars.dll ... OK
data\SqlAssist.SSMS2005.dll ... OK
data\SqlAssist.SSMS2005Ent.dll ... OK
data\SqlAssist.SSMS2005Std.dll ... OK
data\SqlAssist.SSMS2008.dll ... OK
data\SqlAssist.SSMS2008R2.dll ... OK
data\SqlAssist.SSMS2012.dll ... OK
data\SqlAssist.SSMS2014.dll ... OK
data\SqlAssist.SSMS2016.dll ... OK
data\SqlAssist.SSMS2017.dll ... OK
data\SA_SqlEdit.dll ... OK
data\SA_SqlEdit9.bpl ... OK
data\SA_SqlEdit10.bpl ... OK
data\SA_SqlEdit11.bpl ... OK
data\SA_SqlEdit12.bpl ... OK
data\SA_SqlEdit14.bpl ... OK
data\SA_SqlEdit15.bpl ... OK
data\SA_SqlEdit16.bpl ... OK
data\SA_SqlEdit17.bpl ... OK
data\SA_SqlEdit18.bpl ... OK
data\SA_SqlEdit19.bpl ... OK
data\SA_SqlEdit20.bpl ... OK
data\SA_SqlEdit21.bpl ... OK
data\SA_SqlEdit22.bpl ... OK
data\SA_SqlEdit23.bpl ... OK
data\sqlite3.dll ... OK
data\git-credential-winstore.exe ... OK

*************************************************************
* User registration *
*************************************************************
Access rights: elevated
UAC Level: DEFAULT NOTIFICATION (2)
Registration mode: Current User
All users serial ... YES
Current user serial ... YES

*************************************************************
* COM Objects (x86) *
*************************************************************
Loading SqlAssist.Dbm.DbManager... OK
Loading SqlAssist.DDLLoader... OK
Loading SqlAssist.saRegExpr... OK
Loading SqlAssist.CSqlClient... OK
Loading SqlAssist.CSmsAddin... OK
Loading SqlAssist.CSmsAddin10... OK
Loading SqlAssist.DTEInit... OK
Loading SqlAssist.MySQLWBAddin... OK
Loading SqlAssist.MySQLWBAddin4... OK
Loading SqlAssist.Ase.Editor... OK
Loading SqlAssist.Ase.DbManager... OK
Loading SqlAssist.Dex.XtraBars... OK
Loading SqlAssist.Dex.DotNetBars... OK
Loading SqlAssist.Mso.Addin... OK
Loading SqlAssist.Ase.Editor... OK
Loading SqlAssist.Ase.DbManager... OK
Loading SqlAssist.Dex.XtraBars... OK
Loading SqlAssist.Ase.ToadDocumentManager... OK
Loading SqlAssist.Ase.ToadDocumentManager... OK

*************************************************************
* SQL Assistant Add-ons *
*************************************************************
SSMS 2005 ... NO REGISTRAION INFO
SSMS 2008 ... REGISTERED FOR Current User and All Users
SSMS 2012, 2014, 2016 COM Add-on ... REGISTERED FOR Current User and All Users
SSMS 2012 MEF ... TARGET NOT INSTALLED
SSMS 2014 MEF ... TARGET NOT INSTALLED
SSMS 2016 MEF ... TARGET NOT INSTALLED
SSMS 2017 MEF ... TARGET NOT INSTALLED

VS 2005 ... REGISTERED
VS 2008 ... REGISTERED
VS 2010, 2012, 2013, 2015 COM Add-on ... REGISTERED FOR Current User and All Use
rs
VS 2010 MEF ... REGISTERED
VS 2012 MEF ... TARGET NOT INSTALLED
VS 2013 MEF ... TARGET NOT INSTALLED
VS 2015 MEF ... TARGET NOT INSTALLED

MS Access ... REGISTERED FOR Current User and All Users

Delphi 2005 ... NOT INSTALLED
Delphi 2006 ... NOT INSTALLED
Delphi 2007 ... NOT INSTALLED
Delphi 2009 ... NOT INSTALLED
Delphi 2010 ... NOT INSTALLED
Delphi XE ... NOT INSTALLED
Delphi XE 2 ... NOT INSTALLED
Delphi XE 3 ... NOT INSTALLED
Delphi XE 4 ... NOT INSTALLED
Delphi XE 5 ... NOT INSTALLED
Delphi XE 6 ... NOT INSTALLED
Delphi XE 7 ... NOT INSTALLED
Delphi XE 8 ... NOT INSTALLED
Delphi XE 10 ... NOT INSTALLED

SQL Assistant diagnostics completed ... WITH ERRORS


The diagnostics output was saved to
C:\Software\Installed\SqlAssistant\saDiag.log
--------------------------------------------------------------------------------
Wed May 09, 2018 10:43 am View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 6610

Post Reply with quote
Hi,

I'm not seeing any references to Program Files here. Where are you seeing it?
Do you have SQL Assistant's system tray application running when you get that error? Do you get the same error when that application isn't running?

Another important test is to check whether SQL Assistant is able to connect to the same database, the error you are swing might be secondary, a side effect of something else. Please open SQL Editor that's installed with SQL Assistant and try to connect it to the same Access file.
Wed May 09, 2018 11:04 am View user's profile Send private message
SqlExplorer



Joined: 18 Sep 2011
Posts: 44
Country: United States

Post Reply with quote
That's part of the problem. It's not installed in Program files, but the error message states that's where the dll is.

The SqlAssist.Mso.dll is in

c:\Program Files\Microsoft Office\root\Office16\

and

c:\software\Installed\SqlAssistant\data\


The program itself, is in stalled in c:\software\Installed\SqlAssistant.


How do you attach a jpg, so I can show the contents of the error message?


Regarding connecting to the database with sql editor, I can't figure out how to unconnect from sql server, and reconnect to Access. I don't want it to Autoconnect, but after installing the latest update this morning, Sql Editor Autoconnects to Sql Server.

Sql Editor was able to work with the access database, yesterday.

SysOp wrote:
Hi,

I'm not seeing any references to Program Files here. Where are you seeing it?
Do you have SQL Assistant's system tray application running when you get that error? Do you get the same error when that application isn't running?

Another important test is to check whether SQL Assistant is able to connect to the same database, the error you are swing might be secondary, a side effect of something else. Please open SQL Editor that's installed with SQL Assistant and try to connect it to the same Access file.

Wed May 09, 2018 11:16 am View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 6610

Post Reply with quote
When posting a message click "Img" button above the message edit field.
Wed May 09, 2018 1:06 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 6610

Post Reply with quote
For autoconnect and other saved settings, please open the Options dialog. There is a DB Connections section where you can change settings for all saved connections
Wed May 09, 2018 1:09 pm View user's profile Send private message
SqlExplorer



Joined: 18 Sep 2011
Posts: 44
Country: United States

Post Reply with quote
I don't understand. It's necessary to click img when posting messages?

Are you talking about adding image attachments?


SysOp wrote:
When posting a message click "Img" button above the message edit field.

Wed May 09, 2018 2:05 pm View user's profile Send private message
SqlExplorer



Joined: 18 Sep 2011
Posts: 44
Country: United States

Post Reply with quote
I know that, of course. But I don't see where the AutoConnect Yes/No option is. It's not in any of the main settings under Connections, nor under the Custom Settings.

In other words, Sql Editor is automatically connecting to Sql Server. There isn't any Disconnect button. If I want to run some Access queries, I don't know how to disconnect from Sql Server, and Reconnect as Access.

Before I updated Sql Assistant this morning, I had it set NOT to autoconnect, and so I would get the Connect dialog. Now, that doesn't happen.


SysOp wrote:
For autoconnect and other saved settings, please open the Options dialog. There is a DB Connections section where you can change settings for all saved connections

Wed May 09, 2018 2:07 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 6610

Post Reply with quote
To connect to a different server, right-click in the editor then SQL Assistant -> Connect
Or alternatively click first button in the second row of toolbar.
It will prompt it for the connection.

You can uncheck autoconnect or just change the connection to something else.
Wed May 09, 2018 4:40 pm View user's profile Send private message
SqlExplorer



Joined: 18 Sep 2011
Posts: 44
Country: United States

Post Reply with quote
Ok, thanks.

So, yes Sql Assistant/Sql Editor works with the Access database. it does seem to have problems finding linked tables. In the Schema, it shows only Views, and under the Views it shows only the Queries that we defined. There are no tables listed there.

Anyway, that's not really important. We'll use the Access Editors with the Sql Assistant plugin for building & testing queries.

The bad news is, we still get that message about failing to connect to the .dll. Good news is, the plugin seems to work anyway. When we type select, it displays the tables, etc.

The only other problem, is at the end, when you close the database. There's always an Access violation error.

Should I copy and paste the errors and addresses here? (No, can't send it in the normal fashion. The agency has a firewall in place).


Summarily,

1. When entering a query inside Access 2016, Sql Assistant generates an error that it can't open that .dll. The path of the .dll is in Program Files, although Sql Assistant itself is installed elsewhere.

2. Sql Assistant seems to be working as expected, aside from the errors.

3. When exiting the Access database, Sql Assistant generates an Access violation.




SysOp wrote:
To connect to a different server, right-click in the editor then SQL Assistant -> Connect
Or alternatively click first button in the second row of toolbar.
It will prompt it for the connection.

You can uncheck autoconnect or just change the connection to something else.

Thu May 10, 2018 11:36 am View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 6610

Post Reply with quote
That DLL is referenced somewhere in the system registry

Please check keys under HKEY_CURRENT_USER\Software\Microsoft\Office\Access\Addins
and under HKEY_LOCAL_MACHINE\Software\Microsoft\Office\Access\Addins
if you see it there and referencing Program files, please remove that key.

Also, if you used in the past different user accounts it may also appear in similar locations under HKEY_USERS\...\Software\Microsoft\Office\Access\Addins. If you find them, please remove them too.
Fri May 11, 2018 12:59 pm View user's profile Send private message
SqlExplorer



Joined: 18 Sep 2011
Posts: 44
Country: United States

Post Reply with quote
Those first 2 keys don't have any references to SqlAssistant, although there are many in HKEY_CLASSES_ROOT\Applications\....

I'm doing a global search through the registry, for occurrences of SqlAssistant. So far, none of them report anything in \Program Files, but will continue searching.


Thanks.




SysOp wrote:
That DLL is referenced somewhere in the system registry

Please check keys under HKEY_CURRENT_USER\Software\Microsoft\Office\Access\Addins
and under HKEY_LOCAL_MACHINE\Software\Microsoft\Office\Access\Addins
if you see it there and referencing Program files, please remove that key.

Also, if you used in the past different user accounts it may also appear in similar locations under HKEY_USERS\...\Software\Microsoft\Office\Access\Addins. If you find them, please remove them too.

Fri May 11, 2018 1:39 pm View user's profile Send private message
Display posts from previous:    
Reply to topic    SoftTree Technologies Forum Index » SQL Assistant All times are GMT - 4 Hours
Page 1 of 1

 
Jump to: 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


 

 

Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Flowers Online.