This is a migrated thread and some comments may be shown as answers.

web.config Forms Authentication

2 Answers 349 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Stephane Zanoni
Top achievements
Rank 1
Stephane Zanoni asked on 06 Mar 2008, 11:27 PM
I'm not sure if I missed it in the docs, but this should probably put somewhere a little bit more explicitly.  Heck, maybe the code that adds it can check for any Forms authentication and raise a warning... or always add it.

When ever using Forms based authentication the Telerik.Web.UI.WebResource.axd is denied access and all scripts fail.

<authentication mode="Forms"
    <forms name=".XAPP" path="/" loginUrl="~/Login.aspx" protection="All" /> 
</authentication> 
<authorization> 
    <deny users="?"/> 
</authorization> 

Needs to this appended after the system.web element:

</system.web> 
<location path="Telerik.Web.UI.WebResource.axd"
    <system.web> 
        <authorization> 
            <allow users="*"/> 
        </authorization> 
    </system.web> 
</location> 

2 Answers, 1 is accepted

Sort by
0
Poul Henningsen
Top achievements
Rank 1
answered on 07 Mar 2008, 02:11 PM
--Stephane,

check out these forum posts for a solution:

gr, Poul
0
a
Top achievements
Rank 1
answered on 10 Sep 2008, 11:22 PM
Tags
General Discussions
Asked by
Stephane Zanoni
Top achievements
Rank 1
Answers by
Poul Henningsen
Top achievements
Rank 1
a
Top achievements
Rank 1
Share this question
or