Showing posts with label commerce server 2009. Show all posts
Showing posts with label commerce server 2009. Show all posts

Thursday, December 3, 2009

Language "pt-PT" does not exist in this MessageManager instance

Hi,

We were having some problems with the Variation site of a Commerce 2009 Contemporary Site. It seems when errors happen the message doesnt get translated. These things happen for example when searching and presenting orders in Order History. In the root or en-US site they work ok. In MOSS logs we didnt find much information.

We have most of the functionality working on the pt variation but these 'errors' were stoping us from advancing.

We get something like this in event log:
Pipeline Error: Component Execution failed for component[0x9] hr: 0x1B5AA390 ProgID: Commerce.OrderDiscount.1 Language "pt-PT" does not exist in this MessageManager instance. And something like this: An exception of type 'System.Runtime.InteropServices.COMException' occurred and was caught.
-------------------------------------------------------------------------------------------
12/02/2009 15:19:14 Type : System.Runtime.InteropServices.COMException, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 Message : Component Execution failed for component[0x9] hr: 0x1B5AA390 ProgID: Commerce.OrderDiscount.1 Language "pt-PT" does not exist in this MessageManager instance. Source : Commerce.MtsPipeline

We solved it by creating a MessageManager Resource dll, all info here: http://msdn.microsoft.com/en-us/library/ms964360(CS.70).aspx

You can find rc.xml in commerce sdk, RCxml2resx in commerce tools, resgen and al in visual studio command prompt.

We lost some time with this, and this solved almost all our problems, it should be documented in the variations paper ;)

Wednesday, November 18, 2009

Commerce Server 2009 + Windows 2008 R2 + Alias

If you get a strange error running Sharepoint Comerce Server Wizard at unpacking or having problems running PUP.exe and have an ALIAS configured for Sql, try adding the alias to the hosts file. This solved some problems. It seems PUP.exe uses named pipes to access Sql, go figure..

An error has occurred (80004005): [DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or access denied.



Thursday, November 12, 2009

.NET 3.5 SP1 missing when installing Commerce Server 2009 on Win 2008 R2

When you try to install Commerce Server 2009 (after the 2007 install) on a Windows Server 2008 R2 you will get an error saying to install .NET 3.5 SP1.

You may try to install it, but you cant, when you try to install it extracts and the installer vanishes...you know why? R2 already comes with 3.5 SP1 (a warning on the installer saying its already installed would give us a better clue)

After some poking around we found a MS hot fix...a reg key is missing on the 3.5 SP1 of the R2.


Please stay around for more CS2009 info and also check my colleague Marco's Silva blog, for it will have soon more CS2009 goddies ;)