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

Error Creating Control- Design time error

2 Answers 227 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Morgan
Top achievements
Rank 1
Morgan asked on 28 Jul 2010, 04:12 PM
Hello,

So when I create a new content page, everything works perfectly fine, however, when I close out of that page and reopen it, some of my controls do not load properly, or I am unable to access there properties tab.

I get something similar to the following error for each control in the designer:

Error Creating Control - RadDatePicker2

[A]Telerik.Web.UI.RadDatePicker cannot be cast to [B]Telerik.Web.UI.RadDatePicker. Type A originates from  'Telerik.Web.UI, Version=2010.1.415.20, Culture = neutral, PublicKeyToken=121fae78165ba3d4' in the context 'LoadNeither' at location
'C:\Users\xxxxxxxx\AppData\Local\Microsoft\VisualStudio\10.0\ProjectAssemblies\adxffflz01\telerik.web.ui.dll'.
Type B originates from 'Telerik.Web.UI,Version=2010.1.415.40, Cultue=neutral, PublicKeyToken=121fae78165ba3d4'
in the context 'LoadNeither' at location
'C:\Users\xxxxxxxx\AppData\Local\Microsoft\VisualStudio\10.0\ProjectAssemblies\1qe758dw01\TelerikWeb.UI.dll'.


Also, whenever I add a new control to the form it says "A file with the name 'Bin/Telerik.Web.UI.dll' already exists. Do you want to replace it?"

I have tested and these issues are specific to my machine.

It seems that for some reason the controls reference two assemblies but I have no idea how to fix it. any help would be greatly appreciated.

Thanks,

Morgan

EDIT: It seems that this is actually a solution specifc. What I mean is that , If I create a website in some other solution it works fine. If I create new pages or sites in the current solution, then the errors occur.

2 Answers, 1 is accepted

Sort by
0
Accepted
Sebastian
Telerik team
answered on 28 Jul 2010, 04:30 PM
Hello Morgan,

I think that the information from this forum thread will help you address the design-time error you stumbled upon.

Kind regards,
Sebastian
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Morgan
Top achievements
Rank 1
answered on 28 Jul 2010, 04:47 PM
Thanks so much! I've been stuck doing work arounds for about a week now.
Tags
General Discussions
Asked by
Morgan
Top achievements
Rank 1
Answers by
Sebastian
Telerik team
Morgan
Top achievements
Rank 1
Share this question
or