Re: Calling VB.DLL from ASP.NET

From: Nick Wright (nick.wright_at_nospamsalford.gov.uk)
Date: 08/20/03


Date: Wed, 20 Aug 2003 06:09:53 -0700


Hi Chris,

Thanks for your response...

>-----Original Message-----
>Make sure that the process identity that ASP.NET is using
(which may or may
>not be impersonated) has permissions to this DLL. By
default, the process
>runs under the account ASPNET and does not use
impersonation, so you want
>the ASPNET account to have enough rights to use the dll.
>

How do I check this and give ASPNET permissions to this
Dll...?

I'm new to .net, in ASP it just worked..!!!

Regards

>--
>Chris Jackson
>Software Engineer
>Microsoft MVP - Windows XP
>Windows XP Associate Expert
>--
>"Nick Wright" <nick.wright@nospamsalford.gov.uk> wrote in
message
>news:0a6c01c3663c$f8ccd430$a501280a@phx.gbl...
>> Hi,
>>
>> I have a VB.dll its not registered in COM+
>> I'm trying to call it from ASP.NET
>>
>> I get the following error...
>>
>> The application attempted to perform an operation not
>> allowed by the security policy. To grant this
application
>> the required permission please contact your system
>> administrator or change the application's trust level in
>> the configuration file.
>>
>> Exception Details: System.Security.SecurityException:
>> Permission denied
>>
>> How do I get the Dll to work in ASP.NET?
>>
>> What am I doing wrong...?
>>
>> Regards
>>
>
>
>.
>



Relevant Pages

  • Re: User account security inheritance
    ... "Chris" wrote in ... > box to enable from parent container, ... > and their permissions are no longer inherited. ... with SP4 to W2k3 level) get 'fixed' by the AdminSDHolder role once per ...
    (microsoft.public.windows.server.active_directory)
  • Re: Public Folder Permissions Issue - Please Help!
    ... Chris I think your best bet would be to restore the DB from a backup. ... There's probably an explicit deny permission for everyone set on the DB. ... deny permissions take precedence over allow permissions. ... > Under our Public Folder store in ESMthe inherit ...
    (microsoft.public.exchange.admin)
  • Re: VSTO Security policy
    ... Thank you Iouri, ... Chris ... > installation is busted in a strange way or your code group is not being ... > because another code level grants less permissions. ...
    (microsoft.public.vsnet.vstools.office)
  • Re: prevent the over-write
    ... Chris thanks for the input. ... This forum has many references to various permissions and security options ... worksheets is being deleted. ... over-write. ...
    (microsoft.public.excel.misc)
  • problems reestablishing permissions for myself
    ... I think I figured out how to remedy this, once I found the Administrator ... rebooted - and suddely I could access MSconfig as the ... Msconfig.exe, came to the first instance, clicked on permissions and found ... while logged on as Chris. ...
    (microsoft.public.windowsxp.setup_deployment)

Quantcast