Unable to find the uploaded file in directory C:\Windows\Temp\AjaxUploaderTemp

Last post 04-29-2009, 8:35 AM by txtchain. 9 replies.
Sort Posts: Previous Next
  •  04-27-2009, 7:32 AM 51551

    Unable to find the uploaded file in directory C:\Windows\Temp\AjaxUploaderTemp

    Hello all,

    I get a messagbox with "Unable to find the uploaded file in directory C:\Windows\Temp\AjaxUploaderTemp" for each file I selected in the fileselection box. The application stops after last message box -> the server side event "Attachments1_AttachmentAdded" seems not be called (I can only suppose this, because I hav'nt a debugger on the production environment).
     
     
    Fact is, that the uploaded file exist in mentioned direction above!!! The filename looks like a temp file with name scheme:
    "uploading.guid.ori-file-name.resx"
     
    First and very urgent question:
    Whats the problem and how can I solve this?
     
    Second question:
    Whats the reason, that the file is temporarly uploaded to this directory. The config setting in web.config seems not be used:
     
        <appSettings>
            <add key="CuteWebUI.AjaxUploader.TempDirectory" value="~/Downloads"/>
        </appSettings>
     
    So the temp upload path should be http://url-of-site/Downloads
     
    Some informations about the system: W2K3-Server R2 running 64Bit-Windows on 64-Bit machine
    Thank you for help
     
    Regards txtchain
  •  04-27-2009, 9:15 AM 51556 in reply to 51551

    Re: Unable to find the uploaded file in directory C:\Windows\Temp\AjaxUploaderTemp

    txtchain,

    Can you check the version of AjaxUploader.dll?
     
    Are you using version 3.0?
     
    Keep me posted

    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

  •  04-27-2009, 9:22 AM 51557 in reply to 51556

    Re: Unable to find the uploaded file in directory C:\Windows\Temp\AjaxUploaderTemp

    Version 2.0 20090402
    .NET-Framework Version 1.1
     
    Regards
  •  04-27-2009, 9:31 AM 51560 in reply to 51557

    Re: Unable to find the uploaded file in directory C:\Windows\Temp\AjaxUploaderTemp

    Can you download the version 3.0 then try again?
     
    http://ajaxuploader.com/download/Ajax-Uploader.zip

    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

  •  04-27-2009, 10:36 AM 51567 in reply to 51560

    Re: Unable to find the uploaded file in directory C:\Windows\Temp\AjaxUploaderTemp

    Adam,
     
    I download this version, replace the files and recompile the application. It does'nt help and I get same error message.
     
    Regards
  •  04-27-2009, 2:08 PM 51573 in reply to 51567

    Re: Unable to find the uploaded file in directory C:\Windows\Temp\AjaxUploaderTemp

    Can you check your web.config file and make sure you set the following code correctly?
     
    <add key="CuteWebUI.AjaxUploader.TempDirectory" value="~/Downloads"/>
    If the above value is set, you should receive a different error message.
     
    Have you added the above setting into the correct web.config file?

    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

  •  04-28-2009, 3:18 AM 51593 in reply to 51573

    Re: Unable to find the uploaded file in directory C:\Windows\Temp\AjaxUploaderTemp

    Hello Adam,
     
    Yes. The setting is correct and I'm sure, that I modify the correct web.config, because we have some other keys added (needed by our application), and this keys are used correct in our application. The web.config exist in the root folder of the application.
     
    Maybe the following informations are interesting for you, to encircle the problem
     
    • The system is a test system to check and verify new application version, before going online
    • The system is in the environment of our customer, so we can not modify some settings. We must contact the sysadm to do this
    • The system has many security restrictions
    • The system is running under 64-Bit-Windows 2003 Server R2 as a virtual machine under VMWare ESX 3.5
    • The web server is a 32-Bit application, the client too (IE 6.0.3790.1830)
    • The test are made locally by me using http://localhost/application, but the same error occurs when the peoples from our customer call the application from remote clients
    Can it be, that your AjaxUploader have some problems running with 64-Bit-Windows? I remember me, that we have some trouble in the past to have access to the registry.
     
    Adam. Please, this problems looks as very urgent, because me must go live in this week and our customer have paid for the license of the uploader. If we can not solve this, maybe we get trouble all together. On all machines locally by me in the company, the error does'nt occur.
     
    Thank you very much

  •  04-28-2009, 10:08 AM 51613 in reply to 51593

    Re: Unable to find the uploaded file in directory C:\Windows\Temp\AjaxUploaderTemp

    txtchain,
     
    Can you set up FTP access to your server and send it to me?

    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

  •  04-29-2009, 3:46 AM 51643 in reply to 51613

    Re: Unable to find the uploaded file in directory C:\Windows\Temp\AjaxUploaderTemp

    Hello Adam,
     
    what do you mean with FTP access? Our web application and also the AjaxUploader runs on a local machine within the network of the customer behind the firewall. It's not possible to access directly from outside. We access via VPN with a token generator and later on via MS Remote Desktop Connection.
     
    What do you want to do with the FTP access? Or do you want to have our web application with the AjaxUploader included?
     
    Ciao
  •  04-29-2009, 8:35 AM 51646 in reply to 51643

    Re: Unable to find the uploaded file in directory C:\Windows\Temp\AjaxUploaderTemp

    Hello Adam,
     
    today we have done some other tests and could fix the problem by ourselfs. The reason for the MessageBox "Upload is unable to find the uploaded file in Temp-Directory ...", was that the C:\Windows\Temp\AjaxUploaderTemp potentially have some wrong rights. I delete this directory and during the next upload the AjaxUploaded creates this directory new, but with the right user rights settings, so that an upload was possible.
     
    Thank a lot so far. I hope there are no other problems in the future.
     
    Regards,
View as RSS news feed in XML