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

error in project (unable to create type...)

3 Answers 119 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Darren
Top achievements
Rank 1
Darren asked on 23 Sep 2008, 01:24 PM

I've been using the new 2008 Q2 for a while, and I am very happy about these new tool set until this project.

1. I got this error message on every rad.control i put on my page at "design-time":

Error Creating Control - RadScriptManager
unable to create type 'telerik.scriptmanager' (or any control 'telerik.xxxxxxxxx')
Could not load file or assembly
 'System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.

The error shows in controlbox under design view, not showing in error list. And most RadControls are still working at run-time.

2. The drag & drop and double click to create new control from toolbar also not working.

3. No smart tag because the first error.

4. There's script error message in IE when I use RadFormDecorator.
I actually import this page to other project, and it works just fine without any error, so I believe this error is related to error #1.

This project is an old project and was original created in VS 2003, we converted into VS 2008. I think there might be some settings in web.config cause the problem?
How can I fix this problem? Please help.




3 Answers, 1 is accepted

Sort by
0
Accepted
Vlad
Telerik team
answered on 23 Sep 2008, 01:30 PM
Hello Darren,

When using VS2008 and .NET 3.5 you should use Telerik.Web.UI located in bin35 folder in our installation. Please check this article for more info:
http://www.telerik.com/help/aspnet-ajax/installaddingtovs2008.html

Kind regards,
Vlad
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Darren
Top achievements
Rank 1
answered on 23 Sep 2008, 04:32 PM
Thank you for the quick reply. But I am not missing RadControls in toolbox.
My situation is, RadControls (2008 Q2) works well in most projects until this one. An old VS 2003 project converted into VS 2008. I got error at design time, not run time. The Telerik.Web.UI.dll &  Telerik.Web.UI.xml are both added into the bin folder.

The error shows on the controlbox itself under design view (not in error list). It says Error Creating Control - unable create type ...

Most RadControls are still working, but I got one runtime error (script error) from RadFormDecorator.

Please help. Thanks.  
0
Darren
Top achievements
Rank 1
answered on 23 Sep 2008, 05:00 PM
I simply remove the Telerik.Web.UI and re-import it from bin35 under Telerik folder. It works!

Thanks!
Tags
General Discussions
Asked by
Darren
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Darren
Top achievements
Rank 1
Share this question
or