Re: ASP & the Registry

From: Chris Jackson (chrisjATmvpsDOTorgNOSPAM)
Date: 01/27/04


Date: Tue, 27 Jan 2004 14:40:30 -0500

In RegEdit, you can give rights to the account that ASP is running under
(IWAM_MACHINENAME, or IUSR_MACHINENAME if impersonated) to the section of
the registry that you want to edit.

-- 
Chris Jackson
Software Engineer
Microsoft MVP - Windows Client
Windows XP Associate Expert
-- 
More people read the newsgroups than read my email.
Reply to the newsgroup for a faster response.
(Control-G using Outlook Express)
-- 
"Oleg Leikin" <anonymous@discussions.microsoft.com> wrote in message 
news:C61D2C79-8E1F-45D0-B5BA-6646B10E07EC@microsoft.com...
> Hi all,
>
> how can I allow my ASP app to create keys and to set values in the 
> registry ? In the meantime only the READ access is allowed.
>
> Thanks in advance ! 


Relevant Pages

  • Re: accessing dbf files
    ... The error indicates the account you are running this code under does not ... have permissions to access the HKEY_LOCAL_MACHINE registry. ... ASP application? ...
    (microsoft.public.data.ado)
  • Re: ASP Error: A trappable error (6D007E) occurred in an external object
    ... prompt which is a no-no from ASP applications. ... >>> issues of profiles not existing in different bits of the registry, ...
    (microsoft.public.win32.programmer.messaging)
  • Re: RegOpenKeyEx API call fails from ASP
    ... ASP page can write to the Registry. ... user credentials that is executing the ASP page has permissions to do the ...
    (microsoft.public.inetserver.iis)
  • Re: Windows Search unable to find word or phrase in ASP code
    ... >of HTML code(not inside ASP) even if the file is .ASP, ... either have registry entries saying they are pure Text (.TXT and not ... already have a 'PersistentHandler' in the registry. ... An ASP file *ought* to be picking up the persistent handler for HTML. ...
    (microsoft.public.windowsxp.general)
  • RE: Registering .NET assembly that used COM Interop
    ... The way that ASP call the .NET assembly via COM is different from the way ... In the scenario that ASP call the .NET assembly via COM, ... the registry to get the information about how to lauch the .NET assembly. ... Actually when we call the Regasm, we will register the mscoree.dll as the ...
    (microsoft.public.dotnet.framework.interop)