Click here to Skip to main content
15,896,063 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Why is Windows blocking me from calling a web service installed locally? Can I work my way around it?

I am using Win 8.

Setting environment for using Microsoft Visual Studio 2010 x86 tools.

C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC>svcutil.exe http://localh
ost:51314/WCFService1/Service.svc?wsdl
Microsoft (R) Service Model Metadata Tool
[Microsoft (R) Windows (R) Communication Foundation, Version 4.0.30319.1]
Copyright (c) Microsoft Corporation. All rights reserved.

Attempting to download metadata from 'http://localhost:51314/WCFService1/Service
.svc?wsdl' using WS-Metadata Exchange or DISCO.
Generating files...
Error: Cannot create output file: C:\Program Files (x86)\Microsoft Visual Studio
10.0\VC\Service.cs

Access to the path 'C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\S
ervice.cs' is denied.


C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC>

http://localhost:51314/WCFService1/Service.svc[^]
Posted
Comments
[no name] 31-May-14 7:48am    
"Access denied" is fairly self explanatory is it not? The "work around" is not to try and save files in the "Program Files" directory.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900