I recently updated my machine to Windows 10 and didn’t face any problems running all of my installed programs. Exceptions are always expected in a developer’s life so my Sitecore Support Package Generator was not running and every time I try to execute it, it had some issues and died showing me the below screen,
Checking the Event viewer and the SSPG logs files it revealed that it has some access problems with Optimization.Suggestion.Count.config file and was throwing below error.
ERROR SSPG.MainWindow - Couldn't clear IsolatedStorage on startup. System.UnauthorizedAccessException: Access to the path 'Optimization.SuggestedTests.Count.config' is denied. at System.IO.Directory.DeleteHelper(String fullPath, String userPath, Boolean recursive) at System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive) at SSPG.Core.FileSystem.RoamingFileSystemProvider.Clear() at SSPG.MainWindow.MainWindow_Loaded(Object sender, RoutedEventArgs e)
You can find the SSPG.log file at C:\Users\MyUser\AppData\Roaming\Sitecore\SSPG\Files\Logs.
I then started two help channels and tweeted Alen Pelin who is the contributor to this tool, he asked me to check if I have .NET framework 3.5 installed which I was having. Our small twitter conversation.
— Brijesh Patel (@brij_baroda) October 6, 2015
The other channels was with the Mighty Ones, guessing who I am referring to? Yes they are Sitecore Support Team. Lilia Silvestrova asked me to delete the files present under C:\Users\<User name>\AppData\Roaming\Sitecore\SSPG\Files\ and yes that is the trick.
So if you are facing such issue I would suggest to check SSPG.Log file and if this blog post resolves your issue you should be thankful to the Mighty Ones.