Re: Required permissions cannot be acquired?
From: Bradley Plett (plettb_at_hotmail.com)
Date: 09/03/04
- Previous message: Popezilla: "RE: Required permissions cannot be acquired?"
- In reply to: Popezilla: "RE: Required permissions cannot be acquired?"
- Next in thread: Nicole Calinoiu: "Re: Required permissions cannot be acquired?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Thu, 02 Sep 2004 16:56:49 -0600
Thanks for that prompt reply!
It was a good idea, but sadly it didn't make any difference in my
case. :-(
I did find it somewhat interesting that the permissions on "C:\oracle"
already included everyone, but the permissions weren't being inherited
by "C:\oracle\ora92". I had only been checking on "C:\oracle", so I
was hopeful when I discovered this. Still, when I opened up
"C:\oracle\ora92" to everyone, and ensured that everyone definitely
had access to read & execute
"C:\oracle\ora92\bin\Oracle.DataAccess.dll", there was no change in
the behavior of my app, even after a reboot.
Brad.
P.S. DBase III+?!?!? Well, it's great to hear from another old-timer
like myself who actually remembers that! :-)
On Thu, 2 Sep 2004 14:35:03 -0700, Popezilla
<Popezilla@discussions.microsoft.com> wrote:
>I have had a very similar problem and what I did to solve it was to add the
>everyone group read/write access to this folder and all subfolders. This was
>on my dev machine and so did not matter. I doubt you want to do this in
>production.
>
>I tried to be more granular than the entire directory by downloading FileMon
>from SysInternals and watching to see what directory the aspnet_wp process
>attempted to access when it got an access denied error, but that didn't work
>in all cases.
>
>There is a link -
>
>http://www.error-bank.com/microsoft.public.dotnet.framework.adonet/79112_Thread.aspx
>
>This thread will tell you the same thing. Look at the last message in the
>thread.
>
>Hope this helps. If not, I feel we should all go back to DBase III+.
>
>
>"Bradley Plett" wrote:
>
>> I've posted a similar question in the
>> microsoft.public.sqlserver.reportingsvcs group, but I need to solve
>> this and it is more of a .NET/permissions issue anyway. However, it
>> is in the context of RS' forms authentication, which is making it more
>> difficult for me to understand/debug.
>>
>> I have forms authentication in SQL RS working like a charm. (For more
>> info, see
>> http://msdn.microsoft.com/library/?url=/library/en-us/dnsql2k/html/ufairs.asp).
>> However, I am now trying to do some authentication against an Oracle
>> database. What's very strange is that as soon as I try to bind to
>> Oracle's client (Oracle.DataAccess in, by default,
>> C:\oracle\ora92\bin\Oracle.DataAccess.dll), I get
>> "System.Security.Policy.PolicyException: Required permissions cannot
>> be acquired." I've definitely narrowed it down to the Oracle binding,
>> but can't figure out how to make it work. I've looked in "Microsoft
>> ..NET Framework 1.1 Configuration" under "Runtime Security Policy" and
>> did an "Evaluate Assembly", which returned "Unrestricted". I also
>> tried editing rssrvpolicy.config (in "C:\Program Files\Microsoft SQL
>> Server\MSSQL\Reporting Services\ReportServer\") to add a full trust
>> for the Oracle.DataAccess.dll, but none of this has helped. Any other
>> ideas or suggestions?
>>
>> Despite being much more capable, I often find .NET permissions much
>> more confusing, especially trying to debug this type of failure. If
>> anyone can point me to some good tools and/or techniques on this
>> topic, I'd MUCH appreciate it. I suppose part of the problem is that
>> I don't have time to read an entire book - I just want to skip to the
>> good parts! :-)
>>
>> Thanks a lot!
>> Brad.
>>
- Previous message: Popezilla: "RE: Required permissions cannot be acquired?"
- In reply to: Popezilla: "RE: Required permissions cannot be acquired?"
- Next in thread: Nicole Calinoiu: "Re: Required permissions cannot be acquired?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|