<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>Codejock Developer Community : AccessViolationException</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Report Control : AccessViolationException]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Fri, 15 May 2026 05:44:48 +0000</pubDate>
  <lastBuildDate>Wed, 06 Jan 2010 11:14:20 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>forum.codejock.com/RSS_post_feed.asp?TID=15955</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Codejock Developer Community]]></title>
   <url>http://forum.codejock.com/forum_images/codejock-logo.gif</url>
   <link>http://forum.codejock.com/</link>
  </image>
  <item>
   <title><![CDATA[AccessViolationException : Thanks... I&amp;#039;ll give that...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=15955&amp;PID=56013&amp;title=accessviolationexception#56013</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1632">SteveStraley</a><br /><strong>Subject:</strong> 15955<br /><strong>Posted:</strong> 06 January 2010 at 11:14am<br /><br />Thanks... I'll give that a whirl...]]>
   </description>
   <pubDate>Wed, 06 Jan 2010 11:14:20 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=15955&amp;PID=56013&amp;title=accessviolationexception#56013</guid>
  </item> 
  <item>
   <title><![CDATA[AccessViolationException : You don&amp;#039;t need to call oControl:Records.DeleteAll();...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=15955&amp;PID=55995&amp;title=accessviolationexception#55995</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4721">mdoubson</a><br /><strong>Subject:</strong> 15955<br /><strong>Posted:</strong> 05 January 2010 at 11:20am<br /><br />You don't need to call <FONT face="Courier New" size=1>oControl:Records.DeleteAll();</FONT>]]>
   </description>
   <pubDate>Tue, 05 Jan 2010 11:20:14 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=15955&amp;PID=55995&amp;title=accessviolationexception#55995</guid>
  </item> 
  <item>
   <title><![CDATA[AccessViolationException : Hi, I have an issue and just...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=15955&amp;PID=55993&amp;title=accessviolationexception#55993</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1632">SteveStraley</a><br /><strong>Subject:</strong> 15955<br /><strong>Posted:</strong> 05 January 2010 at 10:18am<br /><br /><P>Hi,</P><P>I have an issue and just need ideas on where to look.&nbsp;&nbsp; I have a report control that off of it the user adds information.&nbsp;&nbsp; When completed, I have the control "refresh" itself with the following basic lines:</P><BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px"><P><FONT face="Courier New, Courier, mono" size=1>oControl:Records.DeleteAll();</FONT></P><P><FONT face="Courier New, Courier, mono" size=1>while (oControl.Rows.Count &gt; 0)</FONT></P><P><FONT face="Courier New, Courier, mono" size=1>{</FONT></P><P><FONT face="Courier New, Courier, mono" size=1>&nbsp; oControl.RemoveRowEx(oControl.Rows&#091;0&#093;);</FONT></P><P><FONT face="Courier New, Courier, mono" size=1>}</FONT></P><P><FONT face="Courier New, Courier, mono" size=1>// Re-use original data loading into control</FONT></P><P><FONT face="Courier New, Courier, mono" size=1>oControl.Populate();</FONT></P></BLOCKQUOTE><P>This is the same routine used throughout; however, in this one location there is a persistent error:</P><DIV>&nbsp;</DIV><DIV><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt 0.5in"><SPAN lang=EN-GB style="FONT-SIZE: 10pt; COLOR: #365f91; FONT-FAMILY: 'Tahoma','sans-serif'; mso-ansi-: EN-GB">System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.<?:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt 0.5in"><SPAN lang=EN-GB style="FONT-SIZE: 10pt; COLOR: #365f91; FONT-FAMILY: 'Tahoma','sans-serif'; mso-ansi-: EN-GB">&nbsp;&nbsp; at System.RuntimeType.ForwardCallToInvokeMember(String memberName, BindingFlags flags, Object target, Int32&#091;&#093; aWrapperTypes, MessageData&amp; msgData)<o:p></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt 0.5in"><SPAN lang=EN-GB style="FONT-SIZE: 10pt; COLOR: #365f91; FONT-FAMILY: 'Tahoma','sans-serif'; mso-ansi-: EN-GB">&nbsp;&nbsp; at XtremeReportControl._DReportControl.RemoveRowEx(ReportRow Row)<o:p></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt 0.5in"><SPAN lang=EN-GB style="FONT-SIZE: 10pt; COLOR: #365f91; FONT-FAMILY: 'Tahoma','sans-serif'; mso-ansi-: EN-GB">&nbsp;&nbsp; at AxXtremeReportControl.AxReportControl.RemoveRowEx(ReportRow row)<o:p></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt 0.5in"><SPAN lang=EN-GB style="FONT-SIZE: 10pt; COLOR: #365f91; FONT-FAMILY: 'Tahoma','sans-serif'; mso-ansi-: EN-GB">&nbsp;&nbsp; at TrakkerLIB.reportItems.RemoveAllRows() in C:\Development\TrakkerSoftware\TrakkerLIB\Controls\reportItems.cs:line 91<o:p></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt 0.5in"><SPAN lang=EN-GB style="FONT-SIZE: 10pt; COLOR: #365f91; FONT-FAMILY: 'Tahoma','sans-serif'; mso-ansi-: EN-GB">&nbsp;&nbsp; at TrakkerLIB.reportItems.RemoveAllItems() in C:\Development\TrakkerSoftware\TrakkerLIB\Controls\reportItems.cs:line 102<o:p></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt 0.5in"><SPAN lang=EN-GB style="FONT-SIZE: 10pt; COLOR: #365f91; FONT-FAMILY: 'Tahoma','sans-serif'; mso-ansi-: EN-GB">&nbsp;&nbsp; at TrakkerControls.reportGridItems.RefreshAdminItemStages() in C:\Development\TrakkerSoftware\TrakkerControls\TrakkerControls\Grid Report Items\reportGridItems_ItemStages.cs:line 87<o:p></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt 0.5in"><SPAN lang=EN-GB style="FONT-SIZE: 10pt; COLOR: #365f91; FONT-FAMILY: 'Tahoma','sans-serif'; mso-ansi-: EN-GB">&nbsp;&nbsp; at TrakkerLIB.reportItems.RefreshGrid() in C:\Development\TrakkerSoftware\TrakkerLIB\Controls\reportItems.cs:line 84<o:p></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt 0.5in"><SPAN lang=EN-GB style="FONT-SIZE: 10pt; COLOR: #365f91; FONT-FAMILY: 'Tahoma','sans-serif'; mso-ansi-: EN-GB">&nbsp;&nbsp; at TrakkerControls.reportGridItems.addNewItemStage(Object sender, EventArgs e) in C:\Development\TrakkerSoftware\TrakkerControls\TrakkerControls\Grid Report Items\reportGridItems_ItemStages.cs:line 118<o:p></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt 0.5in"><SPAN lang=EN-GB style="FONT-SIZE: 10pt; COLOR: #365f91; FONT-FAMILY: 'Tahoma','sans-serif'; mso-ansi-: EN-GB">&nbsp;&nbsp; at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)<o:p></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt 0.5in"><SPAN lang=EN-GB style="FONT-SIZE: 10pt; COLOR: #365f91; FONT-FAMILY: 'Tahoma','sans-serif'; mso-ansi-: EN-GB">&nbsp;&nbsp; at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)<o:p></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt 0.5in"><SPAN lang=EN-GB style="FONT-SIZE: 10pt; COLOR: #365f91; FONT-FAMILY: 'Tahoma','sans-serif'; mso-ansi-: EN-GB">&nbsp;&nbsp; at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)<o:p></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt 0.5in"><SPAN lang=EN-GB style="FONT-SIZE: 10pt; COLOR: #365f91; FONT-FAMILY: 'Tahoma','sans-serif'; mso-ansi-: EN-GB">&nbsp;&nbsp; at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)<o:p></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt 0.5in"><SPAN lang=EN-GB style="FONT-SIZE: 10pt; COLOR: #365f91; FONT-FAMILY: 'Tahoma','sans-serif'; mso-ansi-: EN-GB">&nbsp;&nbsp; at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)<o:p></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt 0.5in"><SPAN lang=EN-GB style="FONT-SIZE: 10pt; COLOR: #365f91; FONT-FAMILY: 'Tahoma','sans-serif'; mso-ansi-: EN-GB">&nbsp;&nbsp; at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)<o:p></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt 0.5in"><SPAN lang=EN-GB style="FONT-SIZE: 10pt; COLOR: #365f91; FONT-FAMILY: 'Tahoma','sans-serif'; mso-ansi-: EN-GB">&nbsp;&nbsp; at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)<o:p></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt 0.5in"><SPAN lang=EN-GB style="FONT-SIZE: 10pt; COLOR: #365f91; FONT-FAMILY: 'Tahoma','sans-serif'; mso-ansi-: EN-GB">&nbsp;&nbsp; at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)<o:p></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt 0.5in"><SPAN lang=EN-GB style="FONT-SIZE: 10pt; COLOR: #365f91; FONT-FAMILY: 'Tahoma','sans-serif'; mso-ansi-: EN-GB">&nbsp;&nbsp; at System.Windows.Forms.Control.WmMouseUp(Message&amp; m, MouseButtons button, Int32 clicks)<o:p></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt 0.5in"><SPAN lang=EN-GB style="FONT-SIZE: 10pt; COLOR: #365f91; FONT-FAMILY: 'Tahoma','sans-serif'; mso-ansi-: EN-GB">&nbsp;&nbsp; at System.Windows.Forms.Control.WndProc(Message&amp; m)<o:p></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt 0.5in"><SPAN lang=EN-GB style="FONT-SIZE: 10pt; COLOR: #365f91; FONT-FAMILY: 'Tahoma','sans-serif'; mso-ansi-: EN-GB">&nbsp;&nbsp; at System.Windows.Forms.ScrollableControl.WndProc(Message&amp; m)<o:p></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt 0.5in"><SPAN lang=EN-GB style="FONT-SIZE: 10pt; COLOR: #365f91; FONT-FAMILY: 'Tahoma','sans-serif'; mso-ansi-: EN-GB">&nbsp;&nbsp; at System.Windows.Forms.ToolStrip.WndProc(Message&amp; m)<o:p></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt 0.5in"><SPAN lang=EN-GB style="FONT-SIZE: 10pt; COLOR: #365f91; FONT-FAMILY: 'Tahoma','sans-serif'; mso-ansi-: EN-GB">&nbsp;&nbsp; at System.Windows.Forms.ToolStripDropDown.WndProc(Message&amp; m)<o:p></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt 0.5in"><SPAN lang=EN-GB style="FONT-SIZE: 10pt; COLOR: #365f91; FONT-FAMILY: 'Tahoma','sans-serif'; mso-ansi-: EN-GB">&nbsp;&nbsp; at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message&amp; m)<o:p></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt 0.5in"><SPAN lang=EN-GB style="FONT-SIZE: 10pt; COLOR: #365f91; FONT-FAMILY: 'Tahoma','sans-serif'; mso-ansi-: EN-GB">&nbsp;&nbsp; at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message&amp; m)<o:p></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt 0.5in"><SPAN lang=EN-GB style="FONT-SIZE: 10pt; COLOR: #365f91; FONT-FAMILY: 'Tahoma','sans-serif'; mso-ansi-: EN-GB">&nbsp;&nbsp; at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)</P><DIV>&nbsp;</DIV><DIV><FONT color=#000000>So the question is, what should I be looking for as the potential cause?</FONT></DIV><DIV><FONT color=#000000></FONT>&nbsp;</DIV><DIV><FONT color=#000000>Thanks,</FONT></DIV><DIV><FONT color=#000000></FONT>&nbsp;</DIV><DIV><FONT color=#000000>Steve</FONT></DIV></SPAN></DIV>]]>
   </description>
   <pubDate>Tue, 05 Jan 2010 10:18:11 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=15955&amp;PID=55993&amp;title=accessviolationexception#55993</guid>
  </item> 
 </channel>
</rss>