Re: Is it possible to adjust security for a networked assembly from app.config?

From: Nicole Calinoiu (calinoiu)
Date: 11/05/05

  • Next message: Nicole Calinoiu: "Re: giving strong name to managed c++ in visual studio 2005"
    Date: Sat, 5 Nov 2005 13:34:22 -0500
    
    

    If you're using an Access application via ADO.NET, you're probably seeing
    problems due to the permissions required by the ADO.NET provider, not the
    file permissions. Could you please provide the full details of the
    exception you're seeing (incl. call stack), as returned from its ToString()
    method?

    "Brad Wood" <bradley|.wood|@ndsu|.edu> wrote in message
    news:ehG6OyX4FHA.2828@tk2msftngp13.phx.gbl...
    > I'm accessing an Access database in my application directory via
    > Application.ExecutablePath. That would seem to pass the permission
    > verification. The temp files that ADO creates on the local machine
    > shouldn't be a problem either... right?
    >
    > Nicole Calinoiu wrote:
    >> When your code attempts to open the target file, does it use a URI with
    >> exactly the same folder root as the one from which the executable was
    >> launched? If not, the "same directory" FileIOPermission verification
    > will fail since it is evaluated against the exact path provided at
    > runtime--it doesn't check that the provided path may or may not map to the
    > same target.


  • Next message: Nicole Calinoiu: "Re: giving strong name to managed c++ in visual studio 2005"

    Relevant Pages

    • Re: Unable to Move/Copy All Files
      ... Either the source or target file is in use, ... Advanced File Sharing, check the target folder and make sure that you didn't set ... share permissions on the target file. ...
      (microsoft.public.windowsxp.network_web)
    • Re: solving the problem of spsearch
      ... the service to run if I put my service account into the local machine ... After a lot of tinkering with COM launch permissions (which didn't ... to get the search service to run without error. ...
      (microsoft.public.sharepoint.windowsservices)
    • "select Name,Path from Win32_Share" permissions required by ASP.NET to return paths,
      ... I'm tripping over ASP.NET local machine permissions with the following ... container for share=local path string pairs ... WqlObjectQuery objectQuery = new WqlObjectQuery ("select Name,Path from ...
      (microsoft.public.windows.vista.security)
    • Power User in Win2k Pro/XP Pro/Terminal Server users
      ... are touching so you can go and change the permissions on ... Does anyone know how to create a local machine group ... Does anyone know how to create a Win2k Server group ...
      (microsoft.public.win2000.security)
    • Re: How can I Disable JIT Debugger for my builds?
      ... I'm not sure how much you know about .Net permissions but they are ... What you need to do is convince the newtork admins to grant your file share ... This FullTrust only affects the .Net security, ... > everything to the local machine and the DirectX builds worked immediately! ...
      (microsoft.public.win32.programmer.directx.managed)