Hello there, We are tiring to connect to SIF Test Harness tool using ADK and I'm getting the following error when using zone.Connect(ProvisioningFlags.Register); I have tried using the following, but with no luck zone.Properties.SetProperty("http.proxyHost", "[192.168.125.150]"); zone.Properties.SetProperty("http.proxyPort", "[80]"); Error: ==== {An unexpected error occurred while receiving data from the ZIS: System.Net.WebException: The remote server returned an error: (407) Proxy Authentication Required. at System.Net.HttpWebRequest.GetResponse() at Edustructures.SifWorks.Impl.BaseHttpProtocolHandler.TrySend(IMessageOutputStream msg)} ENV: ==== SIFWork 2.2.0 .NET 3.5 VS 2008 Windows XP pro ZONE: ==== <zone id="SIfINfo" template="Default" url="htTp://compliANce.SIFinFO.ORg:8080/5DD31F80EF4611DE9AB7886D032819C1;5DD31F81EF4611DE9AB7C8F58D8441BF/L~ESCwESC$ESC(ESC2AESC+HTcESC99!ESC26ESCESCw4zS0**1W3@OHESC,B12+-$gVESCZHL8)0ESC+rJPj,ESCVIESCWsZouX)oT2EKESCESCESCESCtPyUo7B+z1MjESCESC@BESCwX8ESCESCH" > <!--<property name="SyncAtStartup" value ="true" /> <property name="SchoolYear" value ="2009" />--> <!--<property name="SchoolRefId" value ="XYZABSCDEFG" />--> </zone>
We connect to internet using proxy server
Any help is appreciated.
The .NET ADK uses standard .NET configuration to deal with proxy settings on outbound requests. Therefore, you need to set the proxy information in the application config file. Here's a link to more info: http://msdn.microsoft.com/en-us/library/sa91de1e.aspx
Andrew ElmhorstChief ArchitectEdustructures
thanks Andy for your response.
I have defined the following setting in app.config file( I'm testing using console app, evently it will be a windows Service Agent), but I'm still getting the same error. How does ADK picks this setting when connecting to the Zone.
<system.net> <defaultProxy> <proxy usesystemdefault="True" /> </defaultProxy></system.net>