'CuteWebUI_AjaxUploader_Initialize' is undefined

Last post 06-29-2011, 10:10 AM by Jeff. 2 replies.
Sort Posts: Previous Next
  •  06-29-2011, 8:35 AM 68252

    'CuteWebUI_AjaxUploader_Initialize' is undefined

    Hello,
     
    I have been trying to get this control to work within my .net webpart but so far I have been unable to get it to work..
     
    I get the following error when the page loads..
    Line: 83
    Error: 'CuteWebUI_AjaxUploader_Initialize' is undefined
     
    Then I click the upload button I get a error..
    Web module is not installed into the web  config..
     
    If i skip that error then click it again..
    it sorta works..
     
    Im a little confused to why I am getting the first error.. and why this is happening.
     
    Update:
    I added the following to the httpModules of my web config but nothing changed..
          <add name="CuteWebUI.UploadModule" type="CuteWebUI.UploadModule,CuteWebUI.AjaxUploader"/>
     
    I also had to add this.. IIS7.. the other one I did was in another section.. iis classic i think..
     
      <modules>
          <add name="CuteWebUI.UploadModule" type="CuteWebUI.UploadModule,CuteWebUI.AjaxUploader"/>
        </modules>
     
    seems I answered my own question..  =)
     
     
  •  06-29-2011, 8:50 AM 68253 in reply to 68252

    Re: 'CuteWebUI_AjaxUploader_Initialize' is undefined

    Hi shawndg,
     
    Please move the following line to <modules> section and try it again:
     
     <add name="CuteWebUI.UploadModule" type="CuteWebUI.UploadModule,CuteWebUI.AjaxUploader"/>
     
    Web.config example:
     
     <configuration>
       <system.webServer>
         <modules>
           <add name="CuteWebUI.UploadModule" type="CuteWebUI.UploadModule,CuteWebUI.AjaxUploader"/>
         </modules>
       </system.webServer>
     </configuration>
     
    Keep me posted.
     
    Thanks for asking
  •  06-29-2011, 10:10 AM 68256 in reply to 68252

    Re: 'CuteWebUI_AjaxUploader_Initialize' is undefined

    Hi shawndg,
     
    You'd better to change your web.config modules node to the section below for IIS7
     
    1. <system.webServer>  
    2.     <validation validateIntegratedModeConfiguration="false"/>  
    3.     <modules>  
    4.       <remove name="CuteWebUI.UploadModule" />  
    5.       <add name="CuteWebUI.UploadModule" type="CuteWebUI.UploadModule,CuteWebUI.AjaxUploader"/> 
    6.     </modules>  
    7. </system.webServer>  
     
    Regards,
    Jeff
View as RSS news feed in XML