Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Silverlight > Installer and Visual Studio Extensions > Silverlight update from 1116 to 1220 Error- 'Cannot load file or assembly'

Not answered Silverlight update from 1116 to 1220 Error- 'Cannot load file or assembly'

Feed from this thread
  • Steve avatar

    Posted on Jan 18, 2012 (permalink)

    Hi Telerik Team,

    We have started using the Silverlight Telerik controls and started with version 2011.1.1116, we updated to 2011.3.1220.1040 and now our controls do not show up? Only this message -

    "Could not load file or assembly 'Telerik.Windows.Controls, Version=2011.3.1220.1040, Culture=neutral, PublicKeyToken=5803cfa389c90ce7' or one of its dependencies. 
    The requested assembly version conflicts with what is already bound in the app domain or specified in the manifest. (Exception from HRESULT: 0x80131053)"

    We are using the Silverlight controls in Lightswitch and so far have had no issues, until the update? I have searched the Forums and see references to remove the existing version from the GAC (there was none). I have made sure that the references in the Custom Control and LS project are the exact same? Any ideas what would cause a conflict?

    Thanks,
    SD.

    Reply

  • Erjan Gavalji Erjan Gavalji admin's avatar

    Posted on Jan 18, 2012 (permalink)

    Hi SD,

    Did you rebuild the LightSwitch application? Could it be that the application was alive while you deployed it to the web server? Or, could it be that for some reason the update to the web server did not happen properly, e.g. the XAP file did not contain the newly setup assemblies?

    Kind regards,
    Erjan Gavalji
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

    Reply

  • Steve avatar

    Posted on Jan 18, 2012 (permalink)

    I have done a complete Rebuild and also a Clean then Build and watched the files in the bin disappear and regenerate, so I know the files are being updated. Also, I am actually running in Debug on my machine (not deployed yet) and everything runs fine except when navigating to the screen that has the control? 

    The control has been removed and re-added to no avail...

    Reply

  • Steve avatar

    Posted on Jan 18, 2012 (permalink)

    Found the Fix...

    In the LightSwitch project, after showing and un-hiding all the folders we found that even though the references in the Client project were correct. The references in the 'ClientGenerated' needed to be updated. 

    Looks like it was more of a LightSwitch problem than Telerik, however, this is one of those things to beware of when updating....

    thanks for the quick response :)

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Silverlight > Installer and Visual Studio Extensions > Silverlight update from 1116 to 1220 Error- 'Cannot load file or assembly'