Welcome to the Axosoft Community, Sign in | Register | Help
in Search

System.Security.SecurityException: That assembly does not allow partially trusted callers.

Last post 08-15-2007, 9:47 AM by Tom Harder. 1 replies.
Sort Posts: Previous Next
  •  08-14-2007, 12:18 PM 12854

    • Gavin is not online. Last active: 04-07-2008, 6:39 AM Gavin
    • Not Ranked
      Male
    • Joined on 08-15-2007
    • Aberdeen, Scotland
    • Posts 1
    • Points 21
    System.Security.SecurityException: That assembly does not allow partially trusted callers.

    I'm getting problems setting up OnTime for one of my customers on their shared hosting. My installation runs on my own servers so this isn't a problem i've seen before. I think it's to do with the fact that the shared hosting doesn't have Full Trust switched on and there are assemblies that are used that need the AllowPartiallyTrustedCallersAttribute attribute set. This can be done in an AssemblyInfo.cs file but i'm not sure if this will work. Can anyone let me know if they have come across this before and what the fix is please.

    Best Regards

    Gavin

  •  08-15-2007, 9:47 AM 12872 in reply to 12854

    Re: System.Security.SecurityException: That assembly does not allow partially trusted callers.

    Hello Gavin,

    OnTime Web & Customer Portal require Full Trust because we make use of unmanaged code in some places. 

    If you look at the trust levels here:
    http://msdn2.microsoft.com/en-us/library/tkscy493(VS.80).aspx you’ll see that High trust level restricts applications from calling unmanaged code, which means any lower trust levels do, too. You may be able to get around it by adding certain permissions individually.

    Let me know if you have any further questions.



    Thank you,

    Tom Harder
    Axosoft Support
    support@axosoft.com
    1.800.653.0024 option 3
    --'Fear the Bug' Podcast--
View as RSS news feed in XML

© 2002 - 2007, Axosoft, LLC. All Rights Reserved. | Privacy
Bug Tracking | Defect Tracking Videos | Help Desk Software