Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET AJAX > AsyncUpload > SOLUTION: Upload fails OR Login prompt appears when using Forms / Windows Authentication

Not answered SOLUTION: Upload fails OR Login prompt appears when using Forms / Windows Authentication

Feed from this thread
  • Posted on Jul 30, 2010 (permalink)

    Symptoms: A log-in prompt is presented to the user upon uploading files and the site uses Windows Authentication. If the site is configured with Forms Authentication the upload will fail without error message.

    Cause
    : RadAsyncUpload will not send an authentication cookie when the end-user has Flash Installed.

    Solution: Exclude the Telerik.Web.UI.WebResource.axd handler from authentication:

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

    Note: Anonymous authentication must be enabled on the site for this workaround to work. If AA is disabled, you must disable the RadAsyncUpload Flash module altogether by inserting this script right before the control definition on the page:

    <script type="text/javascript">
        Telerik.Web.UI.RadAsyncUpload.Modules.Flash.isAvailable = function() { return false; }
    </script>

    We're investigating the possibility to automatically send the authentication cookie.

  • Say Hello to Telerik's PivotGrid for ASP.NET AJAX, Silverlight, WPF and WinForms. Now packed with OLAP support.

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET AJAX > AsyncUpload > SOLUTION: Upload fails OR Login prompt appears when using Forms / Windows Authentication
Related resources for "SOLUTION: Upload fails OR Login prompt appears when using Forms / Windows Authentication"

ASP.NET Async Upload Features  |  Documentation  |  Demos  | Step-by-step Tutorial  ]