<?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: &amp;quot;That assembly does not allow partially trusted callers&amp;quot; - ESRI.ArcGIS.Client.dll in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/amp-quot-that-assembly-does-not-allow-partially/m-p/226319#M5769</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I know that ESRI's SharePoint installation registers the .NET 3.5 WPF dll in the GAC, but that's about it.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Jan 2011 16:50:03 GMT</pubDate>
    <dc:creator>dotMorten_esri</dc:creator>
    <dc:date>2011-01-12T16:50:03Z</dc:date>
    <item>
      <title>&amp;quot;That assembly does not allow partially trusted callers&amp;quot; - ESRI.ArcGIS.Client.dll</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/amp-quot-that-assembly-does-not-allow-partially/m-p/226315#M5765</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi there,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I just deployed a silverlight mapping app as a sharepoint web part. Prior to this, it was working fine as a standalone app. But trying to run the webpart, I get the aforementioned error when it tries to talk to the ESRI.ArcGIS.Client.dll. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I read several jabbers about how one should add AllowPartiallyTrustedCallers attribute to the project whose assembly is being used. Obviously, the fact that I don't have access to the source code for that dll makes it impossible to do so.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I added the dll as a safecontrol in my sharepoint site's web.config. Surprizingly, that didn't help. And then I supplied the dll as a safecontrol to the GAC. Even that didn't work. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The only workaround I have found so far is by increasing the trustlevel to full in web.config. The application worked fine that way. But again, I can't keep it that way for ovbious reasons. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So, can anyone shade some light into what else I could do?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jan 2011 18:45:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/amp-quot-that-assembly-does-not-allow-partially/m-p/226315#M5765</guid>
      <dc:creator>SangamLama</dc:creator>
      <dc:date>2011-01-11T18:45:54Z</dc:date>
    </item>
    <item>
      <title>Re: "That assembly does not allow partially trusted callers" - ESRI.ArcGIS.Client.dll</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/amp-quot-that-assembly-does-not-allow-partially/m-p/226316#M5766</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm not a SharePoint expert, but since the Silverlight app runs entirely in the browser and the dll's are packaged in the .xap file, I doubt any of what you are trying to do applies here. For instance you don't GAC Silverlight DLLs.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jan 2011 22:20:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/amp-quot-that-assembly-does-not-allow-partially/m-p/226316#M5766</guid>
      <dc:creator>dotMorten_esri</dc:creator>
      <dc:date>2011-01-11T22:20:28Z</dc:date>
    </item>
    <item>
      <title>Re: "That assembly does not allow partially trusted callers" - ESRI.ArcGIS.Client.dll</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/amp-quot-that-assembly-does-not-allow-partially/m-p/226317#M5767</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You aren't by chance using the &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;WPF &lt;/SPAN&gt;&lt;SPAN&gt;ESRI.ArcGIS.Client.dll API anywhere in your web project are you?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jan 2011 00:32:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/amp-quot-that-assembly-does-not-allow-partially/m-p/226317#M5767</guid>
      <dc:creator>DanielWalton</dc:creator>
      <dc:date>2011-01-12T00:32:25Z</dc:date>
    </item>
    <item>
      <title>Re: "That assembly does not allow partially trusted callers" - ESRI.ArcGIS.Client.dll</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/amp-quot-that-assembly-does-not-allow-partially/m-p/226318#M5768</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Woops! I re-read my own post and it almost doesn't make sense without the clarification -- it's the WPF version of the dll that's having issue. I'm using it on the webservice layer where the data's coming out from. When I said my SL app, I meant the entire web part. My bad! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So the silverlight side isn't facing any issues, obviously because the Client.dll it needs is part of the xap file itself.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I know I need to somehow grant it the Code Access Security separately so that other assemblies are still barred from full trust level. I'm trying several things right now. If anyone here knows what I might need, please drop a note.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jan 2011 13:06:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/amp-quot-that-assembly-does-not-allow-partially/m-p/226318#M5768</guid>
      <dc:creator>SangamLama</dc:creator>
      <dc:date>2011-01-12T13:06:54Z</dc:date>
    </item>
    <item>
      <title>Re: "That assembly does not allow partially trusted callers" - ESRI.ArcGIS.Client.dll</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/amp-quot-that-assembly-does-not-allow-partially/m-p/226319#M5769</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I know that ESRI's SharePoint installation registers the .NET 3.5 WPF dll in the GAC, but that's about it.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jan 2011 16:50:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/amp-quot-that-assembly-does-not-allow-partially/m-p/226319#M5769</guid>
      <dc:creator>dotMorten_esri</dc:creator>
      <dc:date>2011-01-12T16:50:03Z</dc:date>
    </item>
  </channel>
</rss>

