load operation failed for query 'getuser' - How to fix it

Discussion in 'Site Programming, Development and Design' started by mswaine, Sep 19, 2010.

  1. Scenario

    I build a Silverlight Business Application straight out of the box and run it on my local machine. Everything works fine.

    I then deploy to my hosting account on Winhost. As soon as I run the page I get the error:

    load operation failed for query 'getuser'

    After hours of pulling my hair out I traced the real error down (using fiddler) to:

    IIS specified authentication schemes 'Basic, Anonymous', but the binding only supports specification of exactly one authentication scheme.

    I then added the the following code inside my Web.Config (inside the <system.webServer> tags)

    <security>
    <authentication>
    <basicAuthentication enabled="false" />

    </authentication>
    </security>

    It worked fine after that.
     
  2. Ray

    Ray

    Thanks for that update. I just want to add that you can also change the authentication type inside IIS 7 Manager. When you use IIS 7 Manager you will see a button or also known as a module that reads "Authentication". Use this to set Basic Authentication to False. It maybe easier then going through the web.config elements.
     

Share This Page