locked
That assembly does not allow partially trusted callers RRS feed

  • Question

  • Hi,

     

    An HV app works fine in dev enivorment. But when I deploy the HealthVault appliction with the hosting company, I get the error System.Security.SecurityException: That assembly does not allow partially trusted callers

     

    Obviously, this is because my dev enivorment has trustlevel confiured as Full where as in the hosting environment, it is set ot Medium. I can reproduce the error by locking down my dev eniv to medium trust

     

    I read about the trust v/s capablity levels at http://msdn.microsoft.com/en-us/library/ms998326.aspx .

     

    Since the SDK dlls use many previlevged capablities, (like accessing web resources), I wonder if there is any specific configuration that needs to be done to enable the SDK to function correctly in a medium trust enivorment.

     

    -Raj
    Monday, June 30, 2008 9:14 PM

Answers