Re: Is it possible to adjust security for a networked assembly from app.config?
From: Nicole Calinoiu (calinoiu)
Date: 11/05/05
- Previous message: Dominick Baier [DevelopMentor]: "Re: Forms authentication time out"
- In reply to: Brad Wood: "Re: Is it possible to adjust security for a networked assembly from app.config?"
- Next in thread: Brad Wood: "Re: Is it possible to adjust security for a networked assembly from app.config?"
- Reply: Brad Wood: "Re: Is it possible to adjust security for a networked assembly from app.config?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
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.
- Previous message: Dominick Baier [DevelopMentor]: "Re: Forms authentication time out"
- In reply to: Brad Wood: "Re: Is it possible to adjust security for a networked assembly from app.config?"
- Next in thread: Brad Wood: "Re: Is it possible to adjust security for a networked assembly from app.config?"
- Reply: Brad Wood: "Re: Is it possible to adjust security for a networked assembly from app.config?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|