Re: Access to config file

From: Chris Jackson (chrisj_at_mvps.org)
Date: 07/28/03

  • Next message: tom rageley: "How do I call a web site from a winform app without having to log in again?"
    Date: Mon, 28 Jul 2003 14:14:55 -0400
    
    

    Can you take a look at who is on the ACL of that directory? Additionally,
    what are you doing when you see this error?

    -- 
    Chris Jackson
    Software Engineer
    Microsoft MVP - Windows XP
    Windows XP Associate Expert
    -- 
    "Slavko" <santini@siol.net> wrote in message
    news:%23JZuj8RVDHA.2004@TK2MSFTNGP11.phx.gbl...
    > I'm writing C# ASP.NET application. For different parts of application I
    > wrote different config files. When I was transferred files from my office
    > computer (windows 2000 pro) to home (windows xp pro) I got following
    error.
    >
    >
    >
    > Access to the path "E:\Inetpub\wwwroot\Erevir\Config\Clanki.Config" is
    > denied.
    > Tracing: System.UnauthorizedAccessException: Access to the path
    > "E:\Inetpub\wwwroot\Erevir\Config\Clanki.Config" is denied. at
    > System.IO.__Error.WinIOError(Int32 errorCode, String str) at
    > System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access,
    > FileShare share, Int32 bufferSize, Boolean useAsync, String msgPath,
    Boolean
    > bFromProxy) at System.IO.FileStream..ctor(String path, FileMode mode) at
    > Multima.Erevir.Clanki.Nastavitve.ModuleConfig.GetSettings() ..
    >
    >
    >
    > I work with visual studio and I'm logged on both computers as
    administrator.
    > Any ideas?
    >
    > Thanks!
    >
    > Slavko
    >
    >
    

  • Next message: tom rageley: "How do I call a web site from a winform app without having to log in again?"

    Relevant Pages

    • The info you requested
      ... System.IO.__Error.WinIOError(Int32 errorCode, String str) at ... FileShare share, Int32 bufferSize, Boolean useAsync, String msgPath, Boolean ... bFromProxy) at System.IO.FileStream..ctor(String path, FileMode mode, ... FileAccess access, ...
      (microsoft.public.dotnet.languages.csharp)
    • Netscape failed to find a part of the file path
      ... Stack trace: ... at System.IO.__Error.WinIOError(Int32 errorCode, String str) ... at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess ... access, FileShare share, Int32 bufferSize, Boolean useAsync, String msgPath, ...
      (microsoft.public.dotnet.framework.aspnet)