Open github-clearthought opened 4 years ago
Here's the ActivityLog.xml error:
Thanks to ClarkJeff's comment, I was able to find a solution. Go to the folder were you copied the SSMS Schema Folder DLL files, for example, "C:\Program Files (x86)\Microsoft SQL Server Management Studio 18\Common7\IDE\Extensions\SSMS Schema Folders".
Select the first DLL file and press Ctrl+Enter to bring up the file property dialog. Click the button labeled "Unblock". Repeat for each DLL. You can't multi-select and do this because Microsoft.
Then restart SSMS. The DLLs will load now and the extension will work.
I would suggest writing a batch or a PowerShell script to figure out the right directory, copy the files, and unblock the files.
I'm running SSMS 18.5. I right-clicked SsmsSchemaFolders.dll and unblock it. In the image below, ignore that it shows Ssms2012.dll. I just want to illustrate where [ ] Unblock was located in the properties window.
Works good. Brings the old dog SSMS closer to be being efficient for users.
https://github.com/nicholas-ross/SSMS-Schema-Folders/issues/23#issue-977152792
As JoshFerguson mentioned here, it can be done with Powershell: get-childitem "path/to/your/extracted/extension/folder" | unblock-file
error screen shot: https://imgur.com/cXS5MXu
I deleted the activity.xml to see only the relevant error, but now it won't recreate. It said something to the effect of "appId will not run". It did not give an app ID, but actually said "appId".