I have a class library in .NET 1.1 which uses its own app.config.

There is another application I am trying to use my assembly with, and that has its own config file entitled (applicationName.config). Mine is just "app.config".

Now, it is unable to retrieve the key from my app.config, it returns null. Any ideas whats causing the problem?

The code:

string keyValue = System.Configuration.ConfigurationSettings.AppSettings[key];

The key does exists