![](/img/trans.png)
[英]In a web service, I am getting a “Key Not Found” exception when I try and serialize to a JSON message
[英]i am getting this error message when i try to execute my web application
錯誤消息是:
異常類型:System.Net.WebException消息:遠程服務器返回錯誤:(407)必需的代理身份驗證。
我在web.config文件中有這些:
<system.net>
<defaultProxy>`n`
<proxy usesystemdefault="True" />
</defaultProxy>
</system.net>
不知道我是否需要包括任何其他參數
錯誤是告訴您代理需要一些憑據才能授予訪問權限。 您可以嘗試使用默認憑據。
<defaultProxy enabled="true" useDefaultCredentials="true">
如果這不起作用...您將必須添加一些代碼來創建網絡憑據以傳遞給代理服務器。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.