The resource object with key 'GoogleNormalMap' was not found

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.
11/27/2008 11:18:02 PM
Gravatar
Total Posts 5

The resource object with key 'GoogleNormalMap' was not found

Server Error in '/mojoPortal.Web' Application.
--------------------------------------------------------------------------------

Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

Parser Error Message: The resource object with key 'GoogleNormalMap' was not found.

Source Error:


Line 2:
Line 3: <asp:DropDownList ID="ddGMapType" runat="server" >
Line 4: <asp:ListItem Value="G_NORMAL_MAP" Text="<%$ Resources:Resource, GoogleNormalMap %>" />
Line 5: <asp:ListItem Value="G_SATELLITE_MAP" Text="<%$ Resources:Resource, GoogleSatelliteMap %>" />
Line 6: <asp:ListItem Value="G_HYBRID_MAP" Text="<%$ Resources:Resource, GoogleHybridMap %>" />
 

Source File: /mojoPortal.Web/Controls/GMapTypeSetting.ascx Line: 4


--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.3053; ASP.NET Version:2.0.50727.3053

11/27/2008 11:18:42 PM
Gravatar
Total Posts 5

Re: The resource object with key 'GoogleNormalMap' was not found

Forgot to comment that this is from the latest trunk version,

11/28/2008 5:16:03 AM
Gravatar
Total Posts 18439

Re: The resource object with key 'GoogleNormalMap' was not found

That key is not missing in the english resource file App_GlobalResources/Resource.resx

In Web.config, english is specified ias the default culture, if you changed it something else, you will get null reference exceptions because of incomplete translation of resource strings.

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

The "auto" part of the setting tells it to use the users preferred language as specified in their browser settings. If the resources is not found for the preferred language, it falls back to the default. Therefore the default must be a complete translation with no missing keys for all resource files. Only the en-US resources are ever completely up to date, therefore you should leave en-US as the default.

Hope it helps,

Joe

11/28/2008 1:50:36 PM
Gravatar
Total Posts 5

Re: The resource object with key 'GoogleNormalMap' was not found

Thanks for replying, I love mojoportal and plan to roll out a big project with it.

I have not made any changes to web.config from the trunk source, only to user.config for my sql connection string.  Here is what is in my web.config:

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

11/28/2008 2:01:50 PM
Gravatar
Total Posts 18439

Re: The resource object with key 'GoogleNormalMap' was not found

How long ago since you did svn update? My copy of trunk has the key your error says is missing. You can open the Web/App_GloablResources/Resource.resx file in Visual studio and look for the key.

Hope it helps,

Joe

11/29/2008 2:39:19 AM
Gravatar
Total Posts 5

Re: The resource object with key 'GoogleNormalMap' was not found

I just deleted my whole trunk folder and got all files again and the resource file still doesn't have that key.

11/29/2008 6:25:05 AM
Gravatar
Total Posts 18439

Re: The resource object with key 'GoogleNormalMap' was not found

I just did a clean checkout of trunk and that key "GoogleNormalMap" does exist in the Resource.resx file.

Maybe you are not checking out the right path

https://forgesvn1.novell.com/svn/mojoportal/trunk

Best,

Joe

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