Skip to main content

Unanswered Question RC0 preloader crashes browserRSS Feed

(0)

metal
metal

Participant

Participant

1243 points

262 Posts

RC0 preloader crashes browser

 this will crash the browser(IE7+FF3) if it is the preloader xaml even with no code only since install RC0

 Unhandled exception at 0x00000000 in iexplore.exe: 0xC0000005: Access violation. FF3 gives me a 'report error' dialogue with no further information.

<Canvas xmlns="http://schemas.microsoft.com/client/2007" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Width="700" Height="400">
    <Canvas.Resources>
        <Style x:Key="LTop" TargetType="Canvas">
            <Setter Property="Canvas.Top" Value="180" />
        </Style>
    </Canvas.Resources>
</Canvas>

  Removing all resourced styles and references to them and the XAML works.

 

more details at http://silverlight.net/forums/t/31337.aspx

pamtaro
pamtaro

Member

Member

3 points

4 Posts

Re: RC0 preloader crashes browser

Hi,

I'm getting this same problem where silverlight rc0 will crash my browsers immediatly with 0xC0000005: Access violation. I tried removing all references to resourced styles but that didn't fix the project i was working on.  Then i created a dummy project to test whether it crashes with resourced styles and it worked fine!  There must be another problem with my application, but I can't figure it out more information as to where this Access violation is coming from. 

Any ideas?

-Pam

Sergey Volk MSFT
Sergey V...

Participant

Participant

788 points

98 Posts

Microsoft

Re: RC0 preloader crashes browser

 I think this has been recently fixed. I've been able to repro on RC0 bits, but latest internal post-RC0 bits do not crash on this anymore. But thanks for reporting this anyway!

If this answers your question, please click on "Mark as Answer" on this post.

metal
metal

Participant

Participant

1243 points

262 Posts

Re: RC0 preloader crashes browser

 I can live with that, thanks

metal
metal

Participant

Participant

1243 points

262 Posts

Re: RC0 preloader crashes browser

 RTW allows the above sample to run without crashing the browser but the original still does (http://silverlight.net/forums/t/31337.aspx), so I have simply removed all my styling code and the XAML preloader now works correctly and does not crash the browser.

  • Unanswered Question
  • Answered Question
  • Announcement