ajaxuploader uploadattachement ASP.NET Ajax client-side framework failed to load

Last post 12-03-2009, 8:48 AM by cutechat. 5 replies.
Sort Posts: Previous Next
  •  09-25-2009, 9:47 AM 55879

    ajaxuploader uploadattachement ASP.NET Ajax client-side framework failed to load

    hi,

    I'm enthusiasm to test the latest version of ajaxuploader.
    My solution consists of two projects: Class Library project  and a Web project. 

    I try to integrate dynamically control uploadattachement in my Class Library project. 
    the problem is that when I start loading a file from my control uploadattachement, I have a javascript error "ASP.NET Ajax client-side framework failed to load." 

    Someone has an idea please!
    thank you in advance.
  •  09-26-2009, 8:36 AM 55890 in reply to 55879

    Re: ajaxuploader uploadattachement ASP.NET Ajax client-side framework failed to load

    If your website use MSAJAX (System.Web.Extensions) , you may forgot to register it to web.config :
     
    <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
     
    (for old version , it will be Version=1.0.0.0)
     
    Tegards,
    Terry
  •  09-26-2009, 12:31 PM 55895 in reply to 55890

    Re: ajaxuploader uploadattachement ASP.NET Ajax client-side framework failed to load

    In my web.config file, I have these lines :

    1. <system .web="">   
    2. <httpModules>   
    3.  <<add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">   
    4.  <add name="CuteWebUI.UploadModule" type="CuteWebUI.UploadModule,CuteWebUI.AjaxUploader">   
    5.  </httpModules>   
    6.  <httpRuntime maxRequestLength="8192">   
    7.   
    8.  </system>  

    When I integrate statically ajaxuploader control in my web project, the problem not occured.

    Only by integrating the control dynamically in my class library project, I have this strong error : sys indefined.

  •  09-26-2009, 9:44 PM 55896 in reply to 55895

    Re: ajaxuploader uploadattachement ASP.NET Ajax client-side framework failed to load

    Hi,
     
    Please check whether the script resource could be download or not :
     
    ScriptResource.axd?d=8wpsN1-Ok1UOH0UWHuBuqDM2UdhJ1ZFmlgEHq9zUcmm1rhteLHUTn9AKnU24h8M_sSU8qenEPPxCXC_hEG8l1UcqvUK2sMVPWuABA6NVnEc1
     
    Regards,
    Terry
     
  •  12-01-2009, 12:08 PM 57523 in reply to 55896

    Re: ajaxuploader uploadattachement ASP.NET Ajax client-side framework failed to load

    there are no ScriptResource loaded like this
     
    ScriptResource.axd?d=8wpsN1-Ok1UOH0UWHuBuqDM2UdhJ1ZFmlgEHq9zUcmm1rhteLHUTn9AKnU24h8M_sSU8qenEPPxCXC_hEG8l1UcqvUK2sMVPWuABA6NVnEc1
     
    it should be with same querystring??
    pleaser help me!!
     
    thanks in advance.
  •  12-03-2009, 8:48 AM 57565 in reply to 55879

    Re: ajaxuploader uploadattachement ASP.NET Ajax client-side framework failed to load

    Hi,
     
    If you use MS-AJAX , the ScriptResource.axd should be loaded.
     
    Can you post some code to descript how you implement your idea ?
     
    Regards,
    Terry
View as RSS news feed in XML