|
-
Aug 25th, 2004, 02:49 AM
#1
Thread Starter
Frenzied Member
Problem with impersonation!!!!!!
Ok, I want to run my asp.net app under a special account... I have created it, and used the handy tool aspnet_setreg.exe to store username and password in the registry encrypted.
I added this tag in web.config
VB Code:
<identity impersonate="true" userName="registry:HKLM\SOFTWARE\GPSWEB\identity\ASPNET_SETREG,userName" password="registry:HKLM\SOFTWARE\GPSWEB\identity\ASPNET_SETREG,password" />
When I run the app I get 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 the password from the registry.
I found a kb article decribing that I need to upgrade the framework in order to uise this securitymodel... here is the link
http://support.microsoft.com/default...b;EN-US;329250
I have read this article over and over but HOW ON EARTH DO I DOWNLOAD THE FIX????? WHERE IS THE FIX FILE???? Im pretty sure it will fix my problem.
has anyone else tried this?
this is pretty urgent...
Henrik
-
Aug 25th, 2004, 08:50 AM
#2
I wonder how many charact
Try downloading the latest service pack for the 1.0 framework
http://msdn.microsoft.com/netframewo...p/default.aspx
from msdn:
Determine the Version of the .NET Framework on a Computer Running Microsoft Windows XP
1. Click Start, and then click Control Panel.
2. In Classic view, double-click Administrative Tools.
3. Double-click either Microsoft .NET Framework Configuration or Microsoft .NET Framework 1.1 Configuration.
4. In the .NET Framework Configuration window, click About .NET Framework Configuration on the Help menu.
The .NET Framework version number appears in the About .NET Framework Configuration dialog box. If the version number is 1.0.3705.0, you have version 1.0 without any service packs installed.
Determine the Version of the .NET Framework on a Computer Running Microsoft Windows 2000
1. Click Start, and then click Run.
2. In the Open text box, type mmc.exe, and then press ENTER.
3. In the Console1 window, click Console, and then click Add/Remove Snap-in.
4. In the Add/Remove Snap-in dialog box, click Add.
5. In the list of available snap-ins, select .NET Framework Configuration or .NET Framework 1.1 Configuration.
6. Click Add, and then click Close.
7. In the Add/Remove Snap-in dialog box, select .NET Configuration in the list of added snap-ins.
The About button becomes available.
8. Click About. The .NET Framework version number appears in the About .NET Framework Configuration dialog box. If the version number is 1.0.3705.0, you have version 1.0 without any service packs installed.
-
Aug 26th, 2004, 12:02 AM
#3
Thread Starter
Frenzied Member
I have version 1.1.4322.573
I guess I already have the latest service packs... it's a windows 2003 server.
But I dtill haven't been able to read the darned username and password from the registry.. still get the annoying error "password can't be read from the registry"
thanks
Henrik
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|