Tuesday, August 05, 2008

So this happened to me today.

We were making some changes to a deployed mobile warehouse solution and I needed to roll out some updates.

No problem, I thought just download a new CAB installer to the server,  set the version number of the software higher on the server and let my life saving auto update mechanism do the work (search my blog for details)

Oh dear.     Little did I know that the devices had all been setup using Active-Sync and they had an Internet proxy set, which was not appropriate for automatically downloading the updates.   As we all know (yes you do) Active-Sync has this lovely habit of setting the device proxy to that of the desktop PC you are using.

Doh.

So moral of the story remember that in .Net Compact framework if you do something like -

request = (HttpWebRequest)HttpWebRequest.Create(this.url);

It will use the proxy setting of the connection you are using.

I'm looking at writing something that will go set the appropriate registry keys to disable the proxy, but I'm a bit scared :-)

Tuesday, August 05, 2008 7:32:27 PM UTC  #    Comments [0]  | 

Theme design by Jelle Druyts

Pick a theme: