System.SystemException: "Access to the path is denied."

Discussion in 'ASP .Net Security' started by sxzy@yahoo.com, May 4, 2006.

  1. Guest

    File.Exists(@"\\\SERVER1\\Apps\test.txt");

    returns true

    File.Exists(@"\\\SERVER2\\Apps\test.txt");

    returns System.SystemException: "Access to the path is denied." error

    SERVER2 has 'Everyone' with full control inherited from the root. It's
    some sort of authentication error.
     
    , May 4, 2006
    #1
    1. Advertisements

  2. Greg Young Guest

    I think you posted this incorrectly?

    They are the same call :-?

    btw: I think you have some confusion with your @ vs \\

    Cheers,

    Greg
    <> wrote in message
    news:...
    > File.Exists(@"\\\SERVER1\\Apps\test.txt");
    >
    > returns true
    >
    > File.Exists(@"\\\SERVER2\\Apps\test.txt");
    >
    > returns System.SystemException: "Access to the path is denied." error
    >
    > SERVER2 has 'Everyone' with full control inherited from the root. It's
    > some sort of authentication error.
    >
     
    Greg Young, May 5, 2006
    #2
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Theerachet Pratoommanee

    Access to the path is denied

    Theerachet Pratoommanee, Dec 30, 2003, in forum: ASP .Net
    Replies:
    1
    Views:
    8,604
    Sachin Kharsani[MSFT]
    Dec 30, 2003
  2. Bruce W...1

    Access to the path...is denied error

    Bruce W...1, Nov 27, 2003, in forum: ASP .Net
    Replies:
    1
    Views:
    1,998
    Bruce W...1
    Nov 27, 2003
  3. moondaddy
    Replies:
    3
    Views:
    8,298
    Steven Cheng[MSFT]
    Apr 21, 2004
  4. William Tasso

    Access to the path "..." is denied

    William Tasso, May 18, 2005, in forum: ASP .Net
    Replies:
    4
    Views:
    6,069
    William Tasso
    May 18, 2005
  5. gk
    Replies:
    0
    Views:
    393
  6. Jay
    Replies:
    2
    Views:
    1,244
  7. Rama Krishna
    Replies:
    0
    Views:
    434
    Rama Krishna
    Oct 22, 2003
  8. Rama Krishna
    Replies:
    0
    Views:
    280
    Rama Krishna
    Oct 22, 2003
Loading...