[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 Click image for larger version. 

Name:	Upload_trouble.jpg 
Views:	129 
Size:	82.8 KB 
ID:	1683  
    Attached Files
    Last edited by Daniil; Oct 05, 2010 at 12: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)
  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 Click image for larger version. 

Name:	step_01.jpg 
Views:	91 
Size:	15.9 KB 
ID:	1685   Click image for larger version. 

Name:	step_02.jpg 
Views:	104 
Size:	27.0 KB 
ID:	1686   Click image for larger version. 

Name:	step_03.jpg 
Views:	101 
Size:	23.3 KB 
ID:	1687  
  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);
  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
  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, 7:42 AM
  2. need urgent help challenging job
    By grajaneesh in forum 1.x Help
    Replies: 1
    Last Post: Apr 08, 2011, 2:31 PM
  3. [CLOSED] URGENT - Another Problem after update from SVN
    By Stefanaccio in forum 1.x Legacy Premium Help
    Replies: 6
    Last Post: Mar 09, 2011, 9:08 AM
  4. [CLOSED] Error after update frm SVN - URGENT!
    By Stefanaccio in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: Sep 28, 2010, 7:21 AM
  5. [CLOSED] Urgent layout problem
    By danielg in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: May 21, 2009, 4:11 AM

Posting Permissions