[CLOSED] Help urgent with fileupload

  1. #1

    [CLOSED] Help urgent with fileupload

    Hello,

    I have trouble with uplading files on my server (Windows server 2008).
    When I test localy with VS 2008, all works fine.

    After uploading on our hosting server I get error (see screenshot).
    I set "qdata" folder and I set permission.

    Please can you see (I attached sample project) why I get this problem?

    Best regards,
    Sasa
    Attached Thumbnails Upload_trouble.jpg  
    Attached Files
    Last edited by Daniil; Oct 05, 2010 at 1:18 PM. Reason: [CLOSED]
  2. #2
    Hi,

    I don't think that probleb is related with toolkit. I guess you don't have perfimissions on the server to read/write from root of the disk D.
    I set "qdata" folder and I set permission.
    I see that you try to read from root folder of disk D, i don't see any qdata folder

    P.S. Your attachemnt has no code (default.aspx is empty)
    Vladimir Shcheglov
    Sr. Developer
  3. #3
    Hi Sasa,

    Seems there are no necessary files in the attached .zip.

    This
    This is a marker file generated by the precompilation tool, and should not be deleted!
    is a whole content of Default.aspx.

    Please ensure that there are no misprints in the file name and this file is exist.
  4. #4
    Quote Originally Posted by Daniil View Post
    Hi Sasa,

    Seems there are no necessary files in the attached .zip.

    This

    is a whole content of Default.aspx.

    Please ensure that there are no misprints in the file name and this file is exist.
    Sorry, I put wrong attachement (precompiled project).
    Now I put full code sample.

    Folder "qdata" is folder my sample for uploading files.
    Attached Files
  5. #5
    Thank you.

    But I can't reproduce the issue using your code. I was unable to run it.

    I see a lot of code...
    Could you help us to localize the problem? What method does cause the exception? What steps are to reproduce it?

    I guess you don't have permissions on the server to read/write from root of the disk D.
    Did you ensure that there are all needing permissions that Vladimir mentioned?

    Summary
    We need more information about the problem.
    Please see
    http://forums.ext.net/showthread.php...ing-New-Topics
  6. #6
    Quote Originally Posted by Daniil View Post
    Thank you.

    But I can't reproduce the issue using your code. I was unable to run it.

    I see a lot of code...
    Could you help us to localize the problem? What method does cause the exception? What steps are to reproduce it?



    Did you ensure that there are all needing permissions that Vladimir mentioned?

    Summary
    We need more information about the problem.
    Please see
    http://forums.ext.net/showthread.php...ing-New-Topics
    When you click on button "New data", QuestionEdit window is shown.
    Then you must click on button "Odaberite sliku" for choosing image file (.jpg, .jpeg or .gif).
    After that click on "Add" icon bellow textarea in window for uploading image on server.
    I attached images with steps (on first image you have live web address from my server where you can reproduce problem).
    Attached Thumbnails step_01.jpg   step_02.jpg   step_03.jpg  
  7. #7
    Hi,

    It is not toolkit problem. Just you don't have a required permissions on the server.
    Please note which path you see in the exception page (D:\filenane.jpg)

    I think that problem is in the following line
    FileInfo fInfo = new FileInfo(cFileName);
    Vladimir Shcheglov
    Sr. Developer
  8. #8
    Quote Originally Posted by vladimir View Post
    Hi,

    It is not toolkit problem. Just you don't have a required permissions on the server.
    Please note which path you see in the exception page (D:\filenane.jpg)

    I think that problem is in the following line
    FileInfo fInfo = new FileInfo(cFileName);
    Vladsch you have right.
    I put this in try catch block and this is problem.
    This is strange, I have simpler window with similar code and all works fine.

    What can I use instead FileInfo for geting short file name, size and extension?
  9. #9
    Hi,

    You can use Path class which has many useful methods
    http://msdn.microsoft.com/en-us/libr...m.io.path.aspx
    Vladimir Shcheglov
    Sr. Developer
  10. #10
    Quote Originally Posted by vladimir View Post
    Hi,

    You can use Path class which has many useful methods
    http://msdn.microsoft.com/en-us/libr...m.io.path.aspx
    Thanx this works.
    You can mark this topic as solved.

Similar Threads

  1. urgent help needed :(
    By waqasaslammeo in forum 1.x Help
    Replies: 1
    Last Post: Feb 22, 2012, 8:42 AM
  2. need urgent help challenging job
    By grajaneesh in forum 1.x Help
    Replies: 1
    Last Post: Apr 08, 2011, 3:31 PM
  3. [CLOSED] URGENT - Another Problem after update from SVN
    By Stefanaccio in forum 1.x Premium Help
    Replies: 6
    Last Post: Mar 09, 2011, 10:08 AM
  4. [CLOSED] Error after update frm SVN - URGENT!
    By Stefanaccio in forum 1.x Premium Help
    Replies: 4
    Last Post: Sep 28, 2010, 8:21 AM
  5. [CLOSED] Urgent layout problem
    By danielg in forum 1.x Premium Help
    Replies: 2
    Last Post: May 21, 2009, 5:11 AM

Posting Permissions