This is a migrated thread and some comments may be shown as answers.

Could not load file or assembly Telerik.WinControls.Scheduler

1 Answer 122 Views
Scheduler and Reminder
This is a migrated thread and some comments may be shown as answers.
Jeremy Murtishaw
Top achievements
Rank 1
Jeremy Murtishaw asked on 03 Jun 2011, 03:20 AM
I'm in the long process of upgrading my project from Q1 2010 to Q1 2011, and am running into the following error with a form that uses the Scheduler:

Error 1 Type  in the data at line 152, position 5, cannot be loaded because it threw the following exception during construction: Could not load file or assembly 'Telerik.WinControls.Scheduler, Version=2010.1.10.409, Culture=neutral, PublicKeyToken=5bb2a467cbec794e' or one of its dependencies. The system cannot find the file specified.

For some reason, it's looking for the previous version of the control even though the assemblies (including Telerik,WinControls.Scheduler) are all the Q1 '11 versions.  This seems to be the only Telerik control that's having this type of issue with the upgrade.  What is the issue?
T
hanks,
Jeremy

1 Answer, 1 is accepted

Sort by
0
Accepted
Nikolay
Telerik team
answered on 03 Jun 2011, 09:49 AM
Hello Jeremy,

We had a known issue in the previous versions of RadControls for WinForms which was serializing the version of the SchedulerBindingDataSource in the resx files of the forms. This issue is addressed in our latest version, but when you update from an older version that has the issue, you should delete the serialized code manually. So, please check which are the resx files that cause the error and delete the entries similar to the entry below:

<data name="SchedulerBindingDataSource1.EventProvider.IsMasterEventIdCallback" mimetype="application/x-microsoft.net.object.binary.base64">
    <value>
        AAEAAAD/////AQAAAAAAAAAEAQAAACJTeXN0ZW0uRGVsZWdhdGVTZXJpYWxpemF0aW9uSG9sZGVyAgAA
        AAhEZWxlZ2F0ZQdtZXRob2QwAwMwU3lzdGffLkRlbGVnYXRlU2VyaWFsaXphdGlvbkhvbGRlcitEZWxl
        Z2F0ZUVudHJ5L1N5c3RlbS5SZWZsZWN0aW9uLk1lbWJlckluZm9TZXJpYWxpemF0aW9uSG9sZGVyCQIA
        AAAJAwAAAAQCAAAAMFN5c3RlbS5EZWxlZ2F0ZVNlcmlhbGl6YXRpb25Ib2xkZXIrRGVsZWdhdGVFbnRy
        eQcAAAAEdHlwZQhhc3NlbWJseQZ0YXJnZXQSdGFyZ2V0VHlwZUFzc2VtYmx5DnRhcmdldFR5cGVOYW1l
        Cm1ldGhvZE5hbWUNZGVsZWdhdGVFbnRyeQEBAgEBAQMwU3lzdGVtLkRlbGVnYXRlU2VyaWFsaXphdGlv
        bkhvbGRlcitEZWxlZ2F0ZUVudHJ5BgQAAABwU3lzdGVtLlByZWRpY2F0ZWAxW1tTeXN0ZW0uT2JqZWN0
        LCBtc2NvcmxpYiwgVmVyc2lvbj00LjAuMC4wLCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2Vu
        PWI3N2E1YzU2MTkzNGUwODldXQYFAAAAS21zY29ybGliLCBWZXJzaW9uPTQuMC4wLjAsIEN1bHR1cmU9
        bmV1dHJhbCwgUHVibGljS2V5VG9rZW49Yjc3YTVjNTYxOTM0ZTA4OQoGBgAAAGZUZWxlcmlrLldpbkNv
        bnRyb2xzLlNjaGVkdWxlciwgVmVyc2lvbj0yMDA5LjMuOS4xMjAzLCBDdWx0dXJlPW5ldXRyYWwsIFB1
        YmxpY0tleVRva2VuPTViYjJhNDY3Y2JlYzc5NGUGBwAAAEZUZWxlcmlrLldpbkNvbnRyb2xzLlVJLlNj
        aGVkdWxlckJpbmRpbmdEYXRhU291cmNlK0V2ZW50QmluZGluZ1Byb3ZpZGVyBggAAAALPC5jdG9yPmJf
        XzAKBAMAAAAvU3lzdGVtLlJlZmx2g3Rpb24uTWVtYmVySW5mb1NlcmlhbGl6YXRpb25Ib2xkZXIGAAAA
        BE5hbWUMQXNzZW1ibHlOYW1lCUNsYXNzTmFtZQlTaWduYXR1cmUKTWVtYmVyVHlwZRBHZW5lcmljQXJn
        dW1lbnRzAQEBAQADCA1TeXN0ZW0uVHlwZVtdCQgAAAAJBgAAAAkHAAAABgsAAAAiQm9vbGVhbiA8LmN0
        b3I+Yl9fMChTeXN0ZW0uT2JqZWN0KQgAaAAkCw==
</value>
  </data>

I hope this helps. Please write back if you need further assistance.

Greetings,
Nikolay
the Telerik team
Q1’11 SP1 of RadControls for WinForms is available for download; also available is the Q2'11 Roadmap for Telerik Windows Forms controls.
Tags
Scheduler and Reminder
Asked by
Jeremy Murtishaw
Top achievements
Rank 1
Answers by
Nikolay
Telerik team
Share this question
or