Showing results for 
Show  only  | Search instead for 
Did you mean: 

System.Net.Http, Version= The system cannot find the file specified.


We are running AppDynamics.Agent.Coordinator 4.2.8.  When this service is running, we get this error.

Could not load file or assembly 'System.Net.Http, Version=, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.

The file is present in the GAC and the Fusion logs show:

<meta http-equiv="Content-Type" content="charset=unicode-1-1-utf-8"><!-- saved from url=(0015)assemblybinder: --><html><pre>
*** Assembly Binder Log Entry (8/30/2017 @ 9:24:49 PM) ***

The operation failed.
Bind result: hr = 0x80070002. The system cannot find the file specified.

Assembly manager loaded from: C:\Windows\Microsoft.NET\Framework64\v4.0.30319\clr.dll
Running under executable c:\windows\system32\inetsrv\w3wp.exe
--- A detailed error log follows.

=== Pre-bind state information ===
LOG: DisplayName = System.Net.Http, Version=, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
LOG: Appbase = file:///C:/somesite/IIS/
LOG: Initial PrivatePath = NULL
LOG: Dynamic Base = NULL
LOG: Cache Base = NULL
LOG: AppName = 448f9594
Calling assembly : (Unknown).
LOG: This bind starts in default load context.
LOG: Using application configuration file: C:\somesite\IIS\test-site\web.config
LOG: Using host configuration file: C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet.config
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework64\v4.0.30319\config\machine.config.
LOG: GAC Lookup was unsuccessful.
ERR: No codebases found to download from.
ERR: Unrecoverable error occurred during pre-download check (hr = 0x80070002).



Is this the same issue as referenced in :


I looked at the release notes for 4.3.1, but did not see a resolved issue specifically for GAC access issues.


Thank you!


AppDynamics Team (Retired)



Can you try adding <add-assembly-reference enabled="false" /> section at your config.xml located at C:\ProgramData\AppDynamics\DotNetAgent\Config


Your config.xml will look like following ( content in bold needs to be added). Once you add this section please recycle Agent Coordinator Service and instrumented section




        <add-assembly-reference enabled="false" />







Let us know if this does not resolve the issue.





Found something helpful? Click the Accept as Solution button to help others find answers faster.
Liked something? Click the Thumbs Up button.



We were able to resolve the issue by upgrading the agent to 4.3.


Thanks for getting back to us.



On-Demand Webinarr
Discover new Splunk integrations and AI innovations for Cisco AppDynamics.

Register Now!

Observe and Explore
Dive into our Community Blog for the Latest Insights and Updates!

Read the blog here
Top Kudoed Authors