tags:

views:

20

answers:

0

Hi,

I'm getting exception when I put below code in Visual Studio -2008 Code editor.Pls let me know how can I tackle this exception.And my visual studio is getting crashed on reload.

 <Grid Background="WhiteSmoke" Height="262" Width="257">
    <Grid.Effect>
        <DropShadowEffect ShadowDepth="2"/>
    </Grid.Effect>
</Grid>

Exception

An unspecified error occurred on the render thread. at System.Windows.Media.MediaContext.NotifyPartitionIsZombie(Int32 failureCode) at System.Windows.Media.MediaContext.NotifyChannelMessage() at System.Windows.Interop.HwndTarget.HandleMessage(Int32 msg, IntPtr wparam, IntPtr lparam) at System.Windows.Interop.HwndSource.HwndTargetFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Boolean isSingleParameter) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)