Localization Toolkit problem

P

Paul Dunstone

Hi group

We have website, www.site.com, which uses Microsoft Content Management
System.

We are internalising the controls using Microsoft Localization Toolkit
(http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnaspp/html/entloctoolkit.asp).

We put the created assemblies in the bin folder within our project:
D:\source\Projects\site\site master\Site.Web\bin

This works absolutely fine and our controls localise successfully.
However, an error occurs when we 'switch to edit site' on our site.

This is the error we receive:
Could not find any resources appropriate for the specified culture (or
the neutral culture) in the given assembly. Make sure "site.resources"
was correctly embedded or linked into assembly "site". baseName:
sitelocationInfo: <null> resource file name: site.resources assembly:
site, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null

The source error is at line 94:

Line 92: if (null != key)
Line 93: {
Line 94: LocalizationElement e =
Settings.CurrentManager.GetObject(key) as LocalizationElement;
Line 95: if (null != e)
Line 96: e.SetProperties(c);

We get the same error if we delete the assemblies from the bin folder.
We therefore believed that it had trouble locating the assemblies once
in site edit mode. We have tried adding the assemblies to following
location within CMS but still with no luck:

C:\Program Files\Microsoft Content Management Server\Server\exeres
C:\Program Files\Microsoft Content Management
Server\Server\IIS_CMS\bin
C:\Program Files\Microsoft Content Management Server\Server\bin

However we have since discovered that the location of the assemblies
is in fact correct (i.e.
D:\source\Projects\site\site master\Site.Web\bin) when we switch to
site
edit. Does anyone have any idea of what the problem could be and why
we are getting this error? Any help you
can offer me would be very much appreciated.

Paul
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,262
Messages
2,571,056
Members
48,769
Latest member
Clifft

Latest Threads

Top