Closed peterloudon closed 7 years ago
Hi - sorry to hear that. The log did not reveal the exact reason for the crash to me, but as a general suggestion you should try to remove all files matching:
c:\Users\<yourusername>\AppData\Roaming\MscrmTools\XrmToolBox\Plugins\Cinteros.*
c:\Users\<yourusername>\AppData\Roaming\MscrmTools\XrmToolBox\Plugins\Innofactor.*
Then start XrmToolBox and reinstall the plugins you want. It happens that different versions of plugins reference dependent assemblies, and there is a version mismatch. The reinstall of the plugins should solve that problem.
Hi, Thanks for the feedback. I have tried the suggestion, but with no change. If you review my original message, you will see that I have actually gone so far as to remove all plugins and install (and update) only PluginTraceViewer plus one other (XrmToolBox). I have also installed (and updated) all plugins except for PluginTraceViewer. Either way, I get the error. What information would assist in troubleshooting this?
I'm actually at a loss here. Perhaps @mscrmtools can help?
@peterloudon XrmToolBox log contains an error when preparing updates from Plugins Store. When I read your explanations, it seems the error occurs when running Plugin Trace Viewer... Can you confirm when exactly the error occurs?
@MscrmTools, the item referenced by @rappen is the same as mine.
XrmToolBox was running fine until the latest update for PluginTraceViewer was installed. After it was installed, the problem arose on updates. As long as I try no further updates, XrmToolBox will run. As soon as I try to update, the error appears.
To try to remove, or at least isolate, the problem, I did the following, on two different, unrelated Windows 10 environments:
Completely removed XrmToolBox (including the whole MscrmTools folder structure in AppData).
Downloaded the latest copy of XrmToolBox, unlocked it, and installed it.
Uninstalled all plugins.
Installed and updated PluginTraceViewer.
Installed and updated FetchXmlBuilder, AND got the error.
Completely removed XrmToolBox (including the whole MscrmTools folder structure in AppData).
Downloaded the latest copy of XrmToolBox, unlocked it, and installed it.
Uninstalled PluginTraceViewer.
Installed and updated all plugins other than PluginTraceViewer.
Installed and updated PluginTraceViewer, AND got the error.
The final error which is displayed before exiting is attached below. It suggests a problem with a modified collection and an enumeration operation which may not execute. (The suggestion that files are locked is not applicable - see step 2 above).
I am not sure if this is related, but I am attaching a screen grab of my updates window. The five updates listed will not install. This started before the problem with PluginTraceViewer. When I select them and click Install, the application shuts down and reopens, but the updates are still offered. (I have not installed XTBPlugin because it is the tutorial application and should probably not be there.)
Thanks both for your assistance.
Fix is now published in version 1.2017.10.1.
After updating to the latest version of PluginTraceViewer, XrmToolBox issues a message to say it will gather statistics for PluginTraceViewer and then crashes. This is repeated whenever further updates are attempted, but not if updates are bypassed. If the plugin is removed from XrmToolBox, everything else works. If all other plugins are removed, this works until a second plugin is installed (FetchXmlBuilder), after which the errors return. XrmToolBox log is attached. Error has been reproduced on two separate machines, on different domains. XrmToolBox Error.txt