When I run the Tangerine Exemplar from behind an ISA firewall I get the following error message:
The request failed with HTTP status 407: Proxy Authentication Required (The ISA server requires authorization to fulfil the request. Access to the Web Proxy service is denied.).
My ISA version is 2004 and is configured standard "out of the box" for Small Business Server 2003. I have seen this problem before and have fixed it with the following in the web.config. Unfortunately I am not sure if this is a good fix or just an example of "coding by coincidence"
<system.net><defaultProxy><proxy usesystemdefault="False"/></defaultProxy></system.net>
Hi Andrew,
Did/can you try that in the app.config? The last time I was actively working behind a proxy like that was in 2003, and I think we had to manage it in code back then, but I do believe the effect of that config does essentially the same thing. I think it's the right way to handle that.
Hi Ambrose,
Would there be an app.config on my machine? I am trying to run the exemplar by clicking on the Experience Tangerine button on your web site. I know it did download something to my machine but I am not sure where these files are.
Regards
Andrew
I was thinking you were running the solution locally. There is a download cache that Click Once apps are stored in. For instance, a copy of Tangerine is at C:\Users\alittle\AppData\Local\Apps\2.0\PCCZLOJB.9MQ\2LJKAJG2.JCW\libe..tion_6cbe942d486ab24f_0001.0000_163a8ad71eb14b54\ on my (Vista) box. If you can find it, you can tweak the libermagnus.assetbrowser.presentation.exe.config file.
See if you can tweak that and if it works, or you can download the source and tweak it that way. Let me know how it goes if you have time. If it works for you and we can verify it has no ill effects on non-proxied systems, we can add that to the "official" source. Thanks.
BTW, it goes without saying (almost) that tweaking the Click Once cache directly is not "recommended" as a rule. This might just be a lightweight way for you to test the theory; that's why I suggest it.
Adding the mention <proxy> section to the app.config worked. I don't think this will work for all users behind all proxies though. I have a similiar problem trying to get rss feeds to work through proxies. All the proxies are ISA but there is a mix of auto-detects, script files and manual configurations in Internet Explorer and I do not seem to be able to come up with a standard way of handling them.
Logically I think the following needs to be achieved:
Get default proxy settings from Internet ExplorerGet Network credentials from ??Apply these settings to each WebRequest.
Oops, sorry I am getting a bit carried a way ... forgot this wasn't an ISA forum
Great! Thanks for the validation and additional suggestions, Andrew.