Sign In
Http Client Protocol Issues
If you use any of these solutions, Please let me know so I can track if any of this is useful to you! Thanks!
Translate This Page
Translate this page
Powered by
Microsoft® Translator
Options
Email Blog Author
RSS for posts
Atom
RSS for comments
OK
Search
Advanced search options...
Search In:
Everything
Blogs
Forums
People
Groups
Places
Pages
Date range:
All Time
Last Year
Last 6 Months
Last 3 Months
Last Month
Last Week
Last Two Days
Tags
.NET Controls
.NET Interop
Asp.Net
ATL Controls
AtlServer
Certificates
DebugDiag
HTTP Troubleshooting
HttpWebRequest
IE 8
IIS 7
Internet Explorer
ISAPI
Metro
MSXML
SOAP
Soap ToolKit
SSL
System.Net
WebBrowser Control
Windows 8
WinHttp
WinInet
WWSAPI
XMLHttp
Archive
Archives
December 2011
(2)
October 2011
(1)
June 2011
(1)
May 2011
(1)
April 2011
(2)
March 2011
(2)
February 2011
(1)
October 2010
(1)
September 2010
(2)
August 2010
(1)
June 2010
(1)
May 2010
(1)
April 2010
(1)
March 2010
(2)
October 2009
(2)
September 2009
(5)
August 2009
(2)
July 2009
(2)
June 2009
(10)
May 2009
(4)
April 2009
(3)
March 2009
(7)
February 2009
(1)
January 2009
(2)
December 2008
(4)
November 2008
(1)
October 2008
(2)
September 2008
(2)
June 2008
(1)
April 2008
(1)
March 2008
(2)
January 2008
(2)
December 2007
(2)
November 2007
(1)
October 2007
(2)
July 2007
(1)
June 2007
(1)
May 2007
(4)
April 2007
(2)
MSDN Blogs
>
Http Client Protocol Issues
Posts
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
Http Client Protocol Issues
How to take a System.Net trace from Metro Style Applications (Developer Preview)
Posted
1 month ago
by
jpsanders
0
Comments
In desktop applications and services we frequently take System.Net traces to diagnose issues using the HttpWebRequest class, HttpListener, sockets, smpt etc… (and now the HttpClient classes). We traditionally use the application configuration file...
Http Client Protocol Issues
Walkthrough–Creating an IIS server to use with WNS Push Notifications (Metro)
Posted
2 months ago
by
jpsanders
0
Comments
I was playing with the Push Notifications Sample in the Metro style apps Dev Center and thought I would share my simple ASP.Net application files to show you how to complete this sample and see it work! First you need an IIS server that can run ASP.Net...
Http Client Protocol Issues
Windows 8 on Acer Aspire One Netbook - Screen Resolution etc...
Posted
3 months ago
by
jpsanders
0
Comments
I was anxious to see what real memory usage would look like on my low end netbook. It was better than Windows 7! Less than 500M. One problem I had was the native resolution of my netbook is1024X600 and the Metro Style apps will not load at that resolution...
Http Client Protocol Issues
A simple WildCard mapped ISAPI extension, to remove a header
Posted
7 months ago
by
jpsanders
0
Comments
I needed a simple WildCard Extension to remove a header and could not find one. This needs a little more error checking code but can get the job done. If you use it and add some enhancements or find problems, let me know and I will tune up the example...
Http Client Protocol Issues
You cannot use Geolocation (Geo-location) in an IE 9 WebBrowser control
Posted
9 months ago
by
jpsanders
0
Comments
If you build a WebBrowser control based application you will notice that Geolocation does not work properly. You do not get the prompt to accept the website “wants to track your physical location”. Because you do not get that prompt, you cannot accept...
Http Client Protocol Issues
How To: Set the proxy for the WebBrowser control in .NET
Posted
9 months ago
by
jpsanders
11
Comments
I see some horrible solutions for this out on the web. Most involve setting the proxy for the entire machine and then toggling it back off. Here is a class that will allow you to set it ONLY FOR THE PROCESS that the control is hosted in. You could call...
Http Client Protocol Issues
Failed to install Visual Studio Update KB2455033
Posted
9 months ago
by
jpsanders
1
Comments
I had trouble installing this update this morning. I found that since I had installed the Windows 7.1 SDK as well, I had to first install Microsoft Visual C++ 2010 Service Pack 1 Compiler Update for the Windows SDK 7.1 KB2519277. This seemed to allow...
Http Client Protocol Issues
Super secret. How to decode Base64 Basic Authentication!
Posted
10 months ago
by
jpsanders
1
Comments
OK, really not that secret. Basic Authentication headers are pretty simple. When the server returns 401 and the header: WWW-Authenticate: Basic. The server wants you to send the username and password in this format: jeff:mypassword and then encode...
Http Client Protocol Issues
Using a Client certificate when moving from the 2.0 to 4.0 Framework - The request was aborted, cannot create SSL/TLS secure channel
Posted
11 months ago
by
jpsanders
0
Comments
Code that was working on a machine with the 2.0 (3.5) version of the .NET framework all of a sudden failed when this was flipped to the 4.0 version of the framework. The end error was “The request was aborted, cannot create SSL/TLS secure channel” and...
Http Client Protocol Issues
Certificate Revocation List (CRL) Check and WinHttp Proxy settings
Posted
11 months ago
by
jpsanders
2
Comments
Starting with Windows XP SP2, the Crypto API CRL check uses WinHttp (see: http://support.microsoft.com/kb/887196 ). This can cause some confusion with network administrators and developers since they might have set proxy information for WinInet or applications...
Http Client Protocol Issues
WCF Client Inner Exception: "The Security Support Provider Interface (SSPI) negotiation failed."
Posted
over 2 years ago
by
jpsanders
4
Comments
Creating a WCF Client in Visual Studio 2010, I struggled with this error. I was running as the currently logged on user and the service was as well so this made no sense to me. I found that this entry in the client app.config was the culprit: <identity>...
Http Client Protocol Issues
WinHttp Proxy Settings in 64 Bit (x64) Environments
Posted
over 2 years ago
by
jpsanders
1
Comments
There are two settings for WinHttp Proxy settings for a 64 Bit OS. One applies to the 64 bit environment and one for the 32 bit environment. You can use netsh for Windows 2008, Windows 7 and later OSes and proxycfg.exe for earlier OSes. If you are confused...
Http Client Protocol Issues
Understanding Problems with MS10-049, KB 980436 and IETF RFC5746
Posted
over 2 years ago
by
jpsanders
5
Comments
Understanding Problems with MS10-049, KB 980436 and IETF RFC5746 Microsoft released a Security update MS10-049: Vulnerabilities in SChannel could allow remote code execution. This update patches vulnerabilities in SChannel (TLS) that can be exploited...
Http Client Protocol Issues
How to Programmatically add a QueryTable and Data Connection to Excel
Posted
over 2 years ago
by
jpsanders
2
Comments
I needed to create an Excel Spreadsheet with a Connection object and link a QueryTable to it. I could not find a good example of this so I thought I would share. Please drop me a note if you found this useful! Code listing for sample ( Copy Code ): private...
Http Client Protocol Issues
Cannot Log on to MSDN Blog site
Posted
over 2 years ago
by
jpsanders
1
Comments
OK, I am a dummy. I spent 30 minutes trying to associate my account with the MSDN Blog sign in so I could author a blog. Since the change of the site it asks you for your screen name and password. Since I have my Live account associated with the Blog...
Http Client Protocol Issues
How to iterate (list) all selected items in a Databound ListBox in .NET 4.0 Winforms
Posted
over 2 years ago
by
jpsanders
0
Comments
A seemingly easy thing to do that I could not find documentation for! string astr; foreach (DataRowView aRow in listBox1.SelectedItems ) { astr = aRow["TopicId"].ToString(); astr = aRow["TopicText"].ToString(); } TopicId and TopicText are the name of...
Http Client Protocol Issues
Excellent information on Windows Web Service API (WWSAPI)
Posted
over 2 years ago
by
jpsanders
0
Comments
Having issues developing native C++ Webservices? Here is an AWESOME blog: http://blogs.msdn.com/haoxu/
Http Client Protocol Issues
URL Rewrite 2.0 Rule can prevent Images from displaying on WebControls like TreeView
Posted
over 2 years ago
by
jpsanders
0
Comments
I was excited to try URL Rewrite to create some rules on my internal web site. I added a rule to map a query string like http://mysite/treepage.aspx?nodeName=RedColors to http://mysite/RedColors . After doing this I found that the images of the treeview...
Http Client Protocol Issues
.NET 2.0 HttpWebRequest does not use the https Proxy from Internet Explorer Settings
Posted
over 2 years ago
by
jpsanders
2
Comments
The .NET framework version 2.0 has the ability to get the IE proxy Settings and use them when making a WebRequest. However it only will read the http static proxy and not use the https value when specified. See this example: I would expect this code to...
Http Client Protocol Issues
How to iterate over contained controls to set a common event handler (Click) in .NET
Posted
over 3 years ago
by
jpsanders
0
Comments
The requirement was to assign a click event handler to all Label Controls contained in a .NET User Control. This is a simple technique but I found there was no good documentation on how to do this. To illustrate how to do this, I created a simple Windows...
Http Client Protocol Issues
WinHttpWriteData will fail with ERROR_INVALID_PARAMETER if you are trying to send more data than specified in WinHttpSendRequest on Windows 7 (by design)
Posted
over 3 years ago
by
jpsanders
0
Comments
There are new checks in Windows 7 to prevent you from doing bad things with the WinHttp APIs. In the sample code below, I do not get an error pre-Windows 7 but on Windows 7 the WinHttpWriteData call results in bResults being 0 and GetLastError() returns...
Http Client Protocol Issues
How To: Walkthrough Using HttpListener or Http Server unmanaged code (C++) as an SSL Simple Server
Posted
over 3 years ago
by
jpsanders
10
Comments
There seems to be no simple end-to-end walkthrough for creating a simple HttpListener based SSL Listener that includes how to configure the computer by generating and installing a Certificate for this listener. Basic concepts covered: Write the...
Http Client Protocol Issues
How to get a dump for a System.Net.WebException using DebugDiag (Debug Diagnostics)
Posted
over 3 years ago
by
jpsanders
0
Comments
This information is available in the help file as well. For more options please refer to the Help Documentation include with DebugDiag. Install the latest Debug Diagnostics from http://download.microsoft.com (search for Debug Diagnostics once on that...
Http Client Protocol Issues
Troubleshooting ASP.NET - The remote certificate is invalid according to the validation procedure
Posted
over 3 years ago
by
jpsanders
16
Comments
This error message is caused because the process is not being able to validate the Server Certificate supplied by the Server during an HTTPS (SSL) request. The very first troubleshooting step should be to see if the server supplied certificate and every...
Http Client Protocol Issues
How to get the window handle for the Internet Explorer process you created (LCIE IE 8)
Posted
over 3 years ago
by
jpsanders
2
Comments
One technique people use in accessibility applications is to kick off an application and then grab the Window handle of the process to hook it or do other processing. With loosely coupled Internet Explorer (LCIE) this is a little more difficult that simply...
Page 1 of 4 (85 items)
1
2
3
4