5
默認情況下,基地址爲我的測試WCF應用程序是更改WCF基址
http://localhost:8732/Design_Time_Addresses/evalservice
,但是當我刪除Design_Time_Addresses,去一個簡單的基址如下圖所示
<add baseAddress="http://localhost:8732/evalservice" />
我收到錯誤如下
Please try changing the HTTP port to 8732 or running as Administrator.
System.ServiceModel.AddressAccessDeniedException: HTTP could not register URL http://+:8732/evalservice/. Your process does not have access rights to this namespace (see http://go.microsoft.com/fwlink/?LinkId=70353 for details). ---> System.Net.HttpListenerException: Access is denied
當我將它移回到Design_Time_Addresses時,問題是可解決的VED。
什麼是Design_Time_Addresses,如何將其更改爲更簡單的基地址?