defaultproxy

Exception when specifying defaultProxy in app.config when running NET4.0 application from network share

◇◆丶佛笑我妖孽 提交于 2019-12-21 07:57:08
问题 We're seeing a very strange issue when running the following application from a network share under NET4.0. When specifying a defaultProxy section in app.config a System.Net.WebException is thrown. There is no problem when running from a local drive. According to documentation applications will run as full-trust assemblies from a network share so we're assuming this should work just fine. Any ideas how we can work around this problem? Has anyone else experienced this issue or does anyone know

Exception when specifying defaultProxy in app.config when running NET4.0 application from network share

妖精的绣舞 提交于 2019-12-04 02:19:59
We're seeing a very strange issue when running the following application from a network share under NET4.0. When specifying a defaultProxy section in app.config a System.Net.WebException is thrown. There is no problem when running from a local drive. According to documentation applications will run as full-trust assemblies from a network share so we're assuming this should work just fine. Any ideas how we can work around this problem? Has anyone else experienced this issue or does anyone know why this might be happening? Sample program using System; using System.Net; namespace ProxyTest {