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

Unable to add Telerik.Web.UI.dll to the Visual Studio 2008 toolbox

23 Answers 1508 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Arvind
Top achievements
Rank 1
Arvind asked on 23 May 2008, 05:32 PM
I am unable to add the RadControls (Telerik.Web.UI.dll) to the Visual Studio 2008 toolbox.

 - I tried using the ToolBoxInstaller.exe application. This did not accomplish it.

 - I tried manually adding the Telerik.Web.UI.dll file to a tab in the toolbox (By creating a tab for Telerik, right clicking it, and selecting Choose Items) and I receive this error:

    There was an error loading types from assembly
    'C:\Telerik\bin35\Telerik.Web.UI.dll\'
    'Could not load file or assembly 'Telerik.Charting,
     Version=2.0.0.0,Culture=Neutral, PublickKeyToken=d14f3dcc8e3e8763'
    or one of its dependencies. The system cannot find the file specified.'

Telerik.Charting.dll is also in the same folder. This happens regardless of whether I use the bin folder or the bin35 folder. I am able to use the controls. It's just that I am not able to add the controls to a toolbox, and I am also not able to see the Intellisense for the telerik controls.
   
   

23 Answers, 1 is accepted

Sort by
0
Ves
Telerik team
answered on 26 May 2008, 05:27 PM
Hi Arvind,

Did you check the version of Telerik.Charting.dll explicitly? The message states you need Telerik.Charting.dll version 2.0.0, which is part of RadControls for ASP.NET AJAX 2008 Q1 (2008.1.415)? Does the version match? I believe the missing intellisense is related to this issue. Once you have the correct version of Telerik.Charting  you should get the intellisense working.

Best wishes,
Ves
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Khurram Nazir
Top achievements
Rank 2
answered on 10 Jul 2008, 09:01 AM
Hi

I don't know how to add toolbar using ToolBoxInstaller.exe so manually add the tool bar on charting it says "There are no components in Telerik.Charting.dll that can be placed on the toolbox."
0
Ves
Telerik team
answered on 14 Jul 2008, 06:29 AM
Hi Nazir,

You can run ToolBoxInstaller by pointing to Start -> Programs -> Telerik -> RadControls for ASP.NET AJAX Q2 2008 -> Register RadControls for ASP.NET AJAX Q2 2008 items in the Visual Studio toolbox.

As for adding the controls manually, you should use Telerik.Web.UI.dll and not Telerik.Charting.dll. Hope this helps.

Best wishes,
Ves
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Tom
Top achievements
Rank 1
answered on 16 Jul 2008, 03:52 PM
I am having a problem adding the tools to VS2008 toolbox as well.

The installer keeps trying to open VS2005 (I have SQL Server 2005 on my machine, which includes "Sql Server Business Intelligence Studio" which is VS2005)

Is there a way of forcing it to install to 2008?
0
Ves
Telerik team
answered on 18 Jul 2008, 03:24 PM
Hi Tom,

I am a bit surprised to know that RadControls installer tries to open VS 2005. The installer would rather prompt you to close it as controls cannot be installed in the toolbox while VS is open.  Still, you can always add the controls manually. Just let the installer finish and then follow the steps described in this article. Hope this helps.

Best wishes,
Ves
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Tom
Top achievements
Rank 1
answered on 18 Jul 2008, 03:29 PM
Sorry, I meant the toolbox installer keeps trying to open VS 2005. 

Anyway, I've been able to add them manually so all is well.  Thanks.
0
Steve
Top achievements
Rank 1
answered on 10 Aug 2008, 04:48 PM
Hello,
I am having probleming installing the Toolbox to Visual Web Developer 2008 Express Addition. I am using build RadControls_for_ASP.NET_AJAX_2008_2_723_dev logged as admin running as admin.

The installer finished ok but no toolbox was installed. I tried doing it manually through VS2008 but got the following:

"There was an error loading types from the assembly'C:\Program Files\Telerik\RadControls for ASPNET AJAX Q2 2008\Bin\Telerik.Web.UI.dll' '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.'

I also tried running the ToolBoxInstaller.exe but nothing happens.

Any ideas
Thanks

0
Ves
Telerik team
answered on 11 Aug 2008, 06:27 AM
Hello Steve,

In order to have RadControls running, you will need to have ASP.NET AJAX installed on your development/production machine. ASP.NET AJAX is a required prerequisite, as mentioned in this help topic.  Once you install ASP.NET AJAX you should be able to add the controls to the toolbox.

Greetings,
Ves
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Steve
Top achievements
Rank 1
answered on 11 Aug 2008, 02:50 PM
Hi,
I have installed the .net 3.5 framework which I thought included asp.net ajax now. I have a few apps using the asp.net telerik controls and they work but I don't get any intellisense on the controls and as I mentioned below I can't add them to my toolbox.

OS vista ultimate
Dell Inspiron 1525
No other usb devices plugged in

Any ideas

From: telerik
Date: 8/11/2008 1:27:08 AM
Hello Steve,

In order to have RadControls running, you will need to have ASP.NET AJAX installed on your development/production machine. ASP.NET AJAX is a required prerequisite, as mentioned in this help topic.  Once you install ASP.NET AJAX you should be able to add the controls to the toolbox.

Greetings,
Ves
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.




From: Steve
Date: 8/10/2008 11:48:20 AM
Hello,
I am having probleming installing the Toolbox to Visual Web Developer 2008 Express Addition. I am using build RadControls_for_ASP.NET_AJAX_2008_2_723_dev logged as admin running as admin.

The installer finished ok but no toolbox was installed. I tried doing it manually through VS2008 but got the following:

"There was an error loading types from the assembly'C:\Program Files\Telerik\RadControls for ASPNET AJAX Q2 2008\Bin\Telerik.Web.UI.dll' '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.'

I also tried running the ToolBoxInstaller.exe but nothing happens.

Any ideas
Thanks


0
Ves
Telerik team
answered on 12 Aug 2008, 12:17 PM
Hello Steve,

Telerik.Web.UI.dll is shipped in two different versions - 2008.2.723.20 and 2008.2.723.35, where 20 stands for .NET 2.0 and 35 stands for .NET 3.5. Is it possible that you are trying to use the former? For NET 3.5 you need to use the latter. You can find it in /bin35 sub-folder.

Hope this helps.

Best regards,
Ves
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Tom Gilkison
Top achievements
Rank 1
answered on 16 Aug 2008, 03:43 PM
I am having the same issue.  I have documented my problem on my blog since I cannot add images to this forum:  http://tomgilkison.blogspot.com/2008/08/telerik-with-vs-2008-working-with-20.html

This is a very frustrating issue that needs resolution with adequate documentation.
0
Steve
Top achievements
Rank 1
answered on 16 Aug 2008, 04:05 PM
Hi,
That was the problem. I was using the .net 2 dll in my project. The controls seemed to work but I had no intellisense and I could not add the controls to my toolbox. I replaced the dll with the correct version for 3.5 and restarted the IDE and I could then add the controls to my toolbox OK. So problem solved. Thanks
0
Tom Gilkison
Top achievements
Rank 1
answered on 16 Aug 2008, 04:24 PM
Are you saying that I need to use a 3.5 DLL for a 2.0 project? 

I have added screen shots of my Web References and Build Settings.  The project is 2.0, I have reference to the Telerik 2.0 DLL, the items in the Toolbox are for the 2.0 DLL.  The reference on the Web Page has no version specified.  Web Extensions 1.0 is specified on the page.

If I run the application, the controls show up correctly.  If I drag a control over in "Design View" I am prompted to overwrite the 2.0 DLL with the 3.5 version.

My GAC only shows Telerik.Charting 2.0.3.0 registered.  The project is using the DLL in the BIN which is 2.0 and I have checked the Refresh and made sure it is directed to the 2.0 DLL in our Library.

My issue is not resolved.  I have searched the Web for 'manifest definition does not match the assembly reference', but the posts have not helped.
0
Tom Gilkison
Top achievements
Rank 1
answered on 16 Aug 2008, 05:06 PM
This is DUMB!  I re-started Visual Studio and it's working now.  It's still a pain in the ... and there should be a better solution.
0
Charles
Top achievements
Rank 1
answered on 26 Sep 2008, 07:02 PM
Same problem here - nothing I do will allow installation of these controls into my toolbox. I have run the installer, then the "register" application, no luck. I can't find any installation instructions either, which really surprises me for a pricey commercial library.
0
Ves
Telerik team
answered on 29 Sep 2008, 05:56 AM
Hi Charles,

RadControls installer will install the .NET 3.5 version of the controls. However, if you are using .NET 2.0 or 3.0 with VS 2008 you will need to add the controls to toolbox manually. Please, find the detailed instruction here.

Kind regards,
Ves
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Charles
Top achievements
Rank 1
answered on 29 Sep 2008, 01:21 PM
Hi - I'm on 3.5, install claims to work but the controls don't appear anywhere in Visual Web Developer, not even with the RadControlsExamples demo project.
0
Ves
Telerik team
answered on 30 Sep 2008, 10:46 AM
Hi Charles,

Did you try the steps described in the help topic I pointed you to? Basically, the steps are the same for Visual Web Developer too. You can check this blogpost dedicated to adding custom controls to the toolbox in Visual Web Developer.

Sincerely,
Ves
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
lkeel
Top achievements
Rank 1
answered on 06 Oct 2008, 04:20 PM
Hello all, I just wanted to say that I was experiencing this exact same problem and found my solution on another thread here in this forum: http://www.telerik.com/community/forums/thread/b311D-bdgete.aspx

I have no clue why this works,
1) close VS
2) unplug your wireless mouse\keyboard
3) open project\website in VS
4) right click in toolbox and check 'show all'.
5) right click in toolbox and uncheck 'show all'
6) plug your devices back in.

Seems like a VERY strange bug that someone needs to look into
0
Rob Wells
Top achievements
Rank 1
answered on 27 Oct 2008, 05:41 AM
Hopefully this provides a solution for some people:

I have been banging my head against the wall with the same problem that others have described here. When I follow the instructions to manually add the controls to VS 2008, I receive the following error:

"There was an error loading types from the assembly'C:\Program Files\Telerik\RadControls for ASPNET AJAX Q2 2008\Bin\Telerik.Web.UI.dll' '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.'

I'm running Vista Ultimate / IIS 7.0 / ASP.Net 3.5. I was able to see the Telerik 3.5 controls after fiddling about with other solutions that people have mentioned in various threads (they did not work automatically as expected), but not the 2.0 controls. I need the 2.0 controls for my project.

As Steve pointed out, I have ASP.Net 3.5 installed which I thought included ASP.Net AJAX. It does, but what Ves has been unclear about is that ASP.Net AJAX for ASP.Net 2.0 and ASP.Net AJAX for ASP.Net 3.5 appear to be two different things.

The ASP.Net download page does have two links to the two different installations but it's not very clear. Click on the link in the second section of the page at the following link to get the right stuff:
http://www.asp.net/ajax/downloads/

Or go straight to the download page:
http://www.microsoft.com/downloads/details.aspx?FamilyID=ca9d90fa-e8c9-42e3-aa19-08e2c027f5d6&displaylang=en

Incidentally I think I also had the wireless mouse problem. I'm not 100% positive because I've had to do so much fiddling to get this working that I don't know for sure that I didn't fix that one a different way.

However my solution is not yet complete. I still cannot run the 2.0 version of the Telerik controls on my Vista Ultimate / IIS 7.0 web server. I receive the following error:

"HTTP Error 500.23 - Internal Server Error
An ASP.NET setting has been detected that does not apply in Integrated managed pipeline mode."
...and it gives me some suggestions about manually migrating the application.

So far I have found the following clue:
http://learn.iis.net/page.aspx/381/aspnet-20-breaking-changes-on-iis-70/

I don't want to manually migrate the <httpHandler> entries because then I'd be moving too far away from the receommended setup in the Telerik documentation, which I'd prefer not to do when other developers are working on the project too. So far I've tried using the following code.
<system.webServer>
<validation validateIntegratedModeConfiguration="false" />
</system.webServer>


This gets me as far as loading the page without a server error, and my TreeView control is producing the correct HTML. However the Javascript on the page is broken and the treeview will not work.

The same application is working just fine when loading in the same web browser but using IIS 6.0 with ASP.Net 2.0 and the AJAX framework installed.

I will continue trying new things... In the meantime, any suggestions?
0
Veselin Vasilev
Telerik team
answered on 27 Oct 2008, 09:42 AM
Hi Rob,

Please, move the <system.web>/<httpModules> and <system.web>/<httpHandlers> configuration to the <system.webServer>/<handlers> and <system.webServer>/<modules> configuration sections as pointed in 1B. in the article you have pointed. We have mentioned this in our troubleshooting pages -- here and here.

As for the treeview I believe that once you fix the javascript errors it will start working as expected.

Best regards,
Veselin Vasilev
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Rob Wells
Top achievements
Rank 1
answered on 28 Oct 2008, 12:46 AM
Thanks for those extra links... They provided some extra clues but none of them solved the problem. ;-)

We found that we had to move the http handlers to <system.webServer> as described, but we also had to leave the entries in <system.web>. Otherwise RadScriptManager was complaining that the assembly needed to be added via the smart tag (even though it's running on IIS7 and shouldn't be reading that section).

In addition to this we had to add an assembly reference under <system.web> for System.Web.Extensions which wasn't already in web.config. I couldn't see this anywhere in the documentation. I.e.
<add assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>.

This approach isn't a disaster for us because in our case we want the application to run from both IIS6 and IIS7. However it was very difficult to get this far with something that we thought should be quite basic. Perhaps the documentation could do with some updates?

Incidentally we fixed the Javascript problem too. The error was coming from the Telerik components - "'Sys' is undefined". This error is described in one of the support articles, however the articles it links to were quite hard to follow. Part of our own Javascript code that was being called on OnClientLoad was causing the Web Resources to load incorrectly. Can I suggest that something simple is added to the documentation about checking your own Javascript code on such events?

So... Once we worked out that ASP.Net AJAX is different in ASP.Net 2.0 and 3.5 and we need to install both, unhooked our wireless mouse, re-installed the components, learned all about Web Resources, added extra assembly references for the Telerik components and System.Web.Extensions for the system to work properly in IIS7 and IIS6, and worked out that our own code can cause the 'Sys is undefined' error as well, we now have the basic system working as well as showing up in Visual Web Developer. Phew! ;-)

P.S. Thanks for the help. I know I'm whining about the documentation and difficulties a little, but it is nice to have quick and perseverent responses both from the community and Telerik. I hope our notes are useful for others too.
0
squicc
Top achievements
Rank 1
answered on 21 Jan 2010, 08:58 PM
yup all i had to do to get 'em in the toolbox was right click on the top of the toolbox and click show all

thats it

ridiculous

although i did actually follow the instructions for manually adding via web ui dll several times prior with no luck
but show all was the final step

go figure

thanks everybody!
Tags
General Discussions
Asked by
Arvind
Top achievements
Rank 1
Answers by
Ves
Telerik team
Khurram Nazir
Top achievements
Rank 2
Tom
Top achievements
Rank 1
Steve
Top achievements
Rank 1
Tom Gilkison
Top achievements
Rank 1
Charles
Top achievements
Rank 1
lkeel
Top achievements
Rank 1
Rob Wells
Top achievements
Rank 1
Veselin Vasilev
Telerik team
squicc
Top achievements
Rank 1
Share this question
or