Acces Denied to path when adding Web Reference

3.5k views Asked by At

I'm working with VS 2010 and I have a winform application that when I'm trying to add ANY Web Reference it finds it but it doesn't let me click on the "Add Reference" button. The wsdl file is on my dektop so there is no reason for me to not have access to it. Any help would be appreciated. I read a lot of articles similar to this one but not quit the same.

Add Web Reference

1

There are 1 answers

2
laskdjf On

If you are using IIS then you need to find out from the application pool for the website what is the identity it is running under (by default this is Application Pool Identity) and grant that the correct permissions.

EDIT: Try Add Service Reference and not Web Reference