SQL Server 2005 Management Studio: attempted to read or write protected memory
-
Friday, November 20, 2009 9:56 PM
Hi All,
After extensive research I still could not figure out why I am getting this error on my SQL 2005 management studio, it starts fine and works for a while but expectedly start showing up this error and it keeps coming back until I close the studio and start again, but it comes back. I had SQL 2008 on it side by side which I now removed thinking that it may be causing the issue. This is not going away. Wondering if you have come across this issue or can throw some light.See the error details below, it pops up in a small window and has a detail button to see the rest of JIT stuff.
Thanks!
Adnan
ERROR:
"attempted to read or write protected memory. This is often an indication that other memory is corrupt"
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
at System.Drawing.SafeNativeMethods.Gdip.GdipDrawRectangleI(HandleRef graphics, HandleRef pen, Int32 x, Int32 y, Int32 width, Int32 height)
at System.Drawing.Graphics.DrawRectangle(Pen pen, Int32 x, Int32 y, Int32 width, Int32 height)
at System.Drawing.Graphics.DrawRectangle(Pen pen, Rectangle rect)
at Microsoft.SqlServer.Management.UI.VSIntegration.DrawManager.DrawNCBorder(Message& m)
at Microsoft.SqlServer.Management.UI.VSIntegration.ShellTextEditorControl.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
All Replies
-
Thursday, November 26, 2009 6:58 AMModerator
Hi
You can publish your case in below forum, and you can get more help from there.
http://social.technet.microsoft.com/Forums/en-US/category/sqlserver
This forum just for the OCS database.
Regards!
Gavin- Proposed As Answer by Gavin-ZhangModerator Thursday, November 26, 2009 6:58 AM
- Marked As Answer by Gavin-ZhangModerator Friday, December 04, 2009 7:09 AM