“Could not find any resources appropriate for the specified culture or the neutral culture”

Just recieved this error:

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

Sometimes .Net errors look a lot more worse than they really are. In this case it had nothing to do with missing DLLs or a bad web.config but rather I simply forgot to register the TookitScriptManager before my CalendarExtender.

<ajax:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server" />
  • Perry

    Thanks. As you said, very deceptive error.

  • Muneeb

    Thanks a lot. Was lucky enough to find your post as soon as i got the error 🙂

  • Dip

    asp:ToolkitScriptManager instead of ajax:ToolkitScriptManager

    • chrishaas

      @Dip, The prefix depends on how its registered.

  • Ha, just had exactly the same issue! Thanks for posting.

  • Ana Paula Waaijenberg

    Thanks a lot!

  • VISHMAY

    Ha, just had exactly the same issue! I agree your thing
    Readers Please check this before surfing large (Specially for new user)

  • susheel rawat

    thanks its working

  • Herman

    Hero !

  • Thanks!

  • David Ang

    I faced this error too, but the page that error is a child page, my ToolkitScriptManager is located in the MasterPage.
    The errors caused by Items.Clear() which is inside a block of code of With and a dropdownlist/combobox, e.g.

    With cboItem
    Items.Clear()
    End With

    With the missing ‘.’ (dot) inside the With statement, this block of code doesn’t has any errors while debugging/compiling, but when you browse to the page, the error occurs.

    Thanks to my ex-colleague, took my hours to read the code line by line.

  • Damien Koh

    Best! lucky i came online to search for the error. Took me 2hours to wonder whats wrong with my dll and I didn’t even notice the script manager wasn’t there because I used a separate masterpage.

  • Thanks Chris, worked a treat. Saved me time heading down the wrong path.

  • H. Ahmed

    lol… it’s been a while i didn’t used ASP.NET AJAX enabled … it’s only needed to add SCRIPT MANAGER… and there you

    thank you for refreshing 🙂

    a great post

  • anver sadat

    thanks a lot for easy help..

  • Ramu Ajay

    Awesome!!!!!!!
    You are the man!!!

  • Ken Sotak

    Many Thanks!!!
    Just what you pointed out: ScriptManager.
    I appreciate the time you saved me.

  • didem

    you are a hero 😀

  • Pingback: [RESOLVED]Error while compiling after adding ajax control toolkit | Asp Forum()

  • Pingback: [RESOLVED]calender exderder on textbox & then got error | Asp Forum()