<?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 c# sdk not working on Windows server in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/c-sdk-not-working-on-Windows-server/m-p/111615#M23379</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I'm using the Splunk SDK (C#) to run searches against our Splunk Server.&lt;/P&gt;

&lt;P&gt;The code I have is from the examples, nothing fancy.&lt;BR /&gt;
It works fine on my Windows 7 machine. I run the search, I get the results, all is good.&lt;/P&gt;

&lt;P&gt;But when I deploy on a Windows 2008 Server, it simply refuses to run.&lt;BR /&gt;
I get the following exception: "The request was aborted: The request was canceled."&lt;/P&gt;

&lt;P&gt;Using the .Net trace feature, the last thing I see in the logs is: "This is to override browser formatting; see server.conf[httpServer] to disable" (more log dump at the end of this post)&lt;/P&gt;

&lt;P&gt;To me, it seems that this is what is killing my search. That there's something in the response that Windows Server doesn't like. But that's a bit of a guess.&lt;/P&gt;

&lt;P&gt;I've tried a few things, but no matter, it will not run on Windows Server.&lt;BR /&gt;
Any idea or pointers welcome because I'm running out of things to try here ...&lt;/P&gt;

&lt;P&gt;Thanks for reading.&lt;/P&gt;

&lt;P&gt;More dump from the .NET trace logs:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;System.Net Verbose: 0 : [3508] 00000000 : 3C 3F 78 6D 6C 20 76 65-72 73 69 6F 6E 3D 22 31 : &amp;lt;?xml version="1
System.Net Verbose: 0 : [3508] 00000010 : 2E 30 22 20 65 6E 63 6F-64 69 6E 67 3D 22 55 54 : .0" encoding="UT
System.Net Verbose: 0 : [3508] 00000020 : 46 2D 38 22 3F 3E 0A 3C-21 2D 2D 54 68 69 73 20 : F-8"?&amp;gt;.&amp;lt;!--This 
System.Net Verbose: 0 : [3508] 00000030 : 69 73 20 74 6F 20 6F 76-65 72 72 69 64 65 20 62 : is to override b
System.Net Verbose: 0 : [3508] 00000040 : 72 6F 77 73 65 72 20 66-6F 72 6D 61 74 74 69 6E : rowser formattin
System.Net Verbose: 0 : [3508] 00000050 : 67 3B 20 73 65 65 20 73-65 72 76 65 72 2E 63 6F : g; see server.co
System.Net Verbose: 0 : [3508] 00000060 : 6E 66 5B 68 74 74 70 53-65 72 76 65 72 5D 20 74 : nf[httpServer] t
System.Net Verbose: 0 : [3508] 00000070 : 6F 20 64 69 73 61 62 6C-65 2E 20 2E 20 2E 20 2E : o disable. . . .
System.Net Verbose: 0 : [3508] 00000080 : 20 2E 20 2E 20 2E 20 2E-20 2E 20 2E 20 2E 20 2E :  . . . . . . . .
System.Net Verbose: 0 : [3508] 00000090 : 20 2E 20 2E 20 2E 20 2E-20 2E 20 2E 20 2E 20 2E :  . . . . . . . .
System.Net Verbose: 0 : [3508] 000000A0 : 20 2E 20 2E 20 2E 20 2E-20 2E 20 2E 20 2E 20 2E :  . . . . . . . .
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 23 Oct 2013 14:30:34 GMT</pubDate>
    <dc:creator>didier_again</dc:creator>
    <dc:date>2013-10-23T14:30:34Z</dc:date>
    <item>
      <title>c# sdk not working on Windows server</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/c-sdk-not-working-on-Windows-server/m-p/111615#M23379</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I'm using the Splunk SDK (C#) to run searches against our Splunk Server.&lt;/P&gt;

&lt;P&gt;The code I have is from the examples, nothing fancy.&lt;BR /&gt;
It works fine on my Windows 7 machine. I run the search, I get the results, all is good.&lt;/P&gt;

&lt;P&gt;But when I deploy on a Windows 2008 Server, it simply refuses to run.&lt;BR /&gt;
I get the following exception: "The request was aborted: The request was canceled."&lt;/P&gt;

&lt;P&gt;Using the .Net trace feature, the last thing I see in the logs is: "This is to override browser formatting; see server.conf[httpServer] to disable" (more log dump at the end of this post)&lt;/P&gt;

&lt;P&gt;To me, it seems that this is what is killing my search. That there's something in the response that Windows Server doesn't like. But that's a bit of a guess.&lt;/P&gt;

&lt;P&gt;I've tried a few things, but no matter, it will not run on Windows Server.&lt;BR /&gt;
Any idea or pointers welcome because I'm running out of things to try here ...&lt;/P&gt;

&lt;P&gt;Thanks for reading.&lt;/P&gt;

&lt;P&gt;More dump from the .NET trace logs:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;System.Net Verbose: 0 : [3508] 00000000 : 3C 3F 78 6D 6C 20 76 65-72 73 69 6F 6E 3D 22 31 : &amp;lt;?xml version="1
System.Net Verbose: 0 : [3508] 00000010 : 2E 30 22 20 65 6E 63 6F-64 69 6E 67 3D 22 55 54 : .0" encoding="UT
System.Net Verbose: 0 : [3508] 00000020 : 46 2D 38 22 3F 3E 0A 3C-21 2D 2D 54 68 69 73 20 : F-8"?&amp;gt;.&amp;lt;!--This 
System.Net Verbose: 0 : [3508] 00000030 : 69 73 20 74 6F 20 6F 76-65 72 72 69 64 65 20 62 : is to override b
System.Net Verbose: 0 : [3508] 00000040 : 72 6F 77 73 65 72 20 66-6F 72 6D 61 74 74 69 6E : rowser formattin
System.Net Verbose: 0 : [3508] 00000050 : 67 3B 20 73 65 65 20 73-65 72 76 65 72 2E 63 6F : g; see server.co
System.Net Verbose: 0 : [3508] 00000060 : 6E 66 5B 68 74 74 70 53-65 72 76 65 72 5D 20 74 : nf[httpServer] t
System.Net Verbose: 0 : [3508] 00000070 : 6F 20 64 69 73 61 62 6C-65 2E 20 2E 20 2E 20 2E : o disable. . . .
System.Net Verbose: 0 : [3508] 00000080 : 20 2E 20 2E 20 2E 20 2E-20 2E 20 2E 20 2E 20 2E :  . . . . . . . .
System.Net Verbose: 0 : [3508] 00000090 : 20 2E 20 2E 20 2E 20 2E-20 2E 20 2E 20 2E 20 2E :  . . . . . . . .
System.Net Verbose: 0 : [3508] 000000A0 : 20 2E 20 2E 20 2E 20 2E-20 2E 20 2E 20 2E 20 2E :  . . . . . . . .
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 23 Oct 2013 14:30:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/c-sdk-not-working-on-Windows-server/m-p/111615#M23379</guid>
      <dc:creator>didier_again</dc:creator>
      <dc:date>2013-10-23T14:30:34Z</dc:date>
    </item>
    <item>
      <title>Re: c# sdk not working on Windows server</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/c-sdk-not-working-on-Windows-server/m-p/111616#M23380</link>
      <description>&lt;P&gt;It turns out, it has nothing to do with Windows Server.&lt;BR /&gt;
My problem is the same as this one: &lt;A href="http://answers.splunk.com/answers/102567/c-sdk-builds-the-connection-was-closed-unexpectedly"&gt;http://answers.splunk.com/answers/102567/c-sdk-builds-the-connection-was-closed-unexpectedly&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Oct 2013 17:21:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/c-sdk-not-working-on-Windows-server/m-p/111616#M23380</guid>
      <dc:creator>didier_again</dc:creator>
      <dc:date>2013-10-23T17:21:18Z</dc:date>
    </item>
  </channel>
</rss>

