+1-888-365-2779
Try Now
More in this section

Forums / Bugs & Issues / could not load file or assembly Telerik.Security (assembly manifest definition error)

could not load file or assembly Telerik.Security (assembly manifest definition error)

4 posts, 0 answered
  1. SelAromDotNet
    SelAromDotNet avatar
    912 posts
    Registered:
    18 Jul 2012
    02 Jun 2008
    Link to this post
    I don't think this is a bug, but I cannot figure out how to resolve this. I followed the upgrade/patch instructions from the announcement, but after trying to load the page I'm getting this error:

    Could not load file or assembly 'Telerik.Security, Version=3.2.1526.2, Culture=neutral, PublicKeyToken=dfeaee0e3978ac79' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

    I looked at the properties of the Telerik.Security.dll and it shows there is a Shadow Copy of an older version, but doesn't give me any way to remove it. can you tell me what I need to do to resolve this error?

    thank you!
  2. SelAromDotNet
    SelAromDotNet avatar
    912 posts
    Registered:
    18 Jul 2012
    02 Jun 2008
    Link to this post
    okay I think I figured it out; I have a pluggable module that was referencing the old dlls. I updated the references and I'm not getting that error anymore... however, I am now getting a strange new error:

    I have a custom class implmenting IEvent that I used to bring in external calendar events to mix with the event calendar. This class is in the App_Code directory and compiled and ran just fine before the upgrade, now after applying the patch, I'm getting this error:

    Error 6 'CalendarAppointment' does not implement interface member 'Telerik.Events.IEvent.ContentItem'. 'CalendarAppointment.ContentItem' is either static, not public, or has the wrong return type.

    Which makes no sense because my class DOES implement that method, AND it IS public, and NOT static, and the return type is IContent as specified by the IEvent interface. so what gives?
  3. Pepi
    Pepi avatar
    981 posts
    Registered:
    28 Oct 2016
    03 Jun 2008
    Link to this post
    Hello Josh,

    Please, check once again if you have created a method declaration for every member of the interface in your class. If everything is properly set, open a new support ticket and send us the CalendarAppointment class to debug the problem locally.

    Thanks for your cooperation in advance.

    Kind regards,
    Pepi
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  4. SelAromDotNet
    SelAromDotNet avatar
    912 posts
    Registered:
    18 Jul 2012
    03 Jun 2008
    Link to this post
    I am absolutely 100% completely sure that I did everything right, all interface methods were implemented and everything!

    how am I so sure? because I didn't change a THING and now it works :)

    guess it just needed some time to "settle". don't you hate when that happens?

    anywa thanks for taking an active interest, you can close this issue now
Register for webinar
4 posts, 0 answered