The type 'System.Web.UI.IScriptControl' is defined in an assembly that is not referenced.

21 posts, 0 answers
  1. Chris Yoker
    Chris Yoker avatar
    411 posts
    Member since:
    Jul 2005

    Posted 21 Oct 2007 Link to this post

    hiya,
    I have successfully downloaded and been able to run the Prometheus samples.

    I now want to develop in my own individual apps on the same machine.

    I have:
    1) an existing folder of radControls in my app
    2) referenced the Telerik.Web.UI.dll

    When I try to run my app, I get the following error:

    << The type 'System.Web.UI.IScriptControl' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.>>

    I can only assume that this is a webConfig error.
    How can I solve it?

    Is there a guide that will quickly tell me what I need to do in addition to the steps that I have already taken?I just want to get up and running asap.

    Many thanks,

    yogi

  2. Chris Yoker
    Chris Yoker avatar
    411 posts
    Member since:
    Jul 2005

    Posted 21 Oct 2007 Link to this post

    hiya,

    ok, I'm now over this particular error.I have other issues, but they're for a different post.

    Cheers,

    yogi
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Praba
    Praba avatar
    11 posts
    Member since:
    Nov 2006

    Posted 22 Feb 2008 Link to this post

    Hello Gods,

    Still the Same Error......

    pls help me out.

    before, ASP.NET Chart component Used in our Application but we want to update that as Prometheus Chart.

    I've solved the other Version updates from ASP.NET Chart to Prometheus  chart. but I couldn't solve this Error

    System.Web.UI.IScriptControl' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'

    If I couldn't resolve this error means , only way to move backward and use the existing ASP.NET chart dll.

    looking for your needful reply.

    Thanks.
  5. Svetlina Anati
    Admin
    Svetlina Anati avatar
    2795 posts

    Posted 22 Feb 2008 Link to this post

    Hello Praba,

    Generally speaking, this error occurs when your site is not properly configured to use AJAX. To correct it you need to ajaxify your site.
    The "Prometheus" suite is based on MS AJAX Framework and in order to use the controls which it contains you must have the ASP.NET Extensions downloaded - if you don't have them, you can get the distribution from here.
    In order to do this, you can open a new AJAXEnabled WebSite and start building your application in it.
    As an alternative, to ajaxify an existing web site, you can open a new AJAXEnabled one, copy its web.config file and update your existing project's one with the new web.config.

    Greetings,
    Svetlina
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  6. Eddie Furr
    Eddie Furr avatar
    2 posts
    Member since:
    Jul 2009

    Posted 02 Jul 2009 Link to this post

    Well.... that is absolutely no help. You want me to spend $1000 on a suite of controls that will not work unless i "ajaxify" my site - whatever that means. I have the Ajax extensions and I have created an Ajax compatible project. The controls still throw errors like so:

    Compiler Error Message: CS0012: The type 'System.Web.UI.IScriptControl'is defined in an assembly that is not referenced. You must add a reference toassembly 'System.Web.Extensions, Version=1.0.61025.0, Culture=neutral,PublicKeyToken=31bf3856ad364e35'.

    Perhaps you could put some ACTUAL help on here rather than some links to other web sites and vague references to Ajax.
  7. Tervel
    Admin
    Tervel avatar
    1337 posts

    Posted 03 Jul 2009 Link to this post

    Hello Eddie,

    The Telerik RadControls for ASP.NET AJAX suite is built on top of MS AJAX. Hence, for it to run, MS AJAX needs to be configured properly. MS AJAX is an integral part of ASP.NET 3.5, but requires a separate download for ASP.NET 2.0.

    Please note that the last answer provided in this forum thread is from 2/22/2008, that is, one year and three months ago. There is plenty of information and documentation on the Telerik site how to install and configure the suite. In addition to this the Q2 2009 installation adds a Telerik menu to Visual Studio, from which you can invoke a template that will create a blank "Telerik RadControls" project automatically.

    In case you encounter a problem with getting your trial RadControls version to run, please let us know and we will do our best to help you.

    Best regards,
    Tervel
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  8. Eddie Furr
    Eddie Furr avatar
    2 posts
    Member since:
    Jul 2009

    Posted 06 Jul 2009 Link to this post

    Thank you for the prompt reply, although it is again not very helpful nor informative.

    1. I understand that the original post is old, however this is what my search results returned when I searched for help on my particular error message.
    2. I know what AJAX is and I currently have projects that use AJAX funtionality, although they do not use Telerik controls. AJAX is configured on my development PC. I am a MCSD certified delveloper and I have considerable experience. I am not accustomed to spending hours trying to get a simple set of controls to load properly. I expect that if I download your product and run your setup program (after verifying preequisites) that i should be able to place a control (in my case an empty combo box) on a blank page and run it. This is not the case, so i searched for help and this is what i found.
    3. "There is plenty of information and documentation on the Telerik site how to install and configure the suite" - Again, a very vaugue and unhelpful statement. Perhaps you could provide a ilnk (URL) to some of this documentation. I do not see it.
    4. "In addition to this the Q2 2009 installation adds a Telerik menu to Visual Studio, from which you can invoke a template that will create a blank "Telerik RadControls" project automatically." I just dowloaded and installed the demo last week and i do not see this type of project in my templates. Perhaps there is another step to be done???
    5. "In case you encounter a problem with getting your trial RadControls version to run, please let us know and we will do our best to help you"   Um....... I thik that is what my origianl post was about. Yes, i need some SPECIFIC help. That is what i asked for.
    6. The only reason that I downloaded the trial in the first place is that another developer suggested these controls. I am already using Infagistics controls for Winforms development and I was going to try their web controls as well. Perhaps I should skip the Telerik evaluation and go straight to the Ingragistics suite. Their controls may work "out of the box" as the Winforms controls do. If not, maybe they can at least provide some useful support. If you would like for our comapany to consider your product, please respond with some specific information rearding installation and configuration to resolve the error that I posted. If this is too much to ask for, I can simply cross Telerik off my list.

    Thank you

  9. Ivo
    Admin
    Ivo avatar
    689 posts

    Posted 09 Jul 2009 Link to this post

    Hello Eddie,

    The specific problem you have encountered is described in the troubleshooting section in the online documentation:

    Problem:

    Error message "The type 'System.Web.UI.IScriptControl' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'"

    Suggested solution:

    This error occurs when you have added a control from RadControls for ASP.NET AJAX but your application is not configured to use ASP.NET AJAX.


    This should help you.

    As to the Telerik Menu in Visual Studio. We have just released Q2 2009 at the end of last week. It might be the case that you have downloaded the previous version. I would suggest you try the latest installation from your account - latest version is 2009.2.701. Here is a list of all the new stuff in the latest release.

    Microsoft ASP.NET 2.0 AJAX Templates for Visual Studio 2008
    Microsoft ASP.NET AJAX 1.0

    Best wishes,
    Ivo
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  10. Tim Nash
    Tim Nash avatar
    3 posts
    Member since:
    Jul 2009

    Posted 09 Jul 2009 Link to this post

    Ivo,

    I have recently inherited an application from another department.  I have just upgraded from dotNet 1.1 to 3.5.  In doing so, we have had to upgrade the Telerik controls.

    The first few controls that I upgraded worked perfectly.  I have only been upgrading the RadCalendar to start with.  Then I got the error:
    The type 'System.Web.UI.IScriptControl' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'

    I went through the Configuring ASP.NET AJAX and it appears that Visual Studio takes care of the majority of this for you.  Everything looks correct to me, but the error still exists. 

    I did notice that under The <system.webserver> Element section, it states '...(IIS) 7.0'.  Is IIS 7 required?

    I'm not sure of what to do next?

    Thanks
    TIM
  11. Tim Nash
    Tim Nash avatar
    3 posts
    Member since:
    Jul 2009

    Posted 09 Jul 2009 Link to this post

    Ivo,

    I have narrowed it down.

    If I remove the following:

    public

    static void SetReadOnlyPropertiesForRadDateTimePicker(RadDatePicker ReadOnlyRadDatePicker)

     

    {
    ....
    }

    and all calls to it, the error is gone.

    Also, the error states:
    System.Web.UI.IScriptControl' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'

    The version shown in my web.config is 3.5.0.0 and not 1.0.61025.0

    Thanks
    TIM
  12. Svetlina Anati
    Admin
    Svetlina Anati avatar
    2795 posts

    Posted 14 Jul 2009 Link to this post

    Hi Tim,

    As far as I can see form the error you got, the 'System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' is referenced somewhere in your project. Please, examine the following reasons which might cause this issue:

    1. Make sure you have copied the Telerik.Web.UI.dll from the bin35 folder of the package and not from the bin folder - the bin35 folder holds the files for .NET 3.5. You can read more about this below:

      http://www.telerik.com/help/aspnet-ajax/using-radcontrols-net20-30-35-projects-vs2008.html
    2. Make sure that you do not have the old reference to the System.We.Extensions on some page - e.g make a global search and if you find such - just remove it and test again.

    Best wishes,
    Svetlina
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  13. Tim Nash
    Tim Nash avatar
    3 posts
    Member since:
    Jul 2009

    Posted 20 Jul 2009 Link to this post

    Thanks Svetlina,

    All working now.

    The only other thing that I had to do was add a reference to 'System.Web.Extensions' in a couple of the projects for this solution.  The application worked without these before the upgrade though?

    Tim
  14. Svetlina Anati
    Admin
    Svetlina Anati avatar
    2795 posts

    Posted 21 Jul 2009 Link to this post

    Hello Tim,

    I am glad you managed to make the things work. However, as I already explained if you have a .NET 3.5 project you should use the Telerik.Web.UI.dll  with extension 35, e.g 2009.2.701.35 and you do not need to reference the ajax extensions assembly. What I assuem that you might have done is that you are using the Telerk dll with extension 20 for .NET 2.0 and you have additionally referenced the ajax extensions for .NET 2.0. If so, your project will work but this is not needed for a .NET 3.5 project.

    Of course, I can only make assumptions since I cannot see what is actually happening on your side. If you want to continue teh investigation you can check the versions of the Telerik dll and also teh actual version of teh ajax extensions you are using and provide this information. However, since everything works fine this is not needed since there are not differences between the two versions concerning RadControls.


    All the best,
    Svetlina
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  15. sudheer guttikonda
    sudheer guttikonda avatar
    1 posts
    Member since:
    Oct 2009

    Posted 02 Nov 2009 Link to this post

    Hi i am geting  problem 

    System.Web.UI.IScriptControl' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'

    the version in my web.config file is 3.5.0.0
    ple help to solve this problem i am new with the radcontrols

    Thanks & Regards
    Sudheer
  16. Svetlina Anati
    Admin
    Svetlina Anati avatar
    2795 posts

    Posted 03 Nov 2009 Link to this post

    Hello sudheer,

    Would you please make sure that the Telerik.Web.UI.dll you have put in the Bin folder  of your project is taken from the Bin35 folder of the installation package and that you ahve not copied the one from the Bin folder of teh installation? The installation package conatins both a Bin folder with the dll for .NET 2.0 and a Bin35 folder which contains the dll for .NET 3.5. If you have copied the dll for .NET 2.0 it could be automatically searching for the 1.0 version of the extensions and this could be the problem in your case.

    You can find more information about this below:

    http://www.telerik.com/help/aspnet-ajax/installaddingtovs2008.html
    http://www.telerik.com/help/aspnet-ajax/using-radcontrols-net20-30-35-projects-vs2008.html


    Kind regards,
    Svetlina
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  17. Preetam Ray
    Preetam Ray avatar
    47 posts
    Member since:
    Oct 2007

    Posted 01 Feb 2010 Link to this post

    I get the following error..

    The type 'System.Web.UI.IScriptControl' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35

    I checked for the Web.Extensions and also took the dll from the bin35 folder.. Is there something else that i am missing??



  18. Svetlina Anati
    Admin
    Svetlina Anati avatar
    2795 posts

    Posted 03 Feb 2010 Link to this post

    Hi Preetam,

    Would you please make sure that you are using VS 2008 and ,NET 3.5? If you are by any chance using .NET 2.0 and you have put the dll from the Bin35 folder this is a possible reason for the problem you report.

    You can see a screenshot on how to create projects with different .NET version in the article below:

    http://www.telerik.com/help/aspnet-ajax/using-radcontrols-net20-30-35-projects-vs2008.html


    Best wishes,
    Svetlina
    the Telerik team

    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
    Follow the status of features or bugs in PITS and vote for them to affect their priority.
  19. james knight
    james knight avatar
    4 posts
    Member since:
    May 2010

    Posted 17 May 2010 Link to this post

    Yeah.. I know what u mean.. Im having the same problems with this bug.. Did u get to solve it.. Im asking since I really dont want to be going thru heaps of documentation to get a calendar control working

    regards..
  20. james knight
    james knight avatar
    4 posts
    Member since:
    May 2010

    Posted 18 May 2010 Link to this post

    I have solved this using a simple method on mine. I went to RadControl for ASP.NET tab on the top and chose configure project. and then I just pressed Next,next and finish. It put the changes in my web.config files. Hope this helps out someone...This i picked up from the video for telerik rad controls...
  21. Elvis
    Elvis avatar
    11 posts
    Member since:
    Jul 2008

    Posted 07 Apr 2011 Link to this post

    I have solved this using a simple method on mine. I went to RadControl for ASP.NET tab on the top and chose configure project. and then I just pressed Next,next and finish. It put the changes in my web.config files. Hope this helps out someone...This i picked up from the video for telerik rad controls...

    You Rock!
  22. Josh
    Josh avatar
    5 posts
    Member since:
    Jul 2011

    Posted 10 Aug 2011 Link to this post

    I have solved this using a simple method on mine. I went to RadControl for ASP.NET tab on the top and chose configure project. and then I just pressed Next,next and finish. It put the changes in my web.config files. Hope this helps out someone...This i picked up from the video for telerik rad controls...

    PERFECT! Why could I not find this until 2 days later.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017