Need MessageManager configuration in Web.Config

Hi guys

i am developing some proof of concepts in the Commerce Server 2007.I done some of the things in cs 2007, now i moved to do some basic things in Pipeline concepts. i created some some code and add the basket.pcf in the Pipelines folder in my project .

while i running throgu i got an error message like this, Please configure the MessageManager in the configuration file. How to configure for my basket.pcf file.




Answer this question

Need MessageManager configuration in Web.Config

  • Muzaffar_Ali99

    Hi Joe

    Thanks for the link, its really ver helpfull for me to learn how to work with MessageManager and configure in web.config file. I followed all the instruction have mentioned in that link and every things created in my application with the same name and build was created successfully , but i have an error while i running the application . here i attached the error message with this .. Please help me come out of this issue..

    My web config settings

    <messageManager>

    <cultures default="en-US" baseName="MessageManagerResources" assembly="CommerceWebApplication.resources">

    <culture id="en-US" />

    <culture id="fr-FR" />

    </cultures>

    <resources>

    <resource id="pur_badsku" />

    </resources>

    </messageManager>

    i created two folder in the bin directory with en-US and fr-FR ( in microsoft site, they given with hypen(-) but they as underscore(_) . but i created with -

    Server Error in '/SampleSite' Application.

  • Javier Becerril

    You can also refer to the Commerce Server starter site (http://www.microsoft.com/downloads/details.aspx FamilyID=c1a8cc18-dc9e-4c50-b598-86e640a79910&displaylang=en) to see how the MessageManager is configured there.

    Hope that helps,

    madhur


  • vande013

    Praba,

    Just to double-check, your BIN directory appears as follows, correct

    bin/
    en-US/
    CommerceMessageManager.resources.dll
    fr-FR/
    CommerceMessageManager.resources.dll
    CommerceMessageManager.dll

    Beyond that, I know ASP.Net will at least look in the bin directory for these resources, so I'm not sure what else that would be.



  • Shahzad Godil

    Hi Vinayak

    if i given as "CommerceWebApplication" the error comes like this,

    Unable to load the specified assembly CommerceWebApplication

    Server Error in '/SampleSite' Application.

  • Deepesh Verma

    hi Joe,

    Yea my folder structure was like that as u mentiond but the only thing is CommerceMessageManager.dll was missing in my bin folder, i dont know how to create that dll , becuase al.exe and other tools was created with resources.dll, how to create this one. in 2003 according to our resource file, if i build the solution , it automatically creates the dll in the appriproite folder , here it was not.

    things is ... in my bin folder commerceMessageManager is missing how to create it



  • Eric Krejci

    Your assembly name should be "CommerceWebApplication"


  • Rahul Singla

    You can build the resources dll in your /bin directory as follows:

    Open a VS2005 command prompt window and set the default directory to your /bin folder. Enter the following two commands:
    resgen ..\MessageManagerResources.resx .\en-us\MessageManagerResources.en-US.resources
    al /t:lib /embed:.\en-us\MessageManagerResoures.en-US.resources /Culture:en-US /out:MessageManagerResources.dll

    The above commands assume you have a MessageManagerResources.resx file in your site directory.


  • 041661K

    Prabagarane,

    This setting is in your web.config file. Here is the MSDN link for configuring this section:

    http://msdn2.microsoft.com/en-us/library/ms961020.aspx



  • Need MessageManager configuration in Web.Config