Hi there,
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.
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.
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.
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.
So, can anyone shade some light into what else I could do?
thanks!