Microsoft JScript runtime error: Object expected

  •  04-21-2008, 3:05 AM

    Microsoft JScript runtime error: Object expected

    When I run a small test page using VS2008, the Ajax Uploader works perfectly.  However, when I run it without the VS2008 web server (i.e. when I run it using IIS 7 on my local Vista Business machine) I receive the error shown below:

    1. IE Popup:  "Microsoft JScript runtime error: Object expected"
    2. FF Firebug:  "CuteWebUI_AjaxUploader_Initialize is not defined"

    In the script debugger, the following is displayed in what appears to be script injected by the Uploader control:
     
    onload="this.style.display="none" ;  CuteWebUI_AjaxUploader_Initialize(this.id);"

    I don't have any idea how to troubleshoot this.
     
    I also had an error message stating the the "UploadModule was not loaded in web.config" when running from IIS7.
    It appears that I need to add the module "CuteWebUI.UploadModule" using IIS7's admin form.
     
    Also, it appears that I need to change the security permissions on the UploaderTemp folder.  What are the minimal permissions needed?
     
    Finally, in Firefox 2.0.0.14, when I click the Ajax Uploader button, the standard HttpInputFile control is displayed (IE7 works like your online demos).  Your documentations says that Uplevel browsers like Firefox should behave the same, but it seems like FF 2.0 is behaving like you describe a DownLevel browser would.   Can someone clarify expected behaviors.

    Do you have IIS7 docs?  Please solve my problems and I'll buy a license in a heartbeat.  I love this control, but I've spent many hours trying to overcome what appear to be simple issues.


    Thanks.

View Complete Thread