<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic System.Net.Http, Version=4.0.0.0 The system cannot find the file specified. in Splunk AppDynamics</title>
    <link>https://community.splunk.com/t5/Splunk-AppDynamics/System-Net-Http-Version-4-0-0-0-The-system-cannot-find-the-file/m-p/728303#M6170</link>
    <description>&lt;P&gt;We are running AppDynamics.Agent.Coordinator 4.2.8. &amp;nbsp;When this service is running, we get this error.&lt;/P&gt;
&lt;H2 id="toc-hId--1332183924"&gt;&lt;I&gt;Could not load file or assembly 'System.Net.Http, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.&lt;/I&gt;&lt;/H2&gt;
&lt;P&gt;&lt;I&gt;The file is present in the GAC and the Fusion logs show:&lt;/I&gt;&lt;/P&gt;
&lt;P&gt;&amp;lt;meta http-equiv="Content-Type" content="charset=unicode-1-1-utf-8"&amp;gt;&amp;lt;!-- saved from url=(0015)assemblybinder: --&amp;gt;&amp;lt;html&amp;gt;&amp;lt;pre&amp;gt;&lt;BR /&gt;*** Assembly Binder Log Entry (8/30/2017 @ 9:24:49 PM) ***&lt;/P&gt;
&lt;P&gt;The operation failed.&lt;BR /&gt;Bind result: hr = 0x80070002. The system cannot find the file specified.&lt;/P&gt;
&lt;P&gt;Assembly manager loaded from: C:\Windows\Microsoft.NET\Framework64\v4.0.30319\clr.dll&lt;BR /&gt;Running under executable c:\windows\system32\inetsrv\w3wp.exe&lt;BR /&gt;--- A detailed error log follows.&lt;/P&gt;
&lt;P&gt;=== Pre-bind state information ===&lt;BR /&gt;LOG: DisplayName = System.Net.Http, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a&lt;BR /&gt; (Fully-specified)&lt;BR /&gt;LOG: Appbase = file:///C:/somesite/IIS/test-site.com/&lt;BR /&gt;LOG: Initial PrivatePath = NULL&lt;BR /&gt;LOG: Dynamic Base = NULL&lt;BR /&gt;LOG: Cache Base = NULL&lt;BR /&gt;LOG: AppName = 448f9594&lt;BR /&gt;Calling assembly : (Unknown).&lt;BR /&gt;===&lt;BR /&gt;LOG: This bind starts in default load context.&lt;BR /&gt;LOG: Using application configuration file: C:\somesite\IIS\test-site\web.config&lt;BR /&gt;LOG: Using host configuration file: C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet.config&lt;BR /&gt;LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework64\v4.0.30319\config\machine.config.&lt;BR /&gt;LOG: GAC Lookup was unsuccessful.&lt;BR /&gt;ERR: No codebases found to download from.&lt;BR /&gt;ERR: Unrecoverable error occurred during pre-download check (hr = 0x80070002).&lt;/P&gt;


&lt;P&gt;&lt;I&gt;Is this the same issue as referenced in :&amp;nbsp;&lt;A href="https://community.appdynamics.com/t5/NET-Agent-Installation/Could-not-load-file-or-assembly-Newtonsoft-Json/td-p/24192" target="_blank"&gt;https://community.appdynamics.com/t5/NET-Agent-Installation/Could-not-load-file-or-assembly-Newtonsoft-Json/td-p/24192&lt;/A&gt;&lt;/I&gt;&lt;/P&gt;

&lt;P&gt;&lt;I&gt;I looked at the release notes for 4.3.1, but did not see a resolved issue specifically for GAC access issues.&lt;/I&gt;&lt;/P&gt;

&lt;P&gt;&lt;I&gt;Thank you!&lt;/I&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 31 Aug 2017 16:36:35 GMT</pubDate>
    <dc:creator>CommunityUser</dc:creator>
    <dc:date>2017-08-31T16:36:35Z</dc:date>
    <item>
      <title>System.Net.Http, Version=4.0.0.0 The system cannot find the file specified.</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/System-Net-Http-Version-4-0-0-0-The-system-cannot-find-the-file/m-p/728303#M6170</link>
      <description>&lt;P&gt;We are running AppDynamics.Agent.Coordinator 4.2.8. &amp;nbsp;When this service is running, we get this error.&lt;/P&gt;
&lt;H2 id="toc-hId--1332183924"&gt;&lt;I&gt;Could not load file or assembly 'System.Net.Http, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.&lt;/I&gt;&lt;/H2&gt;
&lt;P&gt;&lt;I&gt;The file is present in the GAC and the Fusion logs show:&lt;/I&gt;&lt;/P&gt;
&lt;P&gt;&amp;lt;meta http-equiv="Content-Type" content="charset=unicode-1-1-utf-8"&amp;gt;&amp;lt;!-- saved from url=(0015)assemblybinder: --&amp;gt;&amp;lt;html&amp;gt;&amp;lt;pre&amp;gt;&lt;BR /&gt;*** Assembly Binder Log Entry (8/30/2017 @ 9:24:49 PM) ***&lt;/P&gt;
&lt;P&gt;The operation failed.&lt;BR /&gt;Bind result: hr = 0x80070002. The system cannot find the file specified.&lt;/P&gt;
&lt;P&gt;Assembly manager loaded from: C:\Windows\Microsoft.NET\Framework64\v4.0.30319\clr.dll&lt;BR /&gt;Running under executable c:\windows\system32\inetsrv\w3wp.exe&lt;BR /&gt;--- A detailed error log follows.&lt;/P&gt;
&lt;P&gt;=== Pre-bind state information ===&lt;BR /&gt;LOG: DisplayName = System.Net.Http, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a&lt;BR /&gt; (Fully-specified)&lt;BR /&gt;LOG: Appbase = file:///C:/somesite/IIS/test-site.com/&lt;BR /&gt;LOG: Initial PrivatePath = NULL&lt;BR /&gt;LOG: Dynamic Base = NULL&lt;BR /&gt;LOG: Cache Base = NULL&lt;BR /&gt;LOG: AppName = 448f9594&lt;BR /&gt;Calling assembly : (Unknown).&lt;BR /&gt;===&lt;BR /&gt;LOG: This bind starts in default load context.&lt;BR /&gt;LOG: Using application configuration file: C:\somesite\IIS\test-site\web.config&lt;BR /&gt;LOG: Using host configuration file: C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet.config&lt;BR /&gt;LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework64\v4.0.30319\config\machine.config.&lt;BR /&gt;LOG: GAC Lookup was unsuccessful.&lt;BR /&gt;ERR: No codebases found to download from.&lt;BR /&gt;ERR: Unrecoverable error occurred during pre-download check (hr = 0x80070002).&lt;/P&gt;


&lt;P&gt;&lt;I&gt;Is this the same issue as referenced in :&amp;nbsp;&lt;A href="https://community.appdynamics.com/t5/NET-Agent-Installation/Could-not-load-file-or-assembly-Newtonsoft-Json/td-p/24192" target="_blank"&gt;https://community.appdynamics.com/t5/NET-Agent-Installation/Could-not-load-file-or-assembly-Newtonsoft-Json/td-p/24192&lt;/A&gt;&lt;/I&gt;&lt;/P&gt;

&lt;P&gt;&lt;I&gt;I looked at the release notes for 4.3.1, but did not see a resolved issue specifically for GAC access issues.&lt;/I&gt;&lt;/P&gt;

&lt;P&gt;&lt;I&gt;Thank you!&lt;/I&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Aug 2017 16:36:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/System-Net-Http-Version-4-0-0-0-The-system-cannot-find-the-file/m-p/728303#M6170</guid>
      <dc:creator>CommunityUser</dc:creator>
      <dc:date>2017-08-31T16:36:35Z</dc:date>
    </item>
    <item>
      <title>Re: System.Net.Http, Version=4.0.0.0 The system cannot find the file specified.</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/System-Net-Http-Version-4-0-0-0-The-system-cannot-find-the-file/m-p/728304#M6171</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;Can you try adding&amp;nbsp;&lt;STRONG&gt;&lt;SPAN class="s1"&gt;&amp;lt;add-assembly-reference&lt;/SPAN&gt;&lt;SPAN class="s2"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;enabled="false"&lt;/SPAN&gt;&lt;SPAN class="s2"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;/&amp;gt; &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN class="s1"&gt;section at your config.xml located at C:\ProgramData\AppDynamics\DotNetAgent\Config&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;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&lt;/P&gt;

&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&amp;lt;app-agents&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;STRONG&gt;&amp;lt;profiler&amp;gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;STRONG&gt;&lt;SPAN class="s1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;add-assembly-reference&lt;/SPAN&gt;&lt;SPAN class="s2"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;enabled="false"&lt;/SPAN&gt;&lt;SPAN class="s2"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;/&amp;gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;STRONG&gt;&lt;SPAN class="s1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/profiler&amp;gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;....&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;....&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;....&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&amp;lt;/app-agents&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;Let us know if this does not resolve the issue.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;Raunak&lt;/SPAN&gt;&lt;/P&gt;
&lt;DIV class="line number1 index0 alt2"&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Thu, 31 Aug 2017 17:11:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/System-Net-Http-Version-4-0-0-0-The-system-cannot-find-the-file/m-p/728304#M6171</guid>
      <dc:creator>Raunak_Mohanty</dc:creator>
      <dc:date>2017-08-31T17:11:18Z</dc:date>
    </item>
    <item>
      <title>Re: System.Net.Http, Version=4.0.0.0 The system cannot find the file specified.</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/System-Net-Http-Version-4-0-0-0-The-system-cannot-find-the-file/m-p/728305#M6172</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Raunak,&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;We were able to resolve the issue by upgrading the agent to 4.3.&lt;/P&gt;

&lt;P&gt;Thanks for getting back to us.&lt;/P&gt;

&lt;P&gt;Sean&lt;/P&gt;</description>
      <pubDate>Thu, 31 Aug 2017 17:18:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/System-Net-Http-Version-4-0-0-0-The-system-cannot-find-the-file/m-p/728305#M6172</guid>
      <dc:creator>CommunityUser</dc:creator>
      <dc:date>2017-08-31T17:18:49Z</dc:date>
    </item>
  </channel>
</rss>

