Cannot access .config from COM enabled .NET class

Cannot access .config from COM enabled .NET class

am 03.10.2007 12:22:02 von JRMalherbe

I have written a .NET component and enabled it to be used from a com component.

The following test method returns the anticipated results from a .vbs file:
public string Test(string testValue)
{
string retValue = "Your value is: ";
retValue = retValue + testValue;
return retValue;
}

Some of my methods has to read some settings from a config file.

The problem seems to revolve around the following code (null):
ConfigurationManager.AppSettings[[Config Value Label]]

I tried to copy the .config file to the directory where the vbs is located
and to the system32 directory

Can anybody shed some light onto this matter?