error creating the web proxy specified in the 'system.net/defaultproxy' configuration section

后端 未结 9 1814
遥遥无期
遥遥无期 2020-12-09 08:20

I receive the error from a third party application exe. The Application is only a exe, no config file or others.

\"error creating the web proxy specified in the \'sy

相关标签:
9条回答
  • 2020-12-09 08:51

    In my case, I had a windows 2003 server and my .net 4.0 console application was placed on the "D" drive and I kept seeping this error when running it (it was trying to connect to a remote WCF service). As soon as I placed the application files on my "C" drive, everything worked. I have no idea why!

    0 讨论(0)
  • 2020-12-09 08:52

    I had the same problem with one of my apps. On TEST server everything was ok, on PROD server the app was failing with this error message.

    Turns out that case in important! On my TEST server, the config file had <system.net><defaultproxy> => working.

    On my PROD server, I had the same setting => not working. I changed that to <system.net><defaultProxy>, with a capital 'P', and everything is fine now. I guess the framework version is not the same between my servers, and one forgives more spelling errors.

    Edit: actually my PROD section was all lowercase. I probably messed up when editing the config file, and typed a keyboard shortcut to convert my file to lowercase...

    0 讨论(0)
  • 2020-12-09 09:04

    I had this same problem today and found a solution for it. In my case, the problem occurred because I was using a network disk for storing my project. When run from this network disk, this problem occurred. I moved the project to my local hard drive and it was gone. I am guessing this has something to do with security, as Windows considers the network drive less secure than my hard disk.

    0 讨论(0)
提交回复
热议问题