Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Member
2 Points
1 Post
May 08, 2010 05:51 PM|LINK
This was not quite my scenario but here is what fixed for me....
My AuthorizationService.svc was in <MyApp>.Web and the webconfig file for that app had Forms Based Authentication....
<
</
Changed it to:
<!--
<credentials passwordFormat="Clear">
</credentials>
</forms>
For me the lesson was that i should have tried to navigate to the service on the local machine like this:
http://localhost:1452/AuthorizationService.svc because I once I did, I got the access denied message and understood what was wrong.
I needed to add a method to the webservice, once i updated it, I returned to forms based auth.
okeefe14
Member
2 Points
1 Post
Re: The HTML document does not contain Web service discovery information.
May 08, 2010 05:51 PM|LINK
This was not quite my scenario but here is what fixed for me....
My AuthorizationService.svc was in <MyApp>.Web and the webconfig file for that app had Forms Based Authentication....
<
<
<
</
</
</
authentication mode="Forms">forms name=".ASPXAUTH" loginUrl="Login.aspx" protection="All" timeout="20">credentials passwordFormat="Clear">credentials>forms>authentication>Changed it to:
<
<!--
<credentials passwordFormat="Clear">
</credentials>
</forms>
</
authentication mode="Windows"><forms name=".ASPXAUTH" loginUrl="Login.aspx" protection="All" timeout="20">-->authentication>For me the lesson was that i should have tried to navigate to the service on the local machine like this:
http://localhost:1452/AuthorizationService.svc because I once I did, I got the access denied message and understood what was wrong.
I needed to add a method to the webservice, once i updated it, I returned to forms based auth.