Discussion:
Exception from HRESULT: 0x80040E57
(too old to reply)
ukeu
2006-07-09 13:50:20 UTC
Permalink
Hi, Whenever I try to login a user using the Profile object, I get the
following exception
:
COMException (0x80040e57): Exception from HRESULT: 0x80040E57.]
Microsoft.CommerceServer.Interop.Profiles.IProfileObject2.Update() +0
Microsoft.CommerceServer.Runtime.Profiles.Profile.Update()

[CommerceProfileSystemException: Failed to persist profile to underlying
stores.]
Microsoft.CommerceServer.Runtime.Profiles.Profile.Update()

Sse.Ecommerce.WebServices.CsGatewayServices.ProfileManagement.ProfileWrapper.PerformLogOn(String
userName, String password) in c:\inetpub\wwwroot\csgatewayservices\profile
management\profilewrapper.asmx.cs:193
Sse.Ecommerce.RetailSite.UserControls.ucLogin.btnLogOn_Click(Object
sender, EventArgs e) in
C:\Inetpub\wwwroot\CsGatewayServices\SSERetail\UserControls\ucLogin.ascx.cs:233
System.Web.UI.WebControls.Button.OnClick(EventArgs e)

System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String
eventArgument)
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler
sourceControl, String eventArgument)
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
System.Web.UI.Page.ProcessRequestMain()

Can someone please assist in solving this one.

Thanks in advance.
Amy
2006-07-11 09:35:26 UTC
Permalink
It looks like you might have some issues with the data that CS is
attempting to save.
I would check that the datatypes are correct for the type of data you
are saving.
Post by ukeu
Hi, Whenever I try to login a user using the Profile object, I get the
following exception
COMException (0x80040e57): Exception from HRESULT: 0x80040E57.]
Microsoft.CommerceServer.Interop.Profiles.IProfileObject2.Update() +0
Microsoft.CommerceServer.Runtime.Profiles.Profile.Update()
[CommerceProfileSystemException: Failed to persist profile to underlying
stores.]
Microsoft.CommerceServer.Runtime.Profiles.Profile.Update()
Sse.Ecommerce.WebServices.CsGatewayServices.ProfileManagement.ProfileWrapper.PerformLogOn(String
userName, String password) in c:\inetpub\wwwroot\csgatewayservices\profile
management\profilewrapper.asmx.cs:193
Sse.Ecommerce.RetailSite.UserControls.ucLogin.btnLogOn_Click(Object
sender, EventArgs e) in
C:\Inetpub\wwwroot\CsGatewayServices\SSERetail\UserControls\ucLogin.ascx.cs:233
System.Web.UI.WebControls.Button.OnClick(EventArgs e)
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String
eventArgument)
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler
sourceControl, String eventArgument)
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
System.Web.UI.Page.ProcessRequestMain()
Can someone please assist in solving this one.
Thanks in advance.
David Hargis [MSFT]
2006-08-24 19:20:36 UTC
Permalink
Another common problem is that a DB column is not large enough to save the
profile data. This most often occurs when you are trying to save a profile
with encrypted properties. The encrypted form of the data can be much
larger than you would expect. Try running a SQL profiler trace to track
down the exact SQL query that is causing the problem.

- David

--------------------
From: "Amy" <***@gmail.com>
Newsgroups: microsoft.public.commerceserver.userprofilemgt
Subject: Re: Exception from HRESULT: 0x80040E57
Date: 11 Jul 2006 02:35:26 -0700
Organization: http://groups.google.com
Lines: 37
Message-ID: <***@s13g2000cwa.googlegroups.com>
References:
<***@localhost.talkaboutsoftware.com>
NNTP-Posting-Host: 198.54.202.195
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
X-Trace: posting.google.com 1152610532 11056 127.0.0.1 (11 Jul 2006
09:35:32 GMT)
X-Complaints-To: groups-***@google.com
NNTP-Posting-Date: Tue, 11 Jul 2006 09:35:32 +0000 (UTC)
In-Reply-To:
<***@localhost.talkaboutsoftware.com>
User-Agent: G2/0.2
X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; SV1;
MINT; .NET CLR 1.0.3705; .NET CLR 1.1.4322; Tablet PC 1.7; InfoPath.2; .NET
CLR 2.0.50727; WinFX RunTime 3.0.50727),gzip(gfe),gzip(gfe)
X-HTTP-Via: 1.1 PROXY01, 1.1 rba-cache3 (NetCache NetApp/5.6.2R1D2), 1.1
ctb-cache5 (NetCache NetApp/6.0.3D3)
Complaints-To: groups-***@google.com
Injection-Info: s13g2000cwa.googlegroups.com; posting-host=198.54.202.195;
posting-account=8Fh5yw0AAACOv04BHcz2n60DvMO1Zb4b
Path:
TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP01.phx.gbl!TK2MSFTFEEDS02.phx.gbl!newsfeed00
.sul.t-online.de!t-online.de!border2.nntp.dca.giganews.com!border1.nntp.dca.
giganews.com!nntp.giganews.com!postnews.google.com!s13g2000cwa.googlegroups.
com!not-for-mail
Xref: TK2MSFTNGXA01.phx.gbl
microsoft.public.commerceserver.userprofilemgt:3594
X-Tomcat-NG: microsoft.public.commerceserver.userprofilemgt

It looks like you might have some issues with the data that CS is
attempting to save.
I would check that the datatypes are correct for the type of data you
are saving.
Post by ukeu
Hi, Whenever I try to login a user using the Profile object, I get the
following exception
COMException (0x80040e57): Exception from HRESULT: 0x80040E57.]
Microsoft.CommerceServer.Interop.Profiles.IProfileObject2.Update() +0
Microsoft.CommerceServer.Runtime.Profiles.Profile.Update()
[CommerceProfileSystemException: Failed to persist profile to underlying
stores.]
Microsoft.CommerceServer.Runtime.Profiles.Profile.Update()
Sse.Ecommerce.WebServices.CsGatewayServices.ProfileManagement.ProfileWrapper
.PerformLogOn(String
Post by ukeu
userName, String password) in c:\inetpub\wwwroot\csgatewayservices\profile
management\profilewrapper.asmx.cs:193
Sse.Ecommerce.RetailSite.UserControls.ucLogin.btnLogOn_Click(Object
sender, EventArgs e) in
C:\Inetpub\wwwroot\CsGatewayServices\SSERetail\UserControls\ucLogin.ascx.cs:
233
Post by ukeu
System.Web.UI.WebControls.Button.OnClick(EventArgs e)
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePo
stBackEvent(String
Post by ukeu
eventArgument)
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler
sourceControl, String eventArgument)
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
System.Web.UI.Page.ProcessRequestMain()
Can someone please assist in solving this one.
Thanks in advance.
--
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm

Note: For the benefit of the community-at-large, all responses to this
message are best directed to the newsgroup/thread from which they
originated.
Loading...