Click here to Skip to main content
15,867,939 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hello everyone,
i create a Wcf service and create web host for it ,and upload it into my web server,
now i get this error
"You do not have permission to view this directory or page using the credentials that you supplied"

i m new in Wcf ,how can i get permission,

thanks a lot.
Posted

This SO thread seems to address a similar (perhaps the same) issue :

http://stackoverflow.com/questions/4512515/problems-when-using-iis7-and-wcf-cant-even-load-the-svc[^]
 
Share this answer
 
Comments
Espen Harlinn 30-Oct-11 8:58am    
It's likely that OP did not provide credidentials when accessing the WCF service
Start by reading Programming WCF Security[^].
If you are able to access web pages on the site but not the WCF service, you're most likely not providing WCF with any credidentials.

Best regards
Espen Harlinn
 
Share this answer
 
Comments
Nish Nishant 31-Oct-11 7:36am    
Good link, hopefully it will resolve the OP's issue. My vote of 5.
Espen Harlinn 31-Oct-11 9:32am    
Thank you, Nish - at least it's a good place to start :)

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