Mauricio

Mauricio

  • 2.1k
  • 18
  • 485

AsyncFileUpload control generates MissingManifestResourceException

Dec 23 2020 9:18 PM

I have an C# - ASP.NET WebForm solution in Microsoft Visual Studio 2012 Professional; this solution is built in Framework 3.5 and this solution uses AjaxControlToolkit - version 3.5.40412.0.

I have a WebForm - which is a child of a Site.master - that uses multiple UpdatePanel, TabContainer and a single AsyncFileUpload.

Locally (i.e. in developer enviroment), the WebForm loads and works successfully, but, once published the WebForm in an different server - when a file is selected (by using the AsyncFileUpload control), the following message shows:

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.

In my local developer enviroment, this error does not occur and the file can be selected and processed as expected.

My Site.master already has the ToolkitScriptManager control, but, for some unknown reason, the error described above shows when a file is selected with the AsyncFileUpload control.

I've searched a lot in internet and in all of those sites, the single answer is: add ScriptManager or ToolkitScriptManager at the beginning of the WebForm / Site.master.

I can't find a reasonable explanation about why in other server(s) - tested in (2) different servers - this error appears.

I'm already out of options - since I can't replicate this error locally (enviroment PC).

Can anyone provide more information about how can debug and fix this issue?


Answers (2)