Bought the license and now it does not work.

Last post 04-11-2013, 12:14 PM by Kenneth. 15 replies.
Sort Posts: Previous Next
  •  02-06-2013, 5:07 PM 76809

    Bought the license and now it does not work.

    I used to have the 30 evaluation and it worked.  It expired and I would get the license expired error.

    I bought the license and now I just get this error.

     

    Message: Syntax error

     

     

    Not very descriptive.

     

     

  •  02-06-2013, 5:39 PM 76810 in reply to 76809

    Re: Bought the license and now it does not work.

    Was there a recent update to the Ajax-Uploader.zip ?
  •  02-06-2013, 6:58 PM 76811 in reply to 76810

    Re: Bought the license and now it does not work.

    Hi NewmanJerry,

     

    Can you poste your uploader page url? So we can check it for you. 

     

    Or you can send it to [email protected]

     

    Regards,

     

    ken 

  •  02-06-2013, 10:25 PM 76812 in reply to 76811

    Re: Bought the license and now it does not work.

    Sorry.

    It's behind a firewall.

     

    I get the the Message error:

     

    Message: Object expected

     

     Message: Syntax error

     

    I have the  

    ajaxuploader.lic

    dated 2-5-13

     

    and

    CuteWebUI.AjaxUploader.dll

    dated 1-31-13 

     

     

  •  02-07-2013, 12:26 PM 76817 in reply to 76812

    Re: Bought the license and now it does not work.

    Hi NewmanJerry,

     

    It like that it is a coding issue, is not the uploader error. Can you show me the full error message?

     

    Can you try the example page below? Does it get the same problem? 

     

    1. <%@ Page Language="C#" %>  
    2.   
    3. <%@ Register TagPrefix="CuteWebUI" Namespace="CuteWebUI" Assembly="CuteWebUI.AjaxUploader" %>  
    4. <!DOCTYPE html>  
    5. <html xmlns="http://www.w3.org/1999/xhtml">  
    6. <head runat="server">  
    7.     <title></title>  
    8. </head>  
    9. <body>  
    10.     <form id="form1" runat="server">  
    11.         <CuteWebUI:Uploader id="uploader1" runat="server">  
    12.         </CuteWebUI:Uploader>  
    13.     </form>  
    14. </body>  
    15. </html>  
     

    Regards,

     

    Ken 

  •  02-07-2013, 6:20 PM 76822 in reply to 76817

    Re: Bought the license and now it does not work.

    That example you sent causes no errors.

    I'll continue to debug it.

    This is my code that I was using for the evaluation files.  As soon as I bought the license I got the error.  Here is the code:

     Maybe you might see something that I am not seeing. I attached the error image.

     

    Thanks 

     

    <%@ Page Language="C#" %>

     

    <%@ Register TagPrefix="CuteWebUI" Namespace="CuteWebUI" Assembly="CuteWebUI.AjaxUploader" %>

     

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

     

    <script runat="server">

        void InsertMsg(string msg)

        {

            ListBoxEvents.Items.Insert(0, msg);

            ListBoxEvents.SelectedIndex = 0;

        }

     

        void Uploader_FileUploaded(object sender, UploaderEventArgs args)

        {

           

            InsertMsg("File uploaded! " + args.FileName + ", " + args.FileSize + " bytes.");

     

            //Copys the uploaded file to a new location.

            args.CopyTo("C:/Users/xxxx/Documents/xxx/xxx/putHere/" + args.FileName);

            //args.CopyTo(ConfigurationSettings.AppSettings["LoadFiles"] + args.FileName);

       

            //args.Delete(); 

           

           

           

        }

    </script>

     

    <html xmlns="http://www.w3.org/1999/xhtml">

    <head id="Head1" runat="server">

        <title>Selecting multiple files for uploading</title>

        <link rel="stylesheet" href="css/xxx.css" type="text/css" />

    </head>

    <body class="rptBody">

        <form id="form1" runat="server">

       

        <table border="0" cellpadding="0" cellspacing="0">

     

        <tr>

            <td align="center">

                <asp:HyperLink ID="HyperLinkEffectHelp" CssClass="noBorder" runat="server" Target="Help" NavigateUrl="~/helpEffect.aspx#effectReport" ImageUrl="~/Images/xxx.jpg"></asp:HyperLink>   

            </td>

        </tr>

        <tr>

        <td>

       

            <div class="content">

           

                <asp:ScriptManager ID="Scriptmanager1" runat="server">

                </asp:ScriptManager>

               

                <asp:UpdatePanel ID="UpdatePanel1" runat="server">

                   <ContentTemplate>

                            Select multiple files in the file browser dialog then upload them at once.

                        <CuteWebUI:Uploader runat="server" ID="Uploader1" InsertText="Upload Multiple Files (Max 1000 MB)"

                            MultipleFilesUpload="true" OnFileUploaded="Uploader_FileUploaded">

                            <ValidateOption MaxSizeKB="1048576" />

                        </CuteWebUI:Uploader>

                       

                       

                        <p>

                            Files Uploaded:

                            <br />

                            <asp:ListBox runat="server" ID="ListBoxEvents" />

                        </p>

                        <%--<asp:Button ID="ButtonPostBack" Text="This is a PostBack button" runat="server" OnClick="ButtonPostBack_Click" />--%>

                    </ContentTemplate>

                </asp:UpdatePanel>

            </div>

           

        </td>

        </tr>

        </table>

           

           

           

        </form>

    </body>

    </html>

     

     

     

     

  •  02-07-2013, 9:14 PM 76823 in reply to 76822

    Re: Bought the license and now it does not work.

    Could it be the new Ajax Control Toolkit .NET 3.5

    ?

    New Jan 2013 released.

     

  •  02-11-2013, 5:14 PM 76840 in reply to 76817

    Re: Bought the license and now it does not work.

    I run that code but when I click the "Upload a file" button

     I tdoes nothing.

  •  02-11-2013, 6:11 PM 76843 in reply to 76840

    Re: Bought the license and now it does not work.

    Ken,

    I found out that it works on Firefox.  I have 17.0.2

     

    It's not working on the  Internet Explorer 8

     

    Have you seen this before?

     

    Thanks,

    Rick 

  •  04-06-2013, 12:39 AM 77179 in reply to 76843

    Re: Bought the license and now it does not work.

    I am evaluating the component and am having the same issue:  the component doesn't load in IE9, but does load, and works great, in FF 19.0.2.  It fails in IE near where this code is highlighted:

     

    onload="this.style.display=&quot;none&quot; ; if(!window.CuteWebUI_AjaxUploader_Initialize){var xh=window.XMLHttpRequest?new XMLHttpRequest():new ActiveXObject(&apos;Microsoft.XMLHttp&apos;);xh.open(&apos;GET&apos;,&apos;/CuteWebUI.AjaxUploader.ashx?type=script&amp;_ver=634999870121387120&apos;,false);xh.send(&apos;&apos;);eval(xh.responseText)}CuteWebUI_AjaxUploader_Initialize(this.id);"  

     

    This isn't my code;  perhaps the author can confirm that it is indeed the component that is failing.  This is a show-stopper for me.  If this is fixed, I'll be buying a license.  Please advise.

     

    Thanks,

    Mitch 

  •  04-08-2013, 11:52 AM 77181 in reply to 77179

    Re: Bought the license and now it does not work.

    Ken - I forgot to mention that I got the same results when I ran your test code from an earlier post:  it works in FF 19.0.2 but fails in IE 9.

     

    Mitch 

  •  04-09-2013, 7:26 AM 77186 in reply to 77181

    Re: Bought the license and now it does not work.

    Hi mitcheroo,

     

    Please try demo page http://www.ajaxuploader.com/Demo/select-multiple-files-upload.aspx, does it work on your IE9? If yes, Please download the latest build and try again.

     

    latest build download url: http://ajaxuploader.com/download/Ajax-Uploader.zip

     

    Regards,

     

    Ken 

  •  04-09-2013, 4:14 PM 77189 in reply to 77186

    Re: Bought the license and now it does not work.

    Hi Ken,

     

    The demo page does indeed work in IE9.  I do see a difference between my code and yours that I can't explain;  perhaps you can shed some light.

     

    Here is what IE's Developer Tools is showing as the onload attribute for the <img> tag that gets rendered in your demo page version of AjaxUploader:

     

    onload="this.style.display="none" ; if(!window.CuteWebUI_AjaxUploader_Initialize){var xh=window.XMLHttpRequest?new XMLHttpRequest():new ActiveXObject('Microsoft.XMLHttp');xh.open('GET','/CuteWebUI_Uploader_Resource.axd?type=script&_ver=634982217233730498',false);xh.send('');eval(xh.responseText)}CuteWebUI_AjaxUploader_Initialize(this.id);"

     

    And here is what Developer Tools is showing as the onload attribute on my page:

     

    onload="this.style.display=&quot;none&quot; ; if(!window.CuteWebUI_AjaxUploader_Initialize){var xh=window.XMLHttpRequest?new XMLHttpRequest():new ActiveXObject(&#39;Microsoft.XMLHttp&#39;);xh.open(&#39;GET&#39;,&#39;/CuteWebUI.AjaxUploader.ashx?type=script&amp;_ver=635007824293053823&#39;,false);xh.send(&#39;&#39;);eval(xh.responseText)}CuteWebUI_AjaxUploader_Initialize(this.id);"

     

    Here is my code:

     

    <asp:UpdatePanel runat="server" id="UpdatePanel1" >

           <ContentTemplate>

                <uc1:UploadableFile runat="server" ID="ufAvatar" UploadArea="Avatars" ClientOnFileUploaded="uiAvatar_FileUploaded" UploadButtonText="Upload..." />

                <div style="padding-left: 3px; padding-top: 4px">

                      <asp:Label runat="server" ID="lblUploadedFileName"></asp:Label>

                </div>

          </ContentTemplate>

    </asp:UpdatePanel>

     

    UploadableFile is a user control that contains the Uploader control:

     

    <%@ Control Language="C#" AutoEventWireup="true" CodeBehind="UploadableFile.ascx.cs" Inherits="InsideConnector.UploadableFile" %>

    <%@ Register TagPrefix="CuteWebUI" Namespace="CuteWebUI" Assembly="CuteWebUI.AjaxUploader" %>

    <CuteWebUI:Uploader id="Uploader1" runat="server" OnFileUploaded="Uploader1_FileUploaded" InsertButtonID="btnUpload" OnPreRender="Uploader1_PreRender" >

          <CancelButtonStyle />

          <InsertButtonStyle />

          <ProgressLabelStyle />

          <ValidateOption />

    </CuteWebUI:Uploader>

    <asp:Button runat="server" ID="btnUpload" />

    <asp:Label runat="server" ID="lblErrorMessage"></asp:Label>

     

     

    Perhaps the UpdatePanel is contributing to the issue?

     

    Thanks,

    Mitch 


  •  04-10-2013, 12:13 PM 77198 in reply to 77189

    Re: Bought the license and now it does not work.

    Hi,

     

    If he online demo works for you, then I suggest you try the latest build first. Maybe you just using the old version which not 100% compatible with IE 9.

     

    Latest build download url: http://ajaxuploader.com/download/Ajax-Uploader.zip

     

    Regards,

     

    Ken 

  •  04-11-2013, 2:30 AM 77209 in reply to 77198

    Re: Bought the license and now it does not work.

    Hi Ken,

     

    I'm using DLL version 3.0 2013-04-09, and am still having the issue.  What else would you like me to try?

     

    Thanks,

    Mitch

     

     

  •  04-11-2013, 12:14 PM 77213 in reply to 77209

    Re: Bought the license and now it does not work.

    Hi mitcheroo,

     

    Can you show me your uploader page url? So we can check it for you directly. Also, you can send it to [email protected]

     

    Regards,

     

    Ken 

View as RSS news feed in XML