Reputation: 3060
I have exactly the same problem as this SO poster; Visual Studio Crashing When I Select Text in Code Editor, except I'm running Windows 7 Ultimate and the fix for bulltorious isn't workable for me on Windows 7.
Event Viewer reports the error as;
Fault bucket 1097131459, type 5
Event Name: CLR20r3
Response: Not available
Cab Id: 0
Problem signature:
P1: devenv.exe
P2: 10.0.30319.1
P3: 4ba1fab3
P4: UIAutomationProvider
P5: 4.0.0.0
P6: 4ba1f837
P7: 3
P8: 0
P9: System.DllNotFoundException
P10:
I can't select any text in any file type. If I attempt to add or edit any code, I crash to desktop. I have done Windows Update and updated the usual drivers just in case. No luck.
I have no add-ins running and I've tried running devenv /safemode, with no success. I know this has something to do with UIAutomationProvider, but with no idea how to fix it!
Any ideas?
I did post on Microsoft's Connect, but that was useless: https://connect.microsoft.com/VisualStudio/feedback/details/618754/visual-studio-2010-crash-on-code-view-load
Upvotes: 0
Views: 1256
Reputation: 941465
Reverse-engineering the Watson dump, it is crashing in MS.Internal.Automation.UiaCoreProviderApi.RawUiaClientsAreListening. This is a pinvoked function from UIAutomationCore.dll
You'll need to find out what happened to that DLL. It is present in c:\windows\system32, mine has a time-stamp of July 13th 2009, 6:27:31 pm CST.
Upvotes: 1