Error Loading Resources

M

Marco

Hi, I'm working with a Web Application which requires Authentication
from a LDAP.
This is the code wich causes the problem:

....
Assembly assembly = Assembly.GetExecutingAssembly();
ResourceManager RscMgr = new ResourceManager("MyProject.pagecomp",
assembly);
string test = RscMgr.GetString("TestRes");
....

I've the following strange behaviour:
- If I log in to the Application as Administrator --> OK, everything
works
- If I log in as Normal User --> I have this crash: Could not find any
resources appropriate for the specified culture (or the neutral
culture) in the given assembly....

Consider also this, after I logged in for at least one time as
Administrator, it works also for all the others!!!!
Can someone help me? Do I need to Configure something in Windows 2000?
Thank you,
Marco
 

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
473,796
Messages
2,569,645
Members
45,369
Latest member
Carmen32T6

Latest Threads

Top