I am using RadAsyncUpload (Q2 2012 SP1) with Forms Authentication using roles, it works well on my localhost, but when i deploy the site to my production server when i try to upload a file it simply doesn't work on submitting, i was debugging using Firebug with Chrome and Firefox and this is what i get on the error console:
Sys.WebForms.PageRequestManagerServerErrorException: Sys.WebForms.PageRequestManagerServerErrorException:
An unknown error occurred while processing the request on the server. The status code returned from the
server was: 401
And in the script tab from firebug i get the next values: 0|error|401||.
I also followed the suggest from the telerik help thread: http://www.telerik.com/help/aspnet-ajax/asyncupload-troubleshooting.html,
where explains about making changes in the web.config for allowing telerik controles have authorization,
separated from the forms authentication but it still not working.
This is an example of how i have one of my configuration files for one role:<?xmlversion="1.0"?>
<configuration>
<system.web>
<authorization>
<allowroles="Alumno"/>
<denyusers="*"/>
</authorization>
</system.web>
<locationpath="Telerik.Web.UI.WebResource.axd">
<system.web>
<authorization>
<allowusers="*" />
</authorization>
</system.web>
</location>
The control declaration in my aspx file looks like this:
<telerik:RadAsyncUploadrunat="server"ID="T_uploadArchivo"MaxFileInputsCount="1"AllowedFileExtensions="doc,docx"
onfileuploaded="T_uploadArchivo_FileUploaded"TemporaryFolder="~/Inicio/Alumno/Temporal">
<FileFilters>
<telerik:FileFilterDescription="Documentos de Procesador de textos(*.doc y *.docx)"Extensions="doc,docx"/>
</FileFilters>
</telerik:RadAsyncUpload>
The temporary folder is inside the same folder where authenticated user is, and i move the file manually to the Final Destination.
I also have tried some other solutions posted on the forums but nothing seems to work, i hope someone could help me solve this, thanks.