Azure AppFabric : Two possible errors and troubleshooting

Azure AppFabric : Two possible errors and troubleshooting

  • Comments 2

Azure AppFabric Access Control is an easy to implement feature. While I was trying to add it to one of my applications, I found two show stopping errors.

1. A potentially dangerous Request.Form value was detected from the client (wresult="<t:RequestSecurityTo...").

To solve you need to do two things

a. Add below to Web.Config under <System.web>

<

httpRuntime requestValidationMode="2.0" />

b. Add to <% @page of your .aspx page ValidateRequest="false"

2. Another could be due to issue of loading user profile.

Find out the Application Pool of your website in IIS.

image

From the IIS’s right side tree node open that App Pool. Go to Advanced settings of the app pool (here ASP.NET v4.0) and change the Load User Profile to True.

image

Namoskar!!!

Leave a Comment
  • Please add 7 and 1 and type the answer here:
  • Post
  • Hi Wriju,

    Yesterday i attended your session in TecEd.

    I tried to use the ACS in my application (using Windows Identity Foundation).

    I did everything, but while running the application im getting below error.

    Error message 401.2.: Unauthorized: Logon failed due to server configuration.  Verify that you have permission to view this directory or page based on the credentials you supplied and the authentication methods enabled on the Web server.  Contact the Web server's administrator for additional assistance.

    Can you please help me regarding the same.

  • Hello Satheesh,

    Please check all your bits are updated and your application is running under local IIS (not on development environment). Please follow it step by step www.microsoft.com/.../details.aspx

Page 1 of 1 (2 items)