B
Bradley Plett
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.
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.