web browser application crashes when visiting site 'http://felixiamiaow.spaces.live.com/'

Hi All,

I just create a very simple application to test web browser control in .net 2.0. In form load event, the browser tries to navigate the above site and then the appliation crashes. Here are details for exception.

{System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.Run(Form mainForm)
at TestWeb.Program.Main() in C:\Test\TestWeb\TestWeb\Program.cs:line 17
at System.AppDomain.nExecuteAssembly(Assembly assembly, String[] args)
at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()}

Thanks a lot for your help.



Answer this question

web browser application crashes when visiting site 'http://felixiamiaow.spaces.live.com/'

  • KrisMcg01

    You should probably post your code.



  • mcnamaragio

    Actually, the code is very simple.

    I created a form class from visual studio.net 2005. Then I put a web browser control on the form. In the form load event, I wrote one line code like 'webbrowser1.navigate(url)'. I guess the error may be related to contents of the website.


  • Can not attach MDF from HDS LUN

    You're right IE crashed too. Here are details for my workstation.

    Windows xp profession sp2, IE 6.0.2900.2180.xpsp_sp2_gdr.050301-1519

    Are there any steps I can follow to solve this issue

    Thanks.


  • Peter McEvoy

    Does it crash when you visit the site from internet explorer


  • Zakamon

    Apply updates, remove third party browser components and not send people to sites that use such features. :)


  • web browser application crashes when visiting site 'http://felixiamiaow.spaces.live.com/'