Archive for January 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.

Related Articles


If you like this post, please click on our sponsor advertisement.


Today Microsoft has released new pre-release build (January 2010 CTP) for review. This CTP is valid through December 31, 2010 and supported in following platforms.

  • Windows Server 2008 R2, with SQL Server 2008 SP1 and Microsoft Office SharePoint Server 2007 SP2
  • Windows Server 2008 SP2, with SQL Server 2008 SP1 and Windows SharePoint Services 3.0 SP2
  • Windows Server 2008 SP2, with SQL Server 2008 SP1 and Microsoft Office SharePoint Services 2007 SP2

You can download bits from Microsoft website and the url is.

http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=d6cb6769-6c5e-46c2-a72a-a9911823ffd9

Some of the highlights in this release are

  • New naming convention for all file handlers and other class name changes/additions.
  • Commerce Server pipelines fail if the culture ID is not added to the ChannelConfiguration.config file.
  • New public API changes.
  • RequestedPromoCode section in MetadataDefiniton.xml file must be modified.
  • The setup for Commerce Foundation Components does not include the assembly Microsoft.Commerce.dll
  • Must add /pages to your site URL when using WSS
  • Microsoft.Commerce.Application.Common.EtwTraceListener and Microsoft.Commerce.Application.Common API changes

Some of the low lights are

Related Articles


If you like this post, please click on our sponsor advertisement.


Recently I came across a post in MSDN communities where the query request says ‘how I can give access to the Merchants so that they can add/browse his products using catalog manager”.

The requirement is genuine and we will get such requests from customer regularly. Some of the commerce server developers think that it is not possible as the user of a role (say catalog Administrator or Editor) can able to see all catalogs in a particular site. In few some cases developers has created a separate site for their tenant/merchant to achieve this functionality. In this blog, I am explaining a simple tip which will allow access to provide multiple tenants to their catalog only.

Simple tip: You can achieve this using Authorization manager setting (Azman) and there are no changes to commerce server configuration settings.

  • As you might of aware the Azman works with windows authentication. So, whenever you get a new tenant, you should create his user Id and password in Active Directory (AD).
  • As a administrator, create a catalog for the tenant. Now if you reload catalogAuthorizationStore.xml in Azman, you can able to see new scope for the catalog.
  • Now you expand the scope and assign proper privileges to tenant AD user id.
    clip_image002
  • Now if the tenant opens the catalog manager, he can able to see only his catalogs.

Note: All operations and tasks are copied from parent to scope level and I recommend to create proper roles and task at scope level too.

In this example, I have assigned my ID to catalog editor role in – Adventure works catalog but not in “Adventure 2 works” catalog. When I open the catalog manager, I can only see adventure works catalog but not the other one (as shown in the image below).

clip_image001

For more information on Azman, refer to msdn – http://msdn.microsoft.com/en-us/library/ms914867(CS.70).aspx

Related Articles


If you like this post, please click on our sponsor advertisement.


Follow me on Google+
Add to circles

In 0 people's circles

Sign up for Newsletter