K
kristenharding
MS Visual Studio 2008 Version 3.5 and my OS is Vista.
I have a web browser control on a form and when the form loads I am
getting the error "Attempted to read or write protected memory. This
is often an indication that other memory is corrupt." The website I am
trying to view is a program and it has an IP Address as part of the
web address (http://xxx.xxx.xxx.xx/gpmsweb/idex.html). If I change the
website to "http://www.yahoo.com" the form will run fine and load the
website in the webbrowser. When I open a regular IE window on my
computer I am able to load the website that will not load in the
webbrowser control on the form. And this was able to run on a
different computer, although I am not sure of what they are running
for an OS.
Here is the detail of the message
Message="Attempted to read or write protected memory. This is often an
indication that other memory is corrupt."
Source="System.Windows.Forms"
StackTrace:
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 PM_Viewer.Program.Main() in C:\Users\klb\Desktop\CUC_Viewers
\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()
InnerException:
I have a web browser control on a form and when the form loads I am
getting the error "Attempted to read or write protected memory. This
is often an indication that other memory is corrupt." The website I am
trying to view is a program and it has an IP Address as part of the
web address (http://xxx.xxx.xxx.xx/gpmsweb/idex.html). If I change the
website to "http://www.yahoo.com" the form will run fine and load the
website in the webbrowser. When I open a regular IE window on my
computer I am able to load the website that will not load in the
webbrowser control on the form. And this was able to run on a
different computer, although I am not sure of what they are running
for an OS.
Here is the detail of the message
Message="Attempted to read or write protected memory. This is often an
indication that other memory is corrupt."
Source="System.Windows.Forms"
StackTrace:
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 PM_Viewer.Program.Main() in C:\Users\klb\Desktop\CUC_Viewers
\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()
InnerException: