<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Attempt to read or write protected memory error</title><link>https://www.infopathdev.com:443/forums/thread/21981.aspx</link><pubDate>Wed, 25 Jul 2007 18:14:36 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:21981</guid><dc:creator>erinselena</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/21981.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=21981</wfw:commentRss><description>Totally not a problem .. i understand that this is hard to diagnose without something in front of you.. we are working hard on some trial and error.. I will keep you all&amp;nbsp; posted on the outcome!</description></item><item><title>Re: Attempt to read or write protected memory error</title><link>https://www.infopathdev.com:443/forums/thread/21974.aspx</link><pubDate>Wed, 25 Jul 2007 15:15:14 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:21974</guid><dc:creator>davidair</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/21974.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=21974</wfw:commentRss><description>&lt;p&gt;Since I don&amp;#39;t have a repro of this issue I cannot say much but my hunch is that once you get into that &amp;quot;locked&amp;quot; state there is no way back - you&amp;#39;ll need to find out how not to get into it. For example, if inserting a row is failing, try to do it via ExecuteAction instead of going via the navigators. It will really have to be trial-and-error until it stops crashing, I am sorry I cannot provide more specific guidance.&lt;/p&gt;</description></item><item><title>Re: Attempt to read or write protected memory error</title><link>https://www.infopathdev.com:443/forums/thread/21969.aspx</link><pubDate>Wed, 25 Jul 2007 12:47:13 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:21969</guid><dc:creator>erinselena</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/21969.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=21969</wfw:commentRss><description>&lt;p&gt;Hello All,&lt;/p&gt;&lt;p&gt;Thanks so much for your replys. I do have the tabletPC SDK on my dev machine and yes we&amp;#39;ve tried this on a few different tablets and it has occurred on all of them although to varying degrees. I agree that this is an infopath issue but how to go about fixing it I have NO IDEA, short of trying to get the source code from Microsoft which i&amp;#39;m sure isn&amp;#39;t an easy task. Any ideas how to wake infopath up and force it to update? &lt;/p&gt;</description></item><item><title>Re: Attempt to read or write protected memory error</title><link>https://www.infopathdev.com:443/forums/thread/21948.aspx</link><pubDate>Tue, 24 Jul 2007 20:55:37 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:21948</guid><dc:creator>davidair</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/21948.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=21948</wfw:commentRss><description>&lt;p&gt;Note: I believe you can install TabletPC SDK on a non-tablet machine which would enable some TabletPC features. Check it out here: &lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=B46D4B83-A821-40BC-AA85-C9EE3D6E9699&amp;amp;displaylang=en"&gt;http://www.microsoft.com/downloads/details.aspx?FamilyId=B46D4B83-A821-40BC-AA85-C9EE3D6E9699&amp;amp;displaylang=en&lt;/a&gt;&lt;/p&gt;&lt;p&gt;Maybe this will help to reproduce the problem on the dev machine as well&lt;/p&gt;</description></item><item><title>Re: Attempt to read or write protected memory error</title><link>https://www.infopathdev.com:443/forums/thread/21946.aspx</link><pubDate>Tue, 24 Jul 2007 20:53:16 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:21946</guid><dc:creator>davidair</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/21946.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=21946</wfw:commentRss><description>&lt;p&gt;This looks like a timing issue that only reproduces on slow machines. Since this is most likely a bug in InfoPath your best bet is to look for workarounds. One thing you could do is to&amp;nbsp;add Thread.Sleep() calls around your code to see if this makes the problem reproduce on the dev machine (or maybe makes it go away). I believe InfoPath has special code for TabletPC so it could be an issue, too... can you disable ink entry in InfoPath and see if it changes anything?&lt;/p&gt;</description></item><item><title>Re: Attempt to read or write protected memory error</title><link>https://www.infopathdev.com:443/forums/thread/21945.aspx</link><pubDate>Tue, 24 Jul 2007 20:36:36 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:21945</guid><dc:creator>Shiraz Cupala</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/21945.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=21945</wfw:commentRss><description>Wow that is frustrating. Have you tried it on a different Tablet PC to see if it may just be specific to that machine&amp;#39;s configuration?</description></item><item><title>Re: Attempt to read or write protected memory error</title><link>https://www.infopathdev.com:443/forums/thread/21944.aspx</link><pubDate>Tue, 24 Jul 2007 20:27:23 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:21944</guid><dc:creator>erinselena</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/21944.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=21944</wfw:commentRss><description>Here is another interesting thing&amp;nbsp;that&amp;#39;s occuring. So we&amp;#39;ve been able to put some new code in so that they errors aren&amp;#39;t being thrown however now the infopath form FREEZES and doesn&amp;#39;t respond, i can&amp;#39;t do anything with it except sometimes switch views, and if i can switch the view and i switch it back the UI updates and i can see the changes i&amp;#39;ve made. Man this is really FRUSTRATING. The problem is, i can&amp;#39;t get a replica working in a normal environment, it&amp;#39;s only happening on the tablet PC.</description></item><item><title>Re: Attempt to read or write protected memory error</title><link>https://www.infopathdev.com:443/forums/thread/21943.aspx</link><pubDate>Tue, 24 Jul 2007 19:47:03 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:21943</guid><dc:creator>erinselena</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/21943.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=21943</wfw:commentRss><description>&lt;p&gt;There is also another piece of information that i forgot to add.&lt;/p&gt;&lt;p&gt;We are using the software on a tablet PC and although the error sometimes does occur in my development environment on a very good computer these errors don&amp;#39;t occur.&lt;/p&gt;&lt;p&gt;I will try and get a replica going.&lt;/p&gt;</description></item><item><title>Re: Attempt to read or write protected memory error</title><link>https://www.infopathdev.com:443/forums/thread/21942.aspx</link><pubDate>Tue, 24 Jul 2007 19:22:56 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:21942</guid><dc:creator>davidair</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/21942.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=21942</wfw:commentRss><description>&lt;p&gt;My guess is that you are hitting a bug in InfoPath itself - not necessarily something you&amp;#39;re doing wrong. What would be really helpful is if you could create a simple reproduction of your issue. Could you please create a bare-bones winForms application with a super-simple form and some code that causes the crash?&lt;/p&gt;</description></item><item><title>Re: Attempt to read or write protected memory error</title><link>https://www.infopathdev.com:443/forums/thread/21941.aspx</link><pubDate>Tue, 24 Jul 2007 19:19:10 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:21941</guid><dc:creator>Shiraz Cupala</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/21941.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=21941</wfw:commentRss><description>&lt;p&gt;Hi Erin,&lt;/p&gt;&lt;p&gt;Could you take screen shots of the two errors you&amp;#39;re getting and also paste in the detailed information so we can analyze the error info more closely?&lt;/p&gt;&lt;p&gt;Thanks, Shiraz&lt;/p&gt;</description></item><item><title>Attempt to read or write protected memory error</title><link>https://www.infopathdev.com:443/forums/thread/21940.aspx</link><pubDate>Tue, 24 Jul 2007 18:50:18 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:21940</guid><dc:creator>erinselena</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/21940.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=21940</wfw:commentRss><description>&lt;p&gt;Hello Everyone,&lt;/p&gt;&lt;p&gt;I am having a very curious error within my infopath form that i am trying to nail down but haven&amp;#39;t been able to. First off, i am using infopath 2007 (c#) and hosting my form inside the formControl in a windows application (also c#).&lt;/p&gt;&lt;p&gt;I am getting the &amp;quot;Attempt to read or write protected memory&amp;quot; error on 2 specific lines in my code - one is where i simply try to insert a new node&lt;/p&gt;&lt;p&gt;node.InsertAfter(node.OuterXml);&lt;/p&gt;&lt;p&gt;and one is where i try to set a value using setValue()&lt;/p&gt;&lt;font size="2"&gt;&lt;p&gt;formControl1.XmlForm.MainDataSource.CreateNavigator( ).SelectSingleNode( &lt;font color="#a31515" size="2"&gt;&amp;quot;/my:MF/my:CRN&amp;quot;&lt;/font&gt;&lt;font size="2"&gt;, xmlnsm ).SetValue( currentRecordNumber.ToString( ) );&lt;/font&gt;&lt;/p&gt;&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&amp;quot;/my:MF/my:CRN&amp;quot;&lt;/font&gt;&lt;font size="2"&gt;, xmlnsm ).SetValue( currentRecordNumber.ToString( ) );&lt;/font&gt;&lt;p&gt;&lt;font size="2"&gt;&amp;nbsp;These two things seem to be related in that if i can fix one line so that i don&amp;#39;t get the protected memory error the other line throws an error and vice versa (not sure if this is important).&lt;/font&gt;&lt;/p&gt;&lt;p&gt;This is the LAST thing that is impeding my project, once i get this sorted out the app will work perfectly. Any help would kindly be appreciated!&lt;/p&gt;&lt;p&gt;Thanks,&lt;/p&gt;&lt;p&gt;Erin&lt;font size="2"&gt;&lt;/font&gt;&lt;/p&gt;</description></item></channel></rss>