Installing Toolkit Error

Last post 07-04-2008 6:18 PM by ssi112. 3 replies.

Sort Posts:

  • Installing Toolkit Error

    07-04-2008, 2:48 PM
    • Loading...
    • ssi112
    • Joined on 05-24-2008, 11:38 AM
    • PA & DC
    • Posts 8

    I tried to install the AJAX control tooklkit and received this error.

    There was an error loading types from assembly 'C:\...\Visual Studio 2005\Templates\ProjectTemplates\Visual Web Developer\CSharp\\AjaxControlToolkit.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 downloaded the version for .NET 2.0, ASP.NET AJAX 1.0 and VS2005, no source code.

    The instructions for installing the toolkit are minimal at best. Is there a way to make this thing work?

     Thanks for any help

    Steve

  • Re: Installing Toolkit Error

    07-04-2008, 4:07 PM
    • Loading...
    • ssi112
    • Joined on 05-24-2008, 11:38 AM
    • PA & DC
    • Posts 8

    Well, I read some more posts in the forum and found out that I forgot an important step in the process. That was making sure I had the extensions 1.0 installed first. So now the sample web site works great.

    Is the only way to use the controls is to build a new site using the template or can an existing site convert easily to using them?

    Thanks

  • Re: Installing Toolkit Error

    07-04-2008, 5:03 PM
    Answer
    • Loading...
    • Holf
    • Joined on 08-28-2006, 4:14 PM
    • Posts 144

    You should only need to modify your web.config file to make an existing site MS AJAXified. There are some instructions on what needs to change here:

     http://www.asp.net/ajax/documentation/live/InstallingASPNETAJAX.aspx which I think is still current if you're using VS2005 with.NET 2.0 (as opposed to VS2008 with .NET 3.5).

    In any case, personally I would create a new AJAX site and then compare the generated web.config file with my existing site web.config file, using a Text Diff tool (I use Notepad++ with the Compare Plugin... all free!).

    You will also need to add Script Managers to any pages which will be using AJAX.

     

  • Re: Installing Toolkit Error

    07-04-2008, 6:18 PM
    • Loading...
    • ssi112
    • Joined on 05-24-2008, 11:38 AM
    • PA & DC
    • Posts 8

    Thanks for the info...I will give that a try.

Page 1 of 1 (4 items)
Microsoft Communities
Page view counter