473,385 Members | 1,384 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

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 3101
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: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...

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.