Commerce Server Blog

Build world class ecommerce applications using Microsoft Commerce Server
  •  
  • Home
  • About
  • Advertise
  • Copyright Policy
  • Disclaimer

Troubleshoot: Unauthorized exception when the new user tries to access MyAccount page

ravikanth | January 31, 2010

After creation registration, if the user try to click on my Account, he may get SPS page with Not authorized exception and was able to find below entry in event log.

An exception of type ‘System.UnauthorizedAccessException’ occurred and was caught.
———————————————————————————-
Type : System.UnauthorizedAccessException, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Message : Access is denied. (Exception from HRESULT: 0×80070005 (E_ACCESSDENIED))
Source : Microsoft.SharePoint
Help link :
Data : System.Collections.ListDictionaryInternal
TargetSite : Void HandleAccessDenied(System.Exception)
Stack Trace :    at Microsoft.SharePoint.Utilities.SPUtility.HandleAccessDenied(Exception ex)
   at Microsoft.SharePoint.SPGlobal.HandleUnauthorizedAccessException(UnauthorizedAccessException ex)
   at Microsoft.SharePoint.Library.SPRequest.SetWebMetainfo(String bstrUrl, Object varMetainfo)
   at Microsoft.SharePoint.SPWeb.UpdateProperties(StringDictionary data)
   at Microsoft.SharePoint.Utilities.SPPropertyBag.Update()
   at Microsoft.Commerce.Portal.SharePointCommon.WebControls.HyperLink.ReplaceTokens(String navigateUrl)

when troubleshoot further, I am able to found that the logged in user is not having proper privileges in MOSS site. To fix this, I followed below steps

  • Open administrator website (using windows credentials)
  • Click on “Site Action” –> “Site Settings” and click on “Modify all Site Settings”.
  • Click on “people and groups” under “users and permissions” section.
  • Click on “Registered Users” and add newly added user email Id to this group.

Now the end user can can able to access MyAccount page.

Categories
Troubleshoot
Comments rss
Comments rss
Trackback
Trackback

« Microsoft Commerce Server 2009 code name "R2" – January 2010 Community Technical Preview Account Creation Approval Process »

Leave a Reply

Click here to cancel reply.

Powered by WP Hashcash

Sign up for Newsletter


Categories

Quiz

  • Catalog Quiz for Beginners
  • Profile Quiz for Beginners
  • Quiz 1 for Advance Users
  • Quiz for Beginners

Recent Posts

  • Configuration Error: Could not load type ‘Microsoft.Commerce.Providers.SharePointCommerceOrderModule from assembly because the parent type is sealed
  • How commerce server Site Terms are stored
  • Troubleshoot: An unexpected error has occurred.
  • Design consideration for developing commerce server catalog system
  • Troubleshoot: AuthManager(CommerceServer): Error reading Commerce Server administration database
  • Account Creation Approval Process
  • Troubleshoot: Unauthorized exception when the new user tries to access MyAccount page
  • Microsoft Commerce Server 2009 code name "R2" – January 2010 Community Technical Preview
  • Merchant Access to Catalog Manager
  • Commerce Server 2009 December VPC ready for download

Archives

  • March 2010
  • February 2010
  • January 2010
  • December 2009
  • November 2009
  • October 2009
  • September 2009
  • August 2009
  • July 2009
  • June 2009
  • May 2009
  • April 2009
  • March 2009
  • February 2009
  • January 2009
  • December 2008
  • November 2008
  • October 2008
  • September 2008
  • August 2008
  • July 2008
  • June 2008
  • May 2008
  • April 2008

Tags

add discounts add images to profile Advantages of commerce server approve discounts authentication auto login process automatic user creation basket Brand Management business tools campaign management Catalog catalog import Category CategoryConfiguration cc_number checkout commerce 7 commerce server commerce server 2002 commerce server 2007 commerce server 2007 Display Types Commerce Server SP2 discounts ecommerce Estimation inventory Kanth Koppala marketing system migration error Mojave Product profile profile subsystem property metadata purchase order quick checkout Ravi Ravi Kanth site cache refresh starter site tools transactions error Variant
(c) 2009 Commerce Server Blog. All rights Reserved. Articles cannot be reproduced without permission from the author.Write to me at kanth@ravikanth.net if you have any comments, questions, suggestions about this site or would like to send us a tip
About Us | Terms of Use | Disclaimer | Advertise .