Path: news.easynews.com!core-easynews!newsfeed1.easynews.com!easynews.com!easynews!newspeer1.nwr.nac.net!colt.net!syros.belnet.be!news.belnet.be!transit.news.xs4all.nl!195.129.110.178.MISMATCH!bnewsoutpeer00.bru.ops.eu.uu.net!bnewsinpeer01.bru.ops.eu.uu.net!bnewspost00.bru.ops.eu.uu.net!emea.uu.net!not-for-mail
From: "Niall Litchfield" <niall.litchfield@dial.pipex.com>
Newsgroups: comp.databases.oracle.misc,comp.databases.oracle.server,microsoft.public.dotnet.framework.aspnet,microsoft.public.dotnet.framework.aspnet.security,microsoft.public.dotnet.security,microsoft.public.inetserver.iis
References: <omEGc.144$9M4.5@newsfe5-win.ntli.net> <40ed0dfa.978211163@msnews.microsoft.com>
Subject: Re: Security Exception
Date: Wed, 7 Jul 2004 08:55:35 +0100
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
Lines: 51
Message-ID: <40ebac6a$0$6449$cc9e4d1f@news-text.dial.pipex.com>
NNTP-Posting-Date: 07 Jul 2004 07:55:22 GMT
NNTP-Posting-Host: 81-178-73-254.dsl.pipex.com
X-Trace: 1089186922 news-text.dial.pipex.com 6449 81.178.73.254:4086
X-Complaints-To: abuse@uk.uu.net
Xref: core-easynews comp.databases.oracle.misc:111521 comp.databases.oracle.server:225132 microsoft.public.dotnet.framework.aspnet:118279 microsoft.public.dotnet.framework.aspnet.security:6450 microsoft.public.dotnet.security:2767 microsoft.public.inetserver.iis:265817
X-Received-Date: Wed, 07 Jul 2004 00:54:37 MST (news.easynews.com)

"Jeff Cochran" <jeff.nospam@zina.com> wrote in message
news:40ed0dfa.978211163@msnews.microsoft.com...
> On Tue, 06 Jul 2004 20:56:52 GMT, "jamie" <jamie.jones@virgin.net>
> wrote:
>
> >Hi All,
> >
> >I have an ASP.Net application that access an Oracle database using
ODP.Net.
> >The application can also use a SQL Server database and works without
issue.
> >
> >When pointing at an Oracle Database (8i sever and 9i client) I recieve
the
> >following error:
> >     System.Security.SecurityException: Failure decoding embedded
permission
> >set object.
> >
> >The application does not access the file system and the rest of the
> >application that is coded is old style ASP works without issue.
> >
> >Any help with troubleshooting this would be greatly appreciated.
> >
> >Thanks
> >Jamie.
> >
> >PS. Apologies for the crosspost but I need to get this working rather
> >urgently
>
> It's not an IIS issue.  Try annoying just the other five groups for
> your answer.

The code that throws the exception would have helped....

It *may* be an IIS issue - sort of - in that the anonymous accounts
iuser_machine and iwam_machine need to have read/execute access to the
Oracle home directory, which they won't do by default with a 9i (or higher)
client. If it isn't that wild stab in the dark then try posting some code,
and I'd suggest limiting the crossposts to just the aspnet and perhaps the
oracle.misc groups.

Cheers


-- 
Niall Litchfield
Oracle DBA
http://www.niall.litchfield.dial.pipex.com


