AjaxUploader works fine locally - Javascript error 'object expected' when viewing after deploy

  •  09-28-2011, 4:37 AM

    AjaxUploader works fine locally - Javascript error 'object expected' when viewing after deploy

    Works fine locally - Javascript error 'object expected' when viewing after deploy
     
    line with error is :
    <script type='text/javascript' src='/CuteWebUI.AjaxUploader.ashx?type=script&amp;_ver='></script><input type='hidden' id='myuploader' name='myuploader' autocomplete='off' /><img id='myuploader_Loader' UniqueID='myuploader' Namespace='CuteWebUI' PageUpload='1' src='/CuteWebUI.AjaxUploader.ashx?type=file&amp;file=continuous.gif' onload='this.style.display=&quot;none&quot; ; CuteWebUI_AjaxUploader_Initialize(this.id);' onerror='this.onload()' ContextValue='!3wEWAQUgQzpcV2luZG93c1xURU1QXEFqYXhVcGxvYWRlclRlbXDJOB4KtzeWLYt!3yCW57iXRXa78e9PCWnVIE00fsAIEtA!2!2' UploadModuleNotInstall='1' Extensions="zip" WindowsDialogLimitMsg="Unable to select so many files at once. The total file name length cannot exceed 32kb." MultipleFilesUpload="0" InfoStyle="padding-left:3px;font:normal 12px Tahoma;" InsertButtonID="uploadbutton" ShowProgressInfo="1" UploadType="Auto" MaxFilesLimitMsg="The maximum number of files allowed to be uploaded is set to {0}." FileTooLargeMsg="{0} cannot be uploaded!
     
    CuteWebUI_AjaxUploader_Initialize  is not an object.
     
     
    the local version of the offending code is:
     
    <script type='text/javascript' src='/CuteWebUI_Uploader_Resource.axd?type=script&amp;_ver='></script><input type='hidden' id='myuploader' name='myuploader' autocomplete='off' /><img id='myuploader_Loader' UniqueID='myuploader' Namespace='CuteWebUI' PageUpload='1' src='/CuteWebUI_Uploader_Resource.axd?type=file&amp;file=continuous.gif' onload='this.style.display=&quot;none&quot; ; CuteWebUI_AjaxUploader_Initialize(this.id);' onerror='this.onload()' ContextValue='!3wEWAQU3QzpcVXNlcnNcdDE3MjMzMjRcQXBwRGF0YVxMb2NhbFxUZW1wXDNcQWpheFVwbG9hZGVyVGVtcI919FYkeRagXa83AO9usQt3q0WSY3tAjk23AGDr94pk' ShowProgressInfo="1" CancelUploadMsg="Cancel upload" ShowProgressBar="1" InsertButtonID="uploadbutton" UploadUrl="/UploadHandler.ashx" UploadingMsg="Uploading.." ResourceHandler="/CuteWebUI_Uploader_Resource.axd" PanelWidth="360" CancelAllMsg="Cancel all Uploads" WindowsDialogLimitMsg="Unable to select so many files at once. The total file name length cannot exceed 32kb." BarHeight="20" BorderStyle="border:1px solid #444444;" FileTooLargeMsg="{0} cannot be uploaded!

     
    For some reason the src is different. - Replacing the JS on the server with the JS on the local file does not solve the issue.
     
     

    Please help,
     
    Simon
View Complete Thread