Problems One May Encounter When trying to use the Ajax Control Toolkit for the first time.

Could not find any resources appropriate for the specified culture or the neutral culture.  Make sure “AjaxControlToolkit.Properties.Resources.resources” was correctly embedded or linked into assembly “AjaxControlToolkit” at compile time, or that all the satellite assemblies required are loadable and fully signed.

System.Resources.MissingManifestResourceException: Could not find any resources appropriate for the specified culture or the neutral culture.  Make sure “AjaxControlToolkit.Properties.Resources.resources” was correctly embedded or linked into assembly “AjaxControlToolkit” at compile time, or that all the satellite assemblies required are loadable and fully signed.

AjaxControlToolkit requires ASP.NET Ajax 4.0 scripts. Ensure the correct version of the scripts are referenced. If you are using an ASP.NET ScriptManager, switch to the AjaxScriptManager in System.Web.Ajax.dll, or use the ToolkitScriptManager in AjaxControlToolkit.dll.

The latest incarnation (3.6.097 as of this writing) of the asp.net Ajax Control Toolkit needs to be setup using its script manager and not the standard asp.net Script Manager.

So one way to avoid the above issues is to drag the ToolkitScriptManager (found in the control toolkit) onto the Form tag and then use any other Ajax Controls. Here is an example of it using the TabContainer:

<form id="form1" runat="server">
<asp:ToolkitScriptManager ID="ToolkitScriptManager2" runat="server"/>
<div>
    <asp:TabContainer ID="TabContainer1" runat="server" ActiveTabIndex="1">
        <asp:TabPanel runat="server" HeaderText="TabPanel1" ID="TabPanel1">
            <ContentTemplate><p>Hello</p></ContentTemplate>
        </asp:TabPanel>
        <asp:TabPanel ID="TabPanel2" runat="server" HeaderText="TabPanel2">
        <ContentTemplate><p>Hello2</p></ContentTemplate>
     </asp:TabPanel>
    </asp:TabContainer>
</div>
</form>
Share

49 Comments

  1. tom says:

    Thanks , this solved my issue perfectly.

    System.Resources.MissingManifestResourceException: Could not find any resources appropriate for the specified culture or the neutral culture. Make sure “AjaxControlToolkit.Properties.Resources.resources” was correctly embedded or linked into assembly “AjaxControlToolkit” at compile time, or that all the satellite assemblies required are loadable and fully signed.

  2. Zelmer Zootinheimer says:

    Thank you! I have been beating my head against these problems for the better part of tonight! Your tip finally pointed me in the right direction.

  3. Shravan says:

    Superb solution. Thanks !!

  4. Rahul says:

    hi… thanks for the solution! it really made my day.

    But how does this solve the problem and why such issues are not mentioned in the places like readme files etc.??

    • omegaman says:

      The developers updated the toolkit and most likely were oblivious to all possible errors. You are developer, have you ever had a tester come up to you after a bug fix and ask, “Why didn’t you put in a catch for that…it seemed so obvious.”…. :-)

  5. AJ says:

    Great workaround/solution! Thank you very much!

  6. Emre says:

    Thanks thanks thanks …

  7. Danny says:

    Thanks, fixed my issue

    Could not find any resources appropriate for the specified culture or the neutral culture. Make sure “AjaxControlToolkit.Properties.Resources.resources” was correctly embedded or linked into assembly “AjaxControlToolkit” at compile time, or that all the satellite assemblies required are loadable and fully signed.

  8. Psychic says:

    Hi,
    I had the same problem but after I added ToolkitScriptManager tag, my site show a new error:
    Script controls may not be registered before PreRender.
    What’s wrong with it?
    Thanks for help.

  9. daydidz says:

    thank you sooooooooo much… You really saved my day! Mwah3x :-)

  10. Nick says:

    yeah but what if you’re working off a page that uses a Master Page and there is no form tag?

    • OmegaMan says:

      The the same rules apply as before about hooking up the toolkit; there is no change…but to use Asp.net one always needs a form tag to use the controls. Am I missing something?

  11. Eric Guo says:

    I also want to express my thanks, I met the same problem and just google it [and it led me to] here.

  12. defelix says:

    Hi everyone,
    I have a similar problem, but inside a user control.
    Pratically I have a user control (ascx) with a tabcontainer, when I put the user control in a web page I have the error:
    “Could not find any resources appropriate for the specified culture or the neutral culture. Make sure “AjaxControlToolkit.Properties.Resources.resources” was correctly embedded or linked into assembly “AjaxControlToolkit” at compile time, or that all the satellite assemblies required are loadable and fully signed.”
    I followed your suggestions but it doesn’t work, besides I noticed that I have this problem just with tabcontainer control, and not with others toolkit controls.
    Any idea.
    thanks a lot in advance

  13. Bob says:

    I’m having the same problem as defelix. I only have the problem inside of Web User Contorls and only with the TabContainer.

    None of the solutions here have helped me.

    Any help is appreciated.

    Thanks,
    Bob

  14. Arunabh Das says:

    I am facing the same problem but wrapping in form tag is not fixing the problem.

    Preferences

    Page One

    Page Two

    Page Three

    You are not logged in.

    Please login to access eservice

    Please help.

  15. Douglas says:

    Muito obrigado mano .. sua ajuda salvou meu dia .. tava a algumas horas tentando entender .. foi simples e objetivo .. VALEU ..

  16. James says:

    This worked great, thanks for sharing.

  17. Thanks says:

    Thanks very much, this made it work :)

  18. Gerry says:

    I am incredibly grateful to you. There are a huge number of sites offering obtuse (to me) solutions to this issue. Yours immediately made sense and worked :)

  19. Gerry says:

    This page helped me a lot. Thanks.

    Here is what I had to do to get Ajax Tabs to work with pages that linked to a Master page.
    I am self taught in building web pages and started about 4 weeks ago. I couldn’t have done it without the help available on the internet.

    .ajax is followed by two underline characters.
    
    .ajax__tab_header {
        font-family:verdana,tahoma,helvetica;
        font-size:11px;
        border-bottom:solid 1px #999999
    }
    .ajax__tab_tab
    {
        font-family:Verdana,tahoma,helvetica;
        font-size:11px;
        border-bottom:solid 1px #999999
        }
    .ajax__tab_body
    {        
        font-family: verdana,tahoma,helvetica;        
        font-size: 16pt;        
        border: 1px solid #999999;        
        border-top: 0;        
        padding: 8px;        
        background-color: #ffffff;
    }
    
    

    You will need code like this in Styles.CSS to control the styles of your tabs across you whole project. Note that
    In your Master Page, you will need the “link” statement within the tag to pick up the CSS styling.

    <head id="Head1" runat="server">
        <title></title>
        <link rel="stylesheet" type="text/css" href="Styles.css" />
        <asp:ContentPlaceHolder ID="head" runat="server">
        </asp:ContentPlaceHolder>
    </head>
    
    

    I added the “Register Assembly” line shown below as the second line in each of my ‘child’ pages.

    <%@ Page Title="" Language="VB" MasterPageFile="~/MasterPage.master" %>
    <%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
    
    

    —-End—-

  20. Nitin says:

    hi, I m new in web application. i work as per ur suggestion but now i get the error “Could not load type ‘System.Web.UI.ScriptReferenceBase’ from assembly ‘System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35′”
    and wat abt with masterpage applied page where there is no form tag. pls help me

  21. Casey says:

    This solution is not working for me inside a master page. In the master I have this…

    ….

    ….

    Then, in the .aspx page…

    ….

    And I get this javaScript error:

    Message: AjaxControlToolkit requires ASP.NET Ajax 4.0 scripts. Ensure the correct version of the scripts are referenced. If you are using an ASP.NET ScriptManager, switch to the ToolkitScriptManager in AjaxControlToolkit.dll.

    Any ideas? I’m getting desperate!!!

  22. Gerry says:

    Sorry, the rest of my ‘comment’ of Sept 6 seems to have been moderated out of existence. Maybe it was just too long.

    Here is the rest of it.

    Make sure that you have the line as below in your Master page.

    This is the ‘Register Assembly’ line that you need in each child page, just after the ‘@ Page’ line.

    Good luck.

  23. Mario Brazil says:

    Hey Dude…. you really save my day..
    Thank you so much .

  24. Shawn says:

    Thanks a lot man, that solved my problem!!

  25. Jacqueline says:

    Thanks a lot. I was breaking my head with this the whole day.
    :)

  26. Paul says:

    Yet another “Thanks a bunch!” comment….

  27. Amit Gurung says:

    Thanks a lot you have saved me…..from banging my head

  28. Amresh Victor says:

    Thank you very much……you saved my day (or should I say night……)

  29. Maarten says:

    Thanks this helped a lot!!

    Maarten

  30. Melvin says:

    dang. that was it?

    thanks a lot. you’re a lifesaver!!

  31. raghunagh says:

    Hi, I have same problem as defelix,
    I created a user control with ajax tab control. I am using the user control in content page. In the content page it is giving the error as

    “could not find any resources appropriate for the specified culture or the neutral culture. make sure “ajaxcontroltoolkit.properties.resources.resources” was correctly embedded or linked into assembly “ajaxcontroltoolkit” at complie time, or theat all satellite assemblies required are loadable and fully signed”.

    Please suggest the steps to follow to get rid of this error.

    Thanks in advance

  32. Kevin says:

    Thanks a lot. It totally saved my day…

  33. Ajay says:

    Thanks much.It saved lots of time for me.

  34. Brent says:

    This worked, but now my content is not showing up. What could be the problem?

  35. Bharadwaj says:

    Hi,

    In our project we are using AJAX FileUploader in Update Panel. I am getting the same error not in compilation but I am getting it when I am debugging the project. It says it could not locate the ScriptControlBase.cs file and asking to browse and locate the file. Will it fix my problem?

  36. ADITYA says:

    Hi.When i am using the ‘Toolkit script manager ‘ also,i am getting same error like below
    Could You Please Help me in this

    (Could not find any resources appropriate for the specified culture or the neutral culture. Make sure “AjaxControlToolkit.Properties.Resources.resources” was correctly embedded or linked into assembly “AjaxControlToolkit” at compile time, or that all the satellite assemblies required are loadable and fully signed.)

  37. Thatsanun says:

    One might also look into using the toolscript manager which is in the toolkit as well. (Edited by Moderator)

  38. Micke says:

    yes, thanx a lot ! yes ToolkitScriptManager helped

  39. Dynamite says:

    Thanks a lot for this. I’ve spend over 3 hours looking for solution that works & yours just saved my day. Thanks a lot. :-)

  40. Kenny says:

    Thanks a lot…Way too long…looking for the solution

  41. GratefulUser says:

    After breaking my head over, every possible method that can be out there, this once works fine for me. Thank you so much!

  42. Anna Gonzales says:

    Thank God!
    Just simple as that! :)

  43. Mauricio says:

    This is not working in my case:
    webform – which is a child of a Site.master (this site.master has already the ToolkitScriptManager control) and this error happens when I select a file with the AsyncFileUpload control – which is in the webform.
    Any other ideas?

    Link: https://stackoverflow.com/questions/65394404/problem-with-asyncfileupload-in-webform-after-being-published-in-server-aja

Leave a Reply