Rad upload TargetPhysicalFolder problem

Thread is closed for posting
3 posts, 0 answers
  1. Sudhir
    Sudhir avatar
    1 posts
    Member since:
    Oct 2010

    Posted 13 Oct 2010 Link to this post

    Hi,
    Actually i am using rad upload control to upload the files, i am using target physical folder path because i need to keep all uploaded files out side the my website. I want to  keep all uploaded file outside the our existing website where i am uploading the files but when we are giving the physical path file is unable to write over there.  I am giving path like D:\uploaded but on that path file is unable to write. I am giving all permission like network services, Asp.net etc to that folder but still i am facing the problem, so please suggest me some solutions.
  2. Kyle
    Kyle avatar
    9 posts
    Member since:
    Aug 2010

    Posted 14 Oct 2010 Link to this post

    Which IIS are you running?  I believe IIS6 uses NETWORK SERVICE (or ASPNET) as the user.  IIS7 allows you to use the Application Pool identity, or you can set it to use a local user.

    Make sure the correct user has full access to that directory.

    You might consider using ProcMon to watch which account IIS is trying to use to access that folder.

    Kyle
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. <span>w</span>
    <span>w</span> avatar
    84 posts
    Member since:
    Jun 2012

    Posted 19 Oct 2012 Link to this post

    Hi I am trying to upload File by using RadUpload. Its work on local pc as well as on Server. But on our one client pc (Window 7). it cause error. I am 100 % sure about my code. Its working great. Is there any permission or what is this?

    Could not find a part of the path 'D:\Testing\Test.pdf'.
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: System.IO.DirectoryNotFoundException: Could not find a part of the path 'D:\Testing\Test.pdf'.

    [DirectoryNotFoundException: Could not find a part of the path 'D:\Testing\Test.pdf'.]
       System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) +216
       System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath) +2481
       System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy) +229
Back to Top