user stops being able to upload

Last post 08-22-2011, 8:22 AM by haydra. 11 replies.
Sort Posts: Previous Next
  •  03-11-2010, 6:17 AM 59317

    user stops being able to upload

    Hello, I am running into the following problem:
     
    Server:  Win 2008 Web serv
    IIS:   7
    Client:  WIndows 7 x64
    Browser:  IE 8
    WebSite Framework:  Dotnetnuke
    Language:  C#
     
    This has been working fine for me but all of a sudden, I cannot upload using my demo user login on my site.  Whenever I attempt to upload I get the following actions (some seem rather bazaar) :
     
    1. It does attempt to process each file in the queue, however, at the end of each item an error box pops up saying Global Error: unknown result. 
    2. When I close the error window, it will pop up once more, and actually it looks like it tried to upload again?  cant be sure.  After I close it the second time, it proceeds to the next file in the queue and puts the little warning icon next to frile in your queue list saying the upload was cancelled for that file.
    3.  It is not even firing the fileuploaded even as far as I can tell because it will not execute my code at all (have done several tests of this as I originally thought the problem was in my event handler) .   
    4.  It is alsow not firing the  onuploadcompleted at the end of the queue either.
    5. Sometimes I can get a file to upload as long as it has not been attempted before although not all the time, this is inconsistent.
    6. I have tried this from different client computers with the same effect so it must be a server issue.
    7. Have turned off caching and uploader viewstate get the same results even after waiting several hours.  Turned viewstated for the uploader control, same result.
    8.  a second user that had already been established worked for a short period after this problem emerged but it too shortly thereafter started getting the same result.
    9. If I create a brand new user, that user can then use the program normally.
    10, The original 2 users still gets the same result.
     
    here is the xml code:
     

    <CuteWebUI:Uploader ID="fileUploader" runat="server"

    InsertText="Upload Dictations Now"

    MultipleFilesUpload="true"

    OnFileUploaded="Uploader_FileUploaded"

    onuploadcompleted="fileUploader_UploadCompleted" EnableViewState="True"

    TempDirectory="D:\Uploader" >

    <ValidateOption AllowedFileExtensions = "dvf,mp3,wav,wma,dss"></ValidateOption>

    </CuteWebUI:Uploader>

  •  03-11-2010, 9:44 AM 59328 in reply to 59317

    Re: user stops being able to upload

    1. Which version of Ajax uploader are you using?
     
    2. Are you using impersonation?
     
    3. Are you using load balancing?
     
    4. Does it happen to all browsers or just one particular browser?

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  03-11-2010, 10:23 AM 59333 in reply to 59328

    Re: user stops being able to upload

    1. The latest version.
    2. Not intentionally at least (not sure 100% how the DNN framework does under the hood in that respect).  My .NET application workpool is running as a specific domain user and has the appropriate rights to all directories as far as I can tell.
    3. No.
    4. It happens in IE8 and Firefox 3.6 both.
     
    Additional info (not sure if it helps):  Monitoring the temp folder while I attempt to upload I notice that the files that succeed start with "persisted" whereas the one ones that are failing start of "uploading".
     
     Also, I thought it could possibly be due to a licensing issue as it was still in trial mode, but have finished the purchasing process and applied the license file and still get the same results
  •  03-13-2010, 8:24 PM 59383 in reply to 59333

    Re: user stops being able to upload

    Has anyone here used this in the DotNetNuke setting that can help with this?
  •  03-15-2010, 9:09 PM 59415 in reply to 59383

    Re: user stops being able to upload

    Hi,
     
    Your case is very complex,
     
    Can you provide an online page so let's test it ?
     
    You can send the link to [email protected]
     
    Regards,
    Terry
  •  03-16-2010, 2:16 PM 59436 in reply to 59383

    Re: user stops being able to upload

    I'm not sure this is specifically related to DotNetNuke. I am trying to implement an application with C#, ASP.NET 2.0, and am encountering the same difficulty. I too am using Windows 2008 server, with IIS 7.
  •  03-17-2010, 7:04 PM 59456 in reply to 59436

    Re: user stops being able to upload

    OK narrowed it down a little bit more.  The error is happening after the file uploads and before the fileuploaded event fires off.  I am now getting the error:  File: <filename> unknown result then it barfs up the first part of the html for the page then is cut off I presume by the messagebox size limit.

    Somewhere about the same time this happens I am assuming is when the temp file is renamed from uploading..... to persisted..... as the temp file remains as uploading..... while whenever the upload is completely successful it is named persisted....

    I have also had instances in the past when the file on the client computer remained locked and had to reboot my client to break the lock, although then the uploader was working properly.

     Now, since it is actually writing and creating files in the designated temp directory, the site obviously has read and write permission there.  The login used for the application thread is given full control on that directory so it should have full control on any of those files.  Is there some other directory that ajaxuploader uses that needs specific permissions?

     

     

     

  •  03-17-2010, 7:05 PM 59457 in reply to 59456

    Re: user stops being able to upload

    Ryan, is that still fitting the same issue? 
  •  03-18-2010, 9:44 PM 59500 in reply to 59317

    Re: user stops being able to upload

    Hi,
     
    I have tested your website.
     
    It seems that , the Page.PreRender event is not able to be catched by the uploader control.
     
     
    Now I think maybe the control be added to the Page too late.
     
     
    I suggest you to test this :
     
    attach the OnInit,OnLoad,OnPreRender event of both the Page and the Uploader,
     
    And output the event steps to a multiple TextBox , so I can understand what happends.
     
     
     
    Regards,
    Terry
  •  04-17-2010, 12:33 AM 60187 in reply to 59500

    Re: user stops being able to upload

    OK sorry, I got pulled away from this project for a while.  At the point I got pulled away was trying to figure out how to do what you asked, Terry, and I think I figured out that at some point ajax uploader was having a problem with the dnn/asp.net name mankling and dnn was losing the file uploading event.  At about that point is where I got pulled away.
     
    In any case, I think I may have fixed it.  This time, I ended up clearing the ajax uploader out completely, even redownloading it and installing it from scratch in the site.  Now, I think I found a line I had not put in my web.config before: 
     
    <system.web>
       <pages>
          <controls>
          <add namespace="CuteWebUI" assembly="CuteWebUI.AjaxUploader" tagPrefix="CuteWebUI"/> 
       </controls> 
     </pages>
    </system.web>
     
    At least for now, it seems to have worked.  Does this seem like I am right?  I am not an expert in ASP.Net by any means.  Still learning. 
  •  10-26-2010, 5:07 PM 64712 in reply to 60187

    Re: user stops being able to upload

    I have the nasty "Unknown Result" dialog as well with no solution in site.  
  •  08-22-2011, 8:22 AM 69758 in reply to 64712

    Re: user stops being able to upload

    Hi, I have recently downloaded the demo version and have run into an issue with file uploads from the system which has AVG Antivirus installed on it. 

    this is the error i get on large files mainly 
     
     
    Unknown result : 
    < script src="http://cutesoft.net/A2EB891D63C8/avg_ls_dom.js" type="text/javascript" ></ script >
    < script type='text/javascript' >if(window.parent.CurrentUpload)window.parent.CurrentUpload.UploadOK('images_Loader_1234567800000_1','50A340BC-05BB-7F09-EA83-A3967668BC13')</ script >
     
     
    the file does get uploaded and the other files in the queue also get uploaded - but a dialog appears with the above error ...
     
    I believe that its due to  
    < script src="http://cutesoft.net/A2EB891D63C8/avg_ls_dom.js" type="text/javascript" ></ script > inserted in every http response by AVG antivirus ... here is a reference link - http://www.roslindesign.com/2010/10/12/avg-antivirus-2011-corrupting-web-pages-with-injection-of-script-avg_ls_dom-js/
     
    plz let me know if am right or wrong... and if any one else has also faced a similar issue. thanks 
View as RSS news feed in XML