The other day was “one of those days” when nothing was working. My Internet was not working, my computer almost crashed/stalled and then this…
Problem
System.Runtime.InteropServices.COMException
What? So here I am, opening an old test Silvelright 2.0 Beta 1 project and I get this while its loading. The SL project loaded, but its test website did not.
Being highly annoyed yet fortunate enough to be in the middle of an email exchange with some VERY NICE folks in Redmond I decided to ask this as a side question.
The reply was immediate “Do you also get this when creating a new host web project” and it hits me, I know what he is leaning towards.
Solution
Let me be honest here, I don't know what caused my problem but creating a new test web project and removing the troubled one fixed the issue.
My best guess is that I must have changed something in the IIS configuration of the test project, but I just cant put my finger on it.
This solution is perfectly fine since the test project is simplistic and only typically contains one page with object tags to host the Silverlight control. If anyone does figure out the exact reason for this please feel free to post a reply here, otherwise just accept the solution and move on.

