Ajax Uploader fails in DotNetNuke when Friendly URLs is turned on

Last post 11-07-2010, 7:31 PM by cutechat. 1 replies.
Sort Posts: Previous Next
  •  11-04-2010, 5:18 PM 64883

    Ajax Uploader fails in DotNetNuke when Friendly URLs is turned on

    Ajax Uploader works fine when Friendly URLs is turned off, but fails when it's turned on.  I need Friendly URLs turned on to allow my site to be search engine optimized.  How do I get Ajax Uploader to work?
     
    When Friendly URLs is turned on under Host>Host Settings>Advanced Settings>Friendly URL Settings, I'm able to initiate the upload of some files, however, upon completion, I see the uploaded files in the temp directory and the browser shows the following error:
     -----
     

    Server Error in '/' Application.

    The resource cannot be found.

    Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable.  Please review the following URL and make sure that it is spelled correctly.

    Requested URL: /UploadVideos.aspx


    Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1
     
    ----- 
     
    You can see that the friendly URL that was requested is /UploadVideos.aspx.  It's unfriendly URL equivalent is /Default.aspx?tabid=74
     
  •  11-07-2010, 7:31 PM 64900 in reply to 64883

    Re: Ajax Uploader fails in DotNetNuke when Friendly URLs is turned on

    Hi,
     
    Please try these appSettings :
     
    maybe one of it can works
     
    <add key="CuteWebUI.AjaxUploader.RewritePath" value="False" />
     
    <add key="CuteWebUI.AjaxUploader.RewritePath" value="RawUrl" />
     
    <add key="CuteWebUI.AjaxUploader.RewritePath" value="PathAndQuery" />
     
    Regards,
    Terry
View as RSS news feed in XML