473,387 Members | 1,771 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,387 software developers and data experts.

Error reading configuration information from the registry

Greetings!

I was wondering if someone could help me with a problem I'm having.

My department is just one of many within my organization. My
organization has control over the network domain, but my department has
a couple of web servers of our own that are part of my organization's
domain. I am trying to read LDAP information on my organization's
domain controller from a web application on one of my department's
servers. I have been told that anyone in the domain can retrieve the
LDAP information and on our applications that require authentication,
this is true. It's the applications that do not require authentication
that pose a problem. I must impersonate an account within the domain
in order to retrieve the information. This works flawlessly on our
applications that are still using .NET 1.1 and reside on the other of
my department's servers, but seems to be failing under .NET 2.0 on this
particular server. I receive the following error:

Configuration Error
Description: An error occurred during the processing of a configuration
file required to service this request. Please review the specific error
details below and modify your configuration file appropriately.

Parser Error Message: Error reading configuration information from the
registry.

Source Error:

Line 41: <customErrors mode="Off"/>
Line 42:
Line 43: <identity impersonate="true"
Line 44:
userName="registry:HKLM\SOFTWARE\LibraryASPNetApps \Identity,userName"
Line 45:
password="registry:HKLM\SOFTWARE\LibraryASPNetApps \Identity,password"/>

I created the registry keys using aspnet_setreg following instructions
in Microsoft's KB Article 329290 using a valid user account on the
domain. The Identity key has the following permissions:

Administrators: F
<servername>\ASPNET: R
CREATOR OWNER: None, and I can't set them; after setting it, it just
defaults back to none.
SYSTEM: F

The ASP.NET worker process also has write permissions on the Temporary
ASP.NET Files folder (for version 2.0, as that's what the application
is written in) and read access on the application's directory.

On a whim of advice from another posting on the groups, I gave Everyone
read permission for the Identity registry key, but that availed
nothing. At one point, I restarted our server but all that seemed to
happen was that the Identity registry key had its permissions reset.

Both of our servers are running Windows 2000 with Service Pack 4 and
IIS 5.0. Both of our servers have .NET Framework 2.0 installed, even
though most of our applications on the first server are still using
..NET 1.1. Aside from .NET version differences and the servers the
applications are residing on, I can find no differences between the 2.0
application that's causing the problem and the 1.1 applications that do
not. Everything else is the same: the operating system, IIS, the
account being impersonated, the permissions on the folders and registry
keys. Both servers have the most recent critical updates installed.

Would anyone here happen to know the cause of this problem or perhaps
the solution to it? My guess is that there is something exceptionally
simple that I'm overlooking.

Thank you.

Nov 15 '06 #1
0 3982

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

Similar topics

5
by: azgoddess1 | last post by:
During the installation I get these error messages: ***** SQL1390C The environment variable DB2Instance is not defined or is invalid An error ocured while loading the command "C:\Program...
3
by: Pritam Bhat | last post by:
Hi, I recently upgraded my XML parser and the ComInterop code that I had for my webservice is throwing the following error. For ASP applications, we created a wrapper class on this web service and...
4
by: coosa | last post by:
Hi, I was installing SQL Server on my machine and during installation my PC freezed. It happens frequently on my machine. So i tried after restarting to install it again and since then i always...
0
by: dba123 | last post by:
My web site is definitely configured as an application in IIS. So what else could it be? I had added some of our code to this 3rd party's web.config shown below. So I don't know if it's the 3rd...
10
by: mairhtin o'feannag | last post by:
Hello, I'm having problems connecting to my new v9 db box. The pertinent information is below: DB2_db2inst1 60000/tcp DB2_db2inst1_1 60001/tcp DB2_db2inst1_2 60002/tcp DB2_db2inst1_END...
0
by: ankouny | last post by:
Dear, when trying to publish a web service to the server the following error occurs, knowing that it is running normal on the local machine. Please help. Server Error in '/IVRLAF' Application....
29
by: Guillaume Dargaud | last post by:
Hello all, anybody knows if there's some ANSI-C conformant code around that can read Windows-style .ini files ? I don't care about writing to it but I need to be able to read it from various OSs,...
3
by: Cirene | last post by:
I created a 3.5 ASP.NET website using Teleriks Rad Controls. It works fine locally, but when I deploy it to the server I get a "Configuration Error". I am "renting" space on the server so I...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.