Click here to Skip to main content
15,881,424 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hallo everyone,

I have a web application project which embeds applet object in one of its asp.net pages. The applet runs properly. When I configure the web.config, however, it fails to run properly. Actually, the error is caused by the authorization section which I figured out later on.

Here is the sample configuration:

...
  <!--<authorization>
      <deny users="?" />
  </authorization>-->
...


The web application is resides on .NET Framwork 2.0.

Is there any solution?


Thanks
Posted

1 solution

Is Windows Authentication (or whichever you're actually using) enabled in IIS?

You're denying Anonymous, so if the others are turned off...
 
Share this answer
 
Comments
Yonathan1111 7-Sep-11 1:38am    
It is Forms authentication. Why do you ask?

Thanks
GenJerDan 7-Sep-11 7:07am    
I've had IIS "magically" decide to disable authentication and revert back to Anonymous. If that happened to you and you had your app set to Deny anonymous...it wouldn't work. What, exactly, is the error you're receiving?

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