Problem with Resource Files

G

Guest

Hi,

I have a piece of code as follows:

Protected OBJLibraryManager As ResourceManager
Protected OBJLanguageManipulator As LanguageManipulator

OBJLibraryManager = New ResourceManager("MyProject.Library",
System.Reflection.Assembly.GetExecutingAssembly())
*OBJLanguageManipulator = New LanguageManipulator(Session("Language"))

*Generates the "en-CA" or "fr-Ca" accordingly.

My 2 resource files are names: "Library.en-CA.resx" and "Library.fr-CA.resx".

This code works fine on 2 different workstations when deployed. And also, I
have been using this piece of code on 5 different projects without any
trouble.

Now, when I try to deploy on a Web Hosting Server, it gives me this error:

Could not find any resources appropriate for the specified culture (or the
neutral culture) in the given assembly. Make sure
"MyProject.Library.resources" was correctly embedded or linked into assembly
"MyProject". baseName: MyProject.Library locationInfo: <null> resource file
name: MyProject.Library.resources assembly: MyProject,
Version=1.0.1990.40672, Culture=neutral, PublicKeyToken=null

just like if I would have missed copying the resources dlls. Of course, they
are there and I've tried to copy them everywhere at several different places
to see and nothing do.

My project is the most simple one so there's no component added, nothing
else but the default components and references provided by .NET framework.

I'm pretty sure that there is something wrong on the server even though they
tell me not.

Does anyone knows what could be missing?

Thanks!
 

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

Forum statistics

Threads
473,757
Messages
2,569,543
Members
45,026
Latest member
camilin05

Latest Threads

Top