locked
Problem in ajaxToolkit:AjaxFileUpload when use url rewrite RRS feed

  • Question

  • User-1575600908 posted

    hello to all

    i use ajaxToolkit:AjaxFileUpload and url rewrite in global.asax 

            protected void Application_Start(object sender, EventArgs e)
            {
                RegisterRoutes(RouteTable.Routes);
            }
    
    
            public static void RegisterRoutes(RouteCollection routes)
            {
                routes.MapPageRoute("",
                    "services/{action}/",
                    "~/services/service.aspx");
            }

    when i upload i file i get this error

    Uncaught Failed to starting upload.

    Failed to load resource: the server responded with a status of 404 (Not Found)

    but when i remove global.asax in project file upload is work correctly

    please help me

    Saturday, July 5, 2014 6:27 AM

All replies

  • User1918509225 posted

    Hi sadeq.hatami,

    If you don't mind ,please post your page code which contain ajaxfileupload control.

    thanks very much

    Monday, July 7, 2014 1:51 AM