Reputation: 2385
I try to add a service reference to the http://www.webservicex.com/globalweather.asmx?WSDL
web service. I go to Add service reference, it discovers it just fine, but when i try to hit OK, I get the error:
Unable to check out current file. The file may be read-only or locked, or you may need to check the file out manually.
I also tried adding a web reference under the "Advanced" tab, but there isnt any option to do so.
I tried doing so in a 7.1 targeted app, same error. My friend is doing this on a Visual Studio 2010, and he gets no such error.
Upvotes: 9
Views: 5430
Reputation: 537
Follow these step, hope it will work:
Debug
→ Options
.Source Control
in the list.Current Source ControlPlug-in
drop down select none
.Upvotes: 44
Reputation: 91
I had the similar issue with Updating Service reference.
My solution was :
Upvotes: 1
Reputation: 1107
I had the same problem and none of the suggested tricks worked, but when I opened the Advanced dialog and selected Add Web Reference all went well.
Upvotes: 0