Error with GMaps: Could not find any resources appropriate for the specified culture or the neutral culture

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
12/5/2011 2:43:05 PM
Gravatar
Total Posts 18

Error with GMaps: Could not find any resources appropriate for the specified culture or the neutral culture

HI Joe,

Windows Server 2003 Standard Edition, Mojoportal 2.3.7.0 MSSQL, v4.0.30319 Running in Full Trust

we have a problem withe the admin-page of the google-maps feature. We get an exception when we open the page. This is the content of the log. The Ressource-File (GMapResources.de.resx) seems to be ok. It is unchanged since the last update.

------------------------------------------------------------------------------------------------------------------------

2011-12-05 21:37:09,186 ERROR 192.168.10.1 - de-DE - /Admin/ModuleSettings.aspx?mid=15&pageid=15 - mojoPortal.Web.Global -  Referrer(http://www.etask.de/anfahrt.aspx) useragent Mozilla/5.0 (Windows; U; Windows NT 6.1; de; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13
System.Resources.MissingManifestResourceException: Could not find any resources appropriate for the specified culture or the neutral culture.  Make sure "Resources.web.config.resources" was correctly embedded or linked into assembly "App_GlobalResources.rnhct_hz" at compile time, or that all the satellite assemblies required are loadable and fully signed.
at System.Resources.ManifestBasedResourceGroveler.HandleResourceStreamMissing(String fileName)
at System.Resources.ManifestBasedResourceGroveler.GrovelForResourceSet(CultureInfo culture, Dictionary'2 localResourceSets, Boolean tryParents, Boolean createIfNotExists, StackCrawlMark& stackMark)
at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo requestedCulture, Boolean createIfNotExists, Boolean tryParents, StackCrawlMark& stackMark)
at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo culture, Boolean createIfNotExists, Boolean tryParents)
at System.Resources.ResourceManager.GetObject(String name, CultureInfo culture, Boolean wrapUnmanagedMemStream)
at System.Resources.ResourceManager.GetObject(String name, CultureInfo culture)
at System.Web.Compilation.BaseResXResourceProvider.GetObject(String resourceKey, CultureInfo culture)
at System.Web.Compilation.ResourceExpressionBuilder.GetResourceObject(IResourceProvider resourceProvider, String resourceKey, CultureInfo culture, Type objType, String propName)
at mojoPortal.Web.AdminUI.ModuleSettingsPage.AddSettingControl(CustomModuleSetting s, Panel groupPanel)
at mojoPortal.Web.AdminUI.ModuleSettingsPage.PopulateCustomSettings()
at mojoPortal.Web.AdminUI.ModuleSettingsPage.OnInit(EventArgs e)
at System.Web.UI.Control.InitRecursive(Control namingContainer)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

------------------------------------------------------------------------------------------------------------------------

Thanks for your help.

12/7/2011 9:02:48 AM
Gravatar
Total Posts 18439

Re: Error with GMaps: Could not find any resources appropriate for the specified culture or the neutral culture

Hi Klause,

I would make sure you also have the English resource files on disk and be sure that you have not changed this from English:

<globalization culture="auto:en-US" uiCulture="auto:en-US" requestEncoding="utf-8" responseEncoding="utf-8" fileEncoding="iso-8859-15" />

That needs to always be set to Englsih because English is the only resource files without any missing keys. You can still force it to use German, but not by changing this setting.

Hope that helps,

Joe

12/8/2011 10:53:53 AM
Gravatar
Total Posts 18

Re: Error with GMaps: Could not find any resources appropriate for the specified culture or the neutral culture

Hi Joe,

thanks for your advice.

The "globalization culture" in web.config is exactly configured as described in your answer. In the user.config we have the following entry to force the sites to othe languages:

 <add key="UseCultureOverride" value="true" />
<add key="site1culture" value="de-DE" />
<add key="site5culture" value="en-US" />
<add key="site6culture" value="es-ES" />
<add key="site9culture" value="fr-FR" />
<add key="DefaultCountry" value="DE"/>

The problem occurs in all sites of my installation. But only in the Gmaps-Module.

I have the files GMapResources.resx and GMapResources.de.resx unchanged from the last Update.

When I remove the GMapResources.de.resx the error is the same.

Any idea?

12/8/2011 11:01:18 AM
Gravatar
Total Posts 18439

Re: Error with GMaps: Could not find any resources appropriate for the specified culture or the neutral culture

Hi Klaus,

I would try re-deploying all the .resx files in case something got corrupted.

"App_GlobalResources.rnhct_hz" isn't a name of one of our resource files so it seems to be referring to something that the ASP.NET compiler generated down under C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files

Redeploying the .resx files may make it re-generate those temp files and that may solve it.

I have seen times when things get really funky in those temp files. You can safely delete them and they will be re-generated but it may require stopping the web site or stopping IIS because you can't delete files that are in use.

Hope that helps,

Joe

12/21/2011 4:26:34 AM
Gravatar
Total Posts 18

Re: Error with GMaps: Could not find any resources appropriate for the specified culture or the neutral culture

Hi Joe,

for a redesign of our website we have setup a fresh new server (Windows Server 2008 R2, 64 bit).

Then I have setup a new installation of mojoportal (2.3.7.5)  with a copy of the original database.

That runs very fine; everything is allright :-).

Then I tried again the settings-page of the Gmaps-Module. This problem remains:

"Für die angegebene Kultur oder die neutrale Kultur konnten keine Ressourcen gefunden werden."

in english:

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

This comes up on the german and the english site (We have a multi-language installation based on folder names).

Hope you have another idea. Thanks in advance.

 

12/21/2011 4:27:57 AM
Gravatar
Total Posts 18

Re: Error with GMaps: Could not find any resources appropriate for the specified culture or the neutral culture

Hi Joe,

just on more information. I have deleted alle files in Temporary ASP.NET-Folder. But that did not solve this problem.

You must sign in to post in the forums. This thread is closed to new posts.