To check all was well, I set VS to break-point on all CLR exceptions and suddenly it came up with the above error.
WTF?
Lots of discussions with Mr. Google and the usual ton of garbage but then I found this.
Run "cmd" as admin.
cd C:\Windows\Inf\.NET Data Provider for SqlServer
lodctr _dataperfcounters_shared12_neutral.ini
That did the trick.
That did the trick.
BTW, lodctr "allows you to register or save performance counter name and registry settings in a file and designate trusted services".
Enjoy!
No comments:
Post a Comment