MissingManifestResourceException with multiple localised Web Apps


Marc Woolfson


I have an issue with Global Resources across multiple Web Applications.

I have one Web Application containing a set of User Controls that are
compiled to a single assembly using a Web Deployment Project. The Web
Application uses Global Resources to localise strings and the .resx file is
set to be an embedded resource.

A second Web Application references the assemblies produced when the Web
Deployment Project is built: the 'base' DLLs from the Web Application, the
'wrapper' DLL and the App_GlobalResources DLL. This Web Application
implements the compiled controls and also contains its own set of Global

At run time, a MissingManifestResourceException is thrown as follows:
Could not find any resources appropriate for the specified culture or the
neutral culture. Make sure "Resources.<Resource file from second Web
Application>.resources" was correctly embedded or linked into assembly
"App_GlobalResources" at compile time, or that all the satellite assemblies
required are loadable and fully signed.

The Visual Studio 2008 solution at
http://www.yourfilelink.com/get.php?fid=490995 replicates the issue. You will
need to build the Web Deployment Project before launching Default.aspx in the

Please can anyone advise what I am doing wrong here? I have attempted a
number of different combinations of Resource file build actions and I have
tried excluding the App_GlobalResources assembly from the second Web
Application. The latter causes the same error, but as "Resources.<Resource
file from first Web Application>.resources" instead, so I assumed that this
reference was required by ASP.NET.

It may be that the compiler is attempting to create an equivalent
App_GlobalResources assembly for the second web application but fails as the
destination file already exists. If this is the case, some kind of merging or
alternate naming would be preferred but I have no idea how this may be

Thanks in advance,



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