Tengo un programa que utiliza el control integrado del webbrowser. En algún momento durante el uso de este, no estoy seguro en qué momento, pero parece ser al azar, me sale el siguiente error:C# WebBrowser Control System.AccessViolationException
System.AccessViolationException
FullText = 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)
¿Alguien tiene alguna pista de por qué me gustaría tener este y cómo prevenirlo?
Si alguna vez alguien encuentra una solución consistente para esto, hágamelo saber y lo aceptaré. Lo solucioné abriendo el navegador fuera de la aplicación en lugar del control del navegador. –
¿Hay alguna manera de otorgarle la propiedad de una pregunta a otra persona? No trabajo mucho en este sistema, y por lo tanto NUNCA aceptaré una respuesta aquí ... –