473,465 Members | 1,912 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Requested registry access is not allowed

I wrote a ASP.NET application (Windows 2003 Enterprise Server, IIS, .NET
Framework 1.1). This application use the Windows (AD) account and
impersonation. Some functions in this application contact, read and change
the remote registry (HKLM/Software/...) of some internal server.

After installing SP1 on the web server (IIS) all functions with registry
access don't run and generate the following error: "Requested registry access
is not allowed."

Some ideas ?

Sep 7 '06 #1
1 3105
Here some additional informations to understand my problem a little bit better:

I have a web server (W2K3 without SP 1, IIS, .NET-Framework 1.1) with a
complex ASP.NET application. Hundreds of user using this service portal to
changing entries in the AD (on a second server) and regsitry keys (on a
third, fourth, ... server). I activated the impersonation and changes on AD
and remote registries works. After the installation of SP1 for W2K3 on my web
server the changes in AD work, but changes in remote registries didn't work.
I de-installed SP 1 and all functions works fine, after re-installation of SP
1 the registry acesses didn't work ("Requested registry access is not
allowed").

Now (only for testing) i set permission on the registries of the remote
servers (not on the web server) as follows:

\HKLM\Software -Everyone (Full Control)
\HKLM\Software -Domain Users (Full Control)

But i've got the same error message: "Requested registry access is not
allowed". I'm member of all local administrator groups of all used servers.
What's wrong ???

I don't like to use a embedded (secret) account, because i would like to use
the real logged user account. So i can check the real permissions of AD and
registries.

If i use the ASP.NET application without SP1 for Windows 2003 the registry
access is successful AND i can see a positiv entry in the "Serurity Event
Log" on the target server:

Event ID: 517
Success Audit (successful)

If i use the same application with SP1 for Windows 2003 the registry access
fails AND i can't see a matching entry in the "Security Event Log" on the
target server. In my opinion it's a indication that the web server blocks the
registry access and NOT the target server. I think, it's a significant
information.

Could somebody helps me ???

Thanks in advance.

Sep 11 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Scott Emick | last post by:
In my visual studio (enterprise arch. 2003) when I try to open my projects, or add to a project a component (vb windows project) I get a big red X inside a red frame and the error pops up: The...
2
by: Brian Campbell | last post by:
Gretings... I have written a Windows Service that accesses a Web Service. Both run fine on my development machine.... After installing both the Windows Service and Web Service on my staging...
3
by: bfprog | last post by:
Using IBM iSeries client access OLEDB provider to connect to DB2 on AS/400, but cannot create connection using .NET web app. Using following code: Dim cnTest As New...
4
by: LP | last post by:
Hi, My webservice is currently deployed on WIndows 2000 server and runs pretty fine. I am trying to run my webservice on a Windows 2003 server. My webservice tries to write to a eventlog. The...
0
by: Shane | last post by:
Does anyone have any advise on how I can fix the error message shown below? Thanks in advance for any ideas, Shane Server Error in '/' Application....
1
by: Patrick.O.Ige | last post by:
Hi All, After installing Enterprise Librabry and building the libraries when i load an aspx page i get the error :"Requested registry access is not allowed" I'm about to look into it but if...
5
by: Ankit Aneja | last post by:
This is my problem. I am using Visual 2003, .Net framework 1.1 and the Application Block I configured the DAAB using the Enterprise Library Configuration now this is the error which is coming ...
7
by: Peter Ritchie | last post by:
I'm writing a Web Service and I would like to add performance counter data for monitoring performance of the Web Service's operations over time and load. The problem is, I get the "Requested...
3
by: JB | last post by:
I am trying to access a registry key on computer like so: key = RegistryKey.OpenRemoteBaseKey(RegistryHive.LocalMachine, computerName).OpenSubKey(Subkey); There are two keys I am trying to...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.