Click here to Skip to main content
15,797,721 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
my problem is in VS2010, i have an enterprise application based on Silverlight and Esri components , i can build or rebuild web project (that hosts silverlight) but when i want to compile and run (F5) it VS crashes and a dialog windows apperas that wants to restart VS.
i didnt have not this problem , but a weeks ago my hard disk crashed and i had to change windows and install software and after that time i have this problem with only silverlight projects.

this is the event viewer output

Application: devenv.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.Runtime.InteropServices.COMException
   at Microsoft.Internal.VisualStudio.PlatformUI.Utilities.SetValue(Microsoft.VisualStudio.Shell.Interop.IVsUIDataSource, System.String, Microsoft.VisualStudio.Shell.Interop.IVsUIObject)
   at Microsoft.Internal.VisualStudio.PlatformUI.DataSource.SetValue(System.String, System.Object)
   at Microsoft.VisualStudio.PlatformUI.MainWindowDataSource.set_IsClosed(Boolean)
   at Microsoft.VisualStudio.PlatformUI.MainWindow+DataSourceEventSink.Disconnect(Microsoft.VisualStudio.Shell.Interop.IVsUISimpleDataSource)
   at Microsoft.Internal.VisualStudio.PlatformUI.DataSource.<DisconnectEventSubscribers>b__6(UInt32, Microsoft.VisualStudio.Shell.Interop.IVsUIDataSourcePropertyChangeEvents)
   at Microsoft.Internal.VisualStudio.PlatformUI.CookieTable`3[[System.UInt32, mscorlib, Version=, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.__Canon, mscorlib, Version=, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.__Canon, mscorlib, Version=, Culture=neutral, PublicKeyToken=b77a5c561934e089]].ForEach(Microsoft.Internal.VisualStudio.PlatformUI.CookieTableCallback`2<UInt32,System.__Canon>, Boolean)
   at Microsoft.Internal.VisualStudio.PlatformUI.DataSource.DisconnectEventSubscribers()
   at Microsoft.Internal.VisualStudio.PlatformUI.DataSource.Dispose(Boolean)
   at Microsoft.Internal.VisualStudio.PlatformUI.DataSource.Finalize()

Tanks .
Yuri Vital 24-Oct-11 8:05am    
try to reinstall silvelight SDK or your Esri components......

1 solution

it may be the problem with Silverlight Components. Try Reinstalling your VS2010 and also Silverlight SDK (if any). This error occurs when the specific component that is required to build specific project (in your case-Silverlight SDK) is not responding or is corrupted for any reason.

If it doesn't work I like to go for straightforward way and it is- freshly installing windows and every other drivers or softwares (not using the backup copy or system restore disk).
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900