<?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 Re: ABS/ADT compatibility? in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/abs-adt-compatibility/m-p/1670291#M81488</link>
    <description>smcclure wrote:&lt;BR /&gt;
&amp;gt; If so, move it locally and give it a try..&lt;BR /&gt;
&lt;BR /&gt;
you, Sir/Madame&lt;BR /&gt;
are the *Man*/*Woman*...&lt;BR /&gt;
&lt;BR /&gt;
(vague, unisex ID..)&lt;BR /&gt;
&lt;BR /&gt;
Thank You!</description>
    <pubDate>Fri, 09 Jun 2006 15:07:16 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2006-06-09T15:07:16Z</dc:date>
    <item>
      <title>ABS/ADT compatibility?</title>
      <link>https://forums.autodesk.com/t5/net-forum/abs-adt-compatibility/m-p/1670289#M81486</link>
      <description>In developing a VB.NET app,&lt;BR /&gt;
intended for both ABS and ADT;&lt;BR /&gt;
The *.dll netloads/runs flawlessly in ABS 2007,&lt;BR /&gt;
but won't even netload in ADT 2007 without bombing out in error:&lt;BR /&gt;
(see error exeption text below)&lt;BR /&gt;
&lt;BR /&gt;
The error has been  narrowed down (I think?) to the line:&lt;BR /&gt;
&lt;BR /&gt;
    Application.AcadApplication.GetInterfaceObject(fProgID)&lt;BR /&gt;
&lt;BR /&gt;
where fProgID is a String equal to: "AecX.AecBaseApplication.5.0"&lt;BR /&gt;
&lt;BR /&gt;
I thought the string argument for GetInterfaceObject,&lt;BR /&gt;
was universal for ADT/ABS, but maybe not?&lt;BR /&gt;
&lt;BR /&gt;
If not, what's the proper string for ADT?&lt;BR /&gt;
&lt;BR /&gt;
************** Exception Text **************&lt;BR /&gt;
&lt;BR /&gt;
System.Reflection.TargetInvocationException: Exception has been thrown by &lt;BR /&gt;
the target of an invocation. ---&amp;gt; System.Security.SecurityException:&lt;BR /&gt;
&lt;BR /&gt;
That assembly does not allow partially trusted callers.&lt;BR /&gt;
&lt;BR /&gt;
at&lt;BR /&gt;
&lt;BR /&gt;
System.Security.CodeAccessSecurityEngine.ThrowSecurityException(Assembly &lt;BR /&gt;
asm, PermissionSet granted, PermissionSet refused, RuntimeMethodHandle rmh, &lt;BR /&gt;
SecurityAction action, Object demand, IPermission permThatFailed)&lt;BR /&gt;
&lt;BR /&gt;
at MyProject.MyClass.GetAecDoc(String fProgID)&lt;BR /&gt;
&lt;BR /&gt;
at MyProject.MyClass.MySub()&lt;BR /&gt;
&lt;BR /&gt;
The action that failed was:&lt;BR /&gt;
&lt;BR /&gt;
LinkDemand&lt;BR /&gt;
&lt;BR /&gt;
The assembly or AppDomain that failed was:&lt;BR /&gt;
&lt;BR /&gt;
MyProject, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null The method &lt;BR /&gt;
that caused the failure was:&lt;BR /&gt;
&lt;BR /&gt;
System.Object GetInterfaceObject(System.String) The Zone of the assembly &lt;BR /&gt;
that failed was:&lt;BR /&gt;
&lt;BR /&gt;
Intranet</description>
      <pubDate>Fri, 09 Jun 2006 14:00:32 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/abs-adt-compatibility/m-p/1670289#M81486</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-06-09T14:00:32Z</dc:date>
    </item>
    <item>
      <title>Re: ABS/ADT compatibility?</title>
      <link>https://forums.autodesk.com/t5/net-forum/abs-adt-compatibility/m-p/1670290#M81487</link>
      <description>It is not a matter of different arugments, but it has to do with .NET security. SecurityException's are very difficult to debug and solve, &lt;BR /&gt;
&lt;BR /&gt;
It seems that you are running in the Intranet zone. Are you running this off a network share? If so, move it locally and give it a try.. You can also try signing your application (in the My Project signing tab).&lt;BR /&gt;
&lt;BR /&gt;
A good resource about SecurityExceptions (and avoiding them) is available at:&lt;BR /&gt;
http://blogs.msdn.com/shawnfa/archive/2004/07/30/202468.aspx</description>
      <pubDate>Fri, 09 Jun 2006 14:39:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/abs-adt-compatibility/m-p/1670290#M81487</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-06-09T14:39:47Z</dc:date>
    </item>
    <item>
      <title>Re: ABS/ADT compatibility?</title>
      <link>https://forums.autodesk.com/t5/net-forum/abs-adt-compatibility/m-p/1670291#M81488</link>
      <description>smcclure wrote:&lt;BR /&gt;
&amp;gt; If so, move it locally and give it a try..&lt;BR /&gt;
&lt;BR /&gt;
you, Sir/Madame&lt;BR /&gt;
are the *Man*/*Woman*...&lt;BR /&gt;
&lt;BR /&gt;
(vague, unisex ID..)&lt;BR /&gt;
&lt;BR /&gt;
Thank You!</description>
      <pubDate>Fri, 09 Jun 2006 15:07:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/abs-adt-compatibility/m-p/1670291#M81488</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-06-09T15:07:16Z</dc:date>
    </item>
    <item>
      <title>Re: ABS/ADT compatibility?</title>
      <link>https://forums.autodesk.com/t5/net-forum/abs-adt-compatibility/m-p/1670292#M81489</link>
      <description>Hehe... Man.&lt;BR /&gt;
&lt;BR /&gt;
Your welcome!&lt;BR /&gt;
 - Scott</description>
      <pubDate>Fri, 09 Jun 2006 15:09:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/abs-adt-compatibility/m-p/1670292#M81489</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-06-09T15:09:14Z</dc:date>
    </item>
    <item>
      <title>Re: ABS/ADT compatibility?</title>
      <link>https://forums.autodesk.com/t5/net-forum/abs-adt-compatibility/m-p/1670293#M81490</link>
      <description>smcclure wrote:&lt;BR /&gt;
&amp;gt; Hehe... Man.&lt;BR /&gt;
&lt;BR /&gt;
I thought so,&lt;BR /&gt;
but one cannot be too careful...&lt;BR /&gt;
&lt;BR /&gt;
(ask evielezebub...)</description>
      <pubDate>Fri, 09 Jun 2006 15:11:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/abs-adt-compatibility/m-p/1670293#M81490</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-06-09T15:11:24Z</dc:date>
    </item>
  </channel>
</rss>

