Invalid value for Private Key Index found on encrypted row
Windows Server Forum Index Windows Server
Server discussion on Windows platform.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web winserverhelp.com
Invalid value for Private Key Index found on encrypted row

 
Post new topic   Reply to topic    Windows Server Forum Index -> Commerce Server
Author Message
Lance
Guest





Posted: Fri Aug 19, 2005 8:52 pm    Post subject: Invalid value for Private Key Index found on encrypted row Reply with quote

Hi,
When trying to register a new user, I get two errors in the event log. The
first one is: 'Invalid value for Private Key Index found on encrypted row.'

The second one that I believe is related to the first is below. It looks to
me like Commerce Server either can't read or write the user's password.

I have recently changed the password encryption from 'one way hash' to
'asymmetric' encryption, so this is probably the cause. But the change
works fine on my development machine, but not on the test server.

I have deleted all rows from the userobject table, as I thought maybe an old
password was trying to be read, but the error persists.


How can I fix this? Or what steps should I check to investigate?

Thanks,
Lance



Here is the event log text for the second error:


General Information
*********************************************
Additional Info:
** PAGE: /accountregister.aspx?returnURL=accountmenu.aspx&language=en-GB
** FUNCTION: login.aspx.cs.SetProfileProperties
** PARAMETERS: EIBCS.User
** BASE EXCEPTION: System.Runtime.InteropServices.COMException (0x80040E21):
?
at ADODB.Field.get_Value()
at Microsoft.CommerceServer.Runtime.Profiles.ProfileProperty.get_Value()
** INNER EXCEPTION: at
Microsoft.CommerceServer.Runtime.Profiles.ProfileProperty.get_Value()
at EIBCS.ProfileBase.set_Item(String propertyName, Object value) in
D:\MyDocs\Visual Studio Projects\EIBCS\ProfileBase.cs:line 242
** SOURCE: EIBCS
ExceptionManager.MachineName: WHITTARD01
ExceptionManager.TimeStamp: 19/08/2005 16:33:29
ExceptionManager.FullName: Microsoft.ApplicationBlocks.ExceptionManagement,
Version=1.0.1.1, Culture=neutral, PublicKeyToken=bb4006b7088a6adb
ExceptionManager.AppDomainName:
/LM/W3SVC/295999050/Root-3-127689351082500000
ExceptionManager.ThreadIdentity:
ExceptionManager.WindowsIdentity: NT AUTHORITY\NETWORK SERVICE

1) Exception Information
*********************************************
Exception Type: EIBCS.Shared.AccountManagementException
Message: Exception of type EIBCS.Shared.AccountManagementException was
thrown.
TargetSite: Void set_Item(System.String, System.Object)
HelpLink: NULL
Source: EIBCS

StackTrace Information
*********************************************
at EIBCS.ProfileBase.set_Item(String propertyName, Object value) in
D:\MyDocs\Visual Studio Projects\EIBCS\ProfileBase.cs:line 271
at EIBCS.User.set_Password(String value) in d:\mydocs\visual studio
projects\eibcs\user.cs:line 760
at Whittard.AccountRegister.SetProfileProperties(User userProfile) in
c:\inetpub\wwwroot\whittard\accountregister.aspx.cs:line 337

2) Exception Information
*********************************************
Exception Type:
Microsoft.CommerceServer.Runtime.Profiles.CommerceProfileSystemException
Message: Failed to retrieve value for profile property
'user_security_password'.
TargetSite: System.Object get_Value()
HelpLink: NULL
Source: Microsoft.CommerceServer.Runtime

StackTrace Information
*********************************************
at Microsoft.CommerceServer.Runtime.Profiles.ProfileProperty.get_Value()
at EIBCS.ProfileBase.set_Item(String propertyName, Object value) in
D:\MyDocs\Visual Studio Projects\EIBCS\ProfileBase.cs:line 242

3) Exception Information
*********************************************
Exception Type: System.Runtime.InteropServices.COMException
ErrorCode: -2147217887
Message: ?
TargetSite: System.Object get_Value()
HelpLink: NULL
Source: ADODB

StackTrace Information
*********************************************
at ADODB.Field.get_Value()
at Microsoft.CommerceServer.Runtime.Profiles.ProfileProperty.get_Value()

For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.



________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________
Back to top
Guest






Posted: Tue Aug 23, 2005 4:52 pm    Post subject: Re: Invalid value for Private Key Index found on encrypted r Reply with quote

I opened a Microsoft support ticket for this issue, and it turns out
that it's a known bug with Server 2003 and SP1. The tech support said
that a KB article is on the way, but not out yet: KB Article Number(s):
903143

I ended up getting a beta patch from tech support that fixed the
problem.
Back to top
 
Post new topic   Reply to topic    Windows Server Forum Index -> Commerce Server All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




New Topics Powered by phpBB