Quantcast
Channel: Http Client Protocol Issues (and other fun stuff I support)
Browsing all 140 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

WinHttpWriteData will fail with ERROR_INVALID_PARAMETER if you are trying to...

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...

View Article


Image may be NSFW.
Clik here to view.

How to iterate over contained controls to set a common event handler (Click)...

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....

View Article


Image may be NSFW.
Clik here to view.

.NET 2.0 HttpWebRequest does not use the https Proxy from Internet Explorer...

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...

View Article

Image may be NSFW.
Clik here to view.

URL Rewrite 2.0 Rule can prevent Images from displaying on WebControls like...

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 ....

View Article

Image may be NSFW.
Clik here to view.

Excellent information on Windows Web Service API (WWSAPI)

Having issues developing native C++ Webservices?  Here is an AWESOME blog: http://blogs.msdn.com/haoxu/

View Article


Image may be NSFW.
Clik here to view.

How to iterate (list) all selected items in a Databound ListBox in .NET 4.0...

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 =...

View Article

Image may be NSFW.
Clik here to view.

Cannot Log on to MSDN Blog site

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....

View Article

Image may be NSFW.
Clik here to view.

How to Programmatically add a QueryTable and Data Connection to Excel

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...

View Article


Image may be NSFW.
Clik here to view.

Understanding Problems with MS10-049, KB 980436 and IETF RFC5746

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...

View Article


Image may be NSFW.
Clik here to view.

WinHttp Proxy Settings in 64 Bit (x64) Environments

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...

View Article

Image may be NSFW.
Clik here to view.

WCF Client Inner Exception: "The Security Support Provider Interface (SSPI)...

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...

View Article

Image may be NSFW.
Clik here to view.

Certificate Revocation List (CRL) Check and WinHttp Proxy settings

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...

View Article

Image may be NSFW.
Clik here to view.

Using a Client certificate when moving from the 2.0 to 4.0 Framework - The...

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...

View Article


Image may be NSFW.
Clik here to view.

Super secret. How to decode Base64 Basic Authentication!

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...

View Article

Image may be NSFW.
Clik here to view.

Failed to install Visual Studio Update KB2455033

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...

View Article


Image may be NSFW.
Clik here to view.

How To: Set the proxy for the WebBrowser control in .NET

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...

View Article

Image may be NSFW.
Clik here to view.

You cannot use Geolocation (Geo-location) in an IE 9 WebBrowser control

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”....

View Article


Image may be NSFW.
Clik here to view.

A simple WildCard mapped ISAPI extension, to remove a header

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...

View Article

Image may be NSFW.
Clik here to view.

Windows 8 on Acer Aspire One Netbook - Screen Resolution etc...

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...

View Article

Image may be NSFW.
Clik here to view.

Walkthrough–Creating an IIS server to use with WNS Push Notifications...

I was playing with the Push and periodic notifications client-side sample in the Dev Center and thought I would share my simple ASP.Net application files to show you how to complete this sample and see...

View Article
Browsing all 140 articles
Browse latest View live


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