<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Problem trying to call a form in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/problem-trying-to-call-a-form/m-p/2944328#M61633</link>
    <description>&lt;P&gt;I get the following error when I try to call a form using ShowModalDialog(MyForm):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Request for the permission of type 'System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've tried different syntax. I've even rebuilt my project from scrap (because this is a conversion of a VBA module... it had a sloppy start). Nothing helps.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've never had so many problems trying to program anything in the last 30 years as I have&amp;nbsp;run into with AutoCAD's .Net API.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I wasn't already bald, I would be tearing my hair out!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please,&amp;nbsp;help me or shoot me. Either choice would be a relief at this point.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 08 Mar 2011 21:14:00 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2011-03-08T21:14:00Z</dc:date>
    <item>
      <title>Problem trying to call a form</title>
      <link>https://forums.autodesk.com/t5/net-forum/problem-trying-to-call-a-form/m-p/2944328#M61633</link>
      <description>&lt;P&gt;I get the following error when I try to call a form using ShowModalDialog(MyForm):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Request for the permission of type 'System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've tried different syntax. I've even rebuilt my project from scrap (because this is a conversion of a VBA module... it had a sloppy start). Nothing helps.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've never had so many problems trying to program anything in the last 30 years as I have&amp;nbsp;run into with AutoCAD's .Net API.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I wasn't already bald, I would be tearing my hair out!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please,&amp;nbsp;help me or shoot me. Either choice would be a relief at this point.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Mar 2011 21:14:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/problem-trying-to-call-a-form/m-p/2944328#M61633</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-03-08T21:14:00Z</dc:date>
    </item>
    <item>
      <title>Re: Problem trying to call a form</title>
      <link>https://forums.autodesk.com/t5/net-forum/problem-trying-to-call-a-form/m-p/2944394#M61634</link>
      <description>&lt;P&gt;Is your form on a network server?&amp;nbsp; That looks like a code access security message.&amp;nbsp; Search here for CASPOL or move the form to a local drive.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Mar 2011 21:39:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/problem-trying-to-call-a-form/m-p/2944394#M61634</guid>
      <dc:creator>fieldguy</dc:creator>
      <dc:date>2011-03-08T21:39:36Z</dc:date>
    </item>
    <item>
      <title>Re: Problem trying to call a form</title>
      <link>https://forums.autodesk.com/t5/net-forum/problem-trying-to-call-a-form/m-p/2945234#M61635</link>
      <description>&lt;P&gt;That was, indeed, the problem. I moved the source from my area on the server (which is backed up) to my local drive (which isn't backed up), and I got past that error. Other errors came up, but it's early in the debugging process and hopefully they will all be 'normal' errors.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the help!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now, if only Microsoft had all their error messages make a bit more sense..... &amp;lt;sigh&amp;gt;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Mar 2011 13:41:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/problem-trying-to-call-a-form/m-p/2945234#M61635</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-03-09T13:41:47Z</dc:date>
    </item>
  </channel>
</rss>

