Quantcast
Channel: ASP.NET Core
Viewing all articles
Browse latest Browse all 9386

Config file (assemblies.dll.config) cannot be read successfully due to exception System.IO.FileNotFoundException:(Exception from HRESULT: 0x80070002)

$
0
0

i'm developing an asp.net website that use 3rd party library(API). the main problem is, when i run the website, the compiler throws this exception and i can't communicate with the API. 

the full stacktrace of the code is attach below.

DebugCategory Information: 1 : Availability state of the DCN-SW API changed from a to b.
DebugCategory Information: 1 : Availability state of the DCN-SW API changed from a to b.
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.
SystemCategory Information: 1 : DCN-SW API is unable to setup the link to the DCN-SW server, availability set to IDLE.
 ar.AsyncState ============= testLiveStreaming.BoschApiFunction2+AsyncConnector
 AsyncConnector connector ============= testLiveStreaming.BoschApiFunction2+AsyncConnector
API_ERROR returnValue 1 ============ ERROR
DebugCategory Information: 5 : 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: 6 : Availability state of the DCN-SW API changed from b to a.
SystemCategory Information: 2 : DCN-SW API is unable to setup the link to the DCN-SW server, availability set to IDLE.


Viewing all articles
Browse latest Browse all 9386

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>