Important Notice from AspDotNetStorefront
It is with dismay that we report that we have been forced, through the action of hackers, to shut off write-access to this forum. We are keen to leave the wealth of material available to you for research. We have opened a new forum from which our community of users can seek help, support and advice from us and from each other. To post a new question to our community, please visit: http://forums.vortx.com
Results 1 to 3 of 3

Thread: Question about adding control assembly

  1. #1
    Krux is offline Junior Member
    Join Date
    Dec 2008
    Posts
    23

    Default Question about adding control assembly

    Hi All,

    I am trying to refrence a control and use it on an aspx page, but keep getting the following message when I add it:

    Could not load file or assembly 'LightControl, Version=0.1.2006.726, Culture=neutral, PublicKeyToken=69adabc7dfa9ff4c' or one of its dependencies. Failed to grant minimum permission requests. (Exception from HRESULT: 0x80131417)

    Has anyone else had this problem when adding a .dll that has controls in it?

  2. #2
    George the Great is offline Senior Member
    Join Date
    Nov 2006
    Location
    Cleveland, OH
    Posts
    1,792

    Default

    Are you doing this on your local machine or as part of a network share perhaps? Sounds like maybe a full vs. partial trust issue...
    <a href="http://www.aspdotnetstorefront.com">Shopping Cart Software</a>

  3. #3
    Krux is offline Junior Member
    Join Date
    Dec 2008
    Posts
    23

    Default Thanks

    Thanks George, I figured out shortly after posting the issue that it is due to compiling my assembly locally with the default full trust and then adding the control assembly to a network share that has partial trust.

    Thank you in advance.