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. Advertising

  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. Advertising

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,399
    Sachin Kharsani[MSFT]
    Dec 30, 2003
  2. gk
    Replies:
    0
    Views:
    351
  3. Jay
    Replies:
    2
    Views:
    1,115
  4. Rama Krishna
    Replies:
    0
    Views:
    330
    Rama Krishna
    Oct 22, 2003
  5. Rama Krishna
    Replies:
    0
    Views:
    191
    Rama Krishna
    Oct 22, 2003
Loading...

Share This Page