0 Points 7 Posts library.dll.config is not found when execute (asp.net throw iofile.notfound exception) 05-15-2016 10:08 AM|LINK I'm developing asp.net application that uses a 3rd party API, and one of the API use a config file (dll.config). I access the function in the API using class (.cs) file. When I try to run it, it throws a file not exception and the API won't start. I tried to run exact same code in the WPF approach, the code works fine. After review and searching, I tried to use configuration manager yet it does not solve my problem. Here I attach what I've tried.
thrown error from this project DebugCategory Information: 3 : An error occurred in DCN-SW API initializing the server link: .Config file 'Bosch.Dcn.Ecpc.Client.Logic.dll.config' cannot be read successfully due to exception 'System.IO.FileNotFoundException: The system cannot find the file specified. (Exception from HRESULT: 0x80070002) at System.BaseConfigHandler.RunParser(String fileName) at System.ConfigTreeParser.Parse(String fileName, String configPath, Boolean skipSecurityStuff) at System.Runtime.Remoting.Activation.RemotingXmlConfigFileParser.ParseConfigFile(String filename) at System.Runtime.Remoting.RemotingConfigHandler.LoadConfigurationFromXmlFile(String filename)'. DebugCategory Information: 4 : Availability state of the DCN-SW API changed from b to a.
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)