none
linq under partial trust RRS feed

  • Question

  • I tried with linq from a xbap partial trust in .net 3.5 and vs 2008 pro but encounter too many permissions related problem, e.g. reflection etc, despite checking into the medium trust machine config, which already has the same config as mentioned in beta version of .net 3.5 requirement.

     

    Does linq suppose to work in partial trust xbap, by default config of .net 3.5 and iis ?

     

    Has anybody make it to work ?

     

     

    Sunday, April 6, 2008 1:09 AM

Answers

  • To use LINQ to SQL under partial trust the server must have the RestrictedMemberAccess permission enabled.  This allows low-trust code to see non-public members of other low-trust code. 

     

    Thursday, April 10, 2008 12:45 AM
    Moderator

All replies