SecurityAccessDeniedException-Access Denied -WCF Service RRS feed

  • Question

  • Hi,
             I have a IIS hosted WCF Service. I am accessing it from remote machine. I get the following error in my client application:
    System.ServiceModel.Security.SecurityAccessDeniedException: Access is denied.

    I use BasicHttpBinding. Authentication mode is set to "None" in web.config.

    Please help

    Thursday, April 9, 2009 11:38 AM


  • This exception gets triggered when an "Access Denied" fault response is encountered. The most common reason for this is an unhandled SecurityException somewhere in your code.

    Dominick Baier | thinktecture | http://www.leastprivilege.com
    • Marked as answer by Marco Zhou Friday, April 17, 2009 9:59 AM
    Friday, April 10, 2009 1:26 PM

All replies