Tráchtála Freastalaí 2007 Comhtháthú le CAONAIGH 2007

CAONAIGH Tá gnéithe inbuilt go leor. Is é an raon feidhme an POC a chomhtháthú Tráchtála Freastalaí 2007 le CAONAIGH 2007 a chur ar fáil Tairseach Comhtháite ríomh-Thráchtáil Iarratais

Chumrú CAONAIGH 2007 a Úsáid an Soláthraí Tráchtála Ballraíocht Server Mar An Bunús atá Chun fíordheimhniú Úsáideoir

The primary tasks are to make the Central Administration and Portal sites hand-shake with Commerce Server. This needs to be done by modifying the appropriate Web.config files for these sites. By adding the Commerce Server and httpModules sections, the SharePoint Central Administration site and the Portal site will be able to create the necessary CommerceContext object. The CommerceContext object enables the Commerce Server Membership Provider to be initialized correctly, and also enables Web parts and pages in the portal to use the CommerceContext object to access Commerce Server resources such as the Product Catalog.
The UpmMembership Provider extends the Membership framework offered by ASP.Net to accommodate the use of the ASP.Net Login Controls and authenticate against Commerce Server Profiles.

Update the Web.config for MOSS Central Administration and in Portal site with below sections to avail Commerce Server data and services in MOSS

  • Commerce Server Section Group
  • Commerce Server Group
  • Http Modules
  • Assemblies
  • Membership Provider
  • Profile Section

o Determine which Web.config file is used for the SharePoint Central Administration site and which is used for the Portal site. Use the Home Directory tab in IIS Manager to determine the appropriate path of the Web.config file for each site.

o Use the Web.config file that was previously created for the Commerce Server C SharpSite as the source for the text to copy in the following instructions:

Please follow the below steps to modify the web.config file of SharePoint administration site.

Step 1: Adding Commerce Server Section Group
Copy the Commerce [sectionGroup] i [configSections] and paste it after the [System.Workflow.ComponentModel.WorkflowCompiler] section group.
[sectionGroup name=”CommerceServer”]
[section name=”application” type=”Microsoft.CommerceServer.Runtime.Configuration.CommerceApplicationSectionHandler, Microsoft.CommerceServer.Runtime, Version=6.0.1.0, Cultúr = neodrach, PublicKeyToken=31bf3856ad364e35″/]
[section name=”authentication” type=”Microsoft.CommerceServer.Runtime.Configuration.CommerceAuthenticationSectionHandler, Microsoft.CommerceServer.Runtime, Version=6.0.1.0, Cultúr = neodrach, PublicKeyToken=31bf3856ad364e35″/]
[section name=”pipelines” type=”Microsoft.CommerceServer.Runtime.Configuration.CommercePipelineSectionHandler, Microsoft.CommerceServer.Runtime, Version=6.0.1.0, Cultúr = neodrach, PublicKeyToken=31bf3856ad364e35″/]
[section name=”caches” type=”Microsoft.CommerceServer.Runtime.Configuration.CommerceCacheSectionHandler, Microsoft.CommerceServer.Runtime, Version=6.0.1.0, Cultúr = neodrach, PublicKeyToken=31bf3856ad364e35″/]
[section name=”messageManager” type=”Microsoft.CommerceServer.Runtime.Configuration.CommerceMessageManagerSectionHandler, Microsoft.CommerceServer.Runtime, Version=6.0.1.0, Cultúr = neodrach, PublicKeyToken=31bf3856ad364e35″/]
[section name=”catalog” type=”Microsoft.CommerceServer.Runtime.Configuration.CommerceCatalogSectionHandler, Microsoft.CommerceServer.Runtime, Version=6.0.1.0, Cultúr = neodrach, PublicKeyToken=31bf3856ad364e35″/]
[section name=”orders” type=”Microsoft.CommerceServer.Runtime.Configuration.CommerceOrdersSectionHandler, Microsoft.CommerceServer.Runtime, Version=6.0.1.0, Cultúr = neodrach, PublicKeyToken=31bf3856ad364e35″/]
[section name=”profiles” type=”Microsoft.CommerceServer.Runtime.Configuration.CommerceProfilesSectionHandler, Microsoft.CommerceServer.Runtime, Version=6.0.1.0, Cultúr = neodrach, PublicKeyToken=31bf3856ad364e35″/]
[section name=”contentSelection” type=”Microsoft.CommerceServer.Runtime.Configuration.CommerceContentSelectionSectionHandler, Microsoft.CommerceServer.Runtime, Version=6.0.1.0, Cultúr = neodrach, PublicKeyToken=31bf3856ad364e35″/]
[section name=”commerceEvent” type=”Microsoft.CommerceServer.Runtime.Configuration.EventLoggerConfigurationHandler, Microsoft.CommerceServer.Runtime, Version=6.0.1.0, Cultúr = neodrach, PublicKeyToken=31bf3856ad364e35″/]
[section name=”nathanna” type=”Microsoft.CommerceServer.Runtime.Configuration.CommerceExpressionSectionHandler, Microsoft.CommerceServer.Runtime, Version=6.0.1.0, Cultúr = neodrach, PublicKeyToken=31bf3856ad364e35″/]
[/sectionGroup]
Step 2: Nuair a chuirfear Tráchtála Freastalaí Group
§ Cóip an [CommerceServer] alt so agus greamaigh sé i ndiaidh an [SharePoint] alt, díreach roimh an [system.web] alt.

[CommerceServer]
[iarratas siteName =”CDevSite” debugLevel =”Táirgeadh”/]
[pipelines][/pipelines]
[nathanna scéimre =”Auto”/]
[caches]
[An t-ainm taisce =”Fógraíocht” type=”Fógraíocht” refreshInterval =”900″ retryInterval =”30″/]
[An t-ainm taisce =”Lascainí” type=”Lascainí” refreshInterval =”0″ retryInterval =”30″/]
[An t-ainm taisce =”ShippingManagerCache” type=”Loingseoireacht” loaderProgId =”Commerce.ShippingMethodCache” refreshInterval =”0″ retryInterval =”30″/]
[An t-ainm taisce =”PaymentMethodCache” type=”Íocaíocht”/]
[An t-ainm taisce =”OrdersConfigurationCache” type=”OrdersConfiguration”/]
[/caches]
[messageManager]
[cultúir réamhshocraithe =”en-US” baseName =”CommerceMessageManager” cóimeáil =”CommerceMessageManager”]
[cultúr id =”en-US”/]
[cultúr id =”fr-fr”/]
[cultúr id =”agus-JP”/]
[cultúr id =”de-OF”/]
[/cultúir]
[Acmhainní]
[acmhainn id =”pur_badsku”/]
[acmhainn id =”pur_badplacedprice”/]
[acmhainn id =”pur_discount_changed”/]
[acmhainn id =”pur_discount_removed”/]
[acmhainn id =”pur_noitems”/]
[acmhainn id =”pur_badshipping”/]
[acmhainn id =”pur_badhandling”/]
[acmhainn id =”pur_badtax”/]
[acmhainn id =”pur_badcc”/]
[acmhainn id =”pur_badpayment”/]
[acmhainn id =”pur_badverify”/]
[acmhainn id =”pur_out_of_stock”/]
[acmhainn id =”unknown_shipping_method”/]
[/Acmhainní]
[/messageManager]
[orduithe honorStatus =”fíor” newOrderStatus =”NewOrder” sqlCommandTimeoutSeconds =”60″ sqlLongRunningCommandTimeoutSeconds =”28800″]
[addressMap]
[profileDefinition-ainm =”Seoladh”/]
[maoin ó;”GeneralInfo.address_id” do;”OrderAddressId”/]
[maoin ó;”GeneralInfo.first_name” do;”Ainm”/]
[maoin ó;”GeneralInfo.last_name” do;”LastName”/]
[maoin ó;”GeneralInfo.address_line1″ do;”Line1″/]
[maoin ó;”GeneralInfo.address_line2″ do;”Line2″/]
[maoin ó;”GeneralInfo.city” do;”Cathair”/]
[maoin ó;”GeneralInfo.region_code” do;”RegionCode”/]
[maoin ó;”GeneralInfo.postal_code” do;”PostalCode”/]
[maoin ó;”GeneralInfo.country_name” do;”CountryName”/]
[maoin ó;”GeneralInfo.region_name” do;”Stáit”/]
[maoin ó;”GeneralInfo.tel_number” do;”DaytimePhoneNumber”/]
[/addressMap]
[Cineálacha]
[Cineál Eochair;”Basket” UserTypeName =”Basket” AssemblyType =”GAC” Ainmspáis =”Microsoft.CommerceServer.Runtime.Orders” Tionól =”Microsoft.CommerceServer.Runtime, Version=6.0.1.0, Cultúr = neodrach, PublicKeyToken=31bf3856ad364e35″/]
[Cineál Eochair;”PurchaseOrder” UserTypeName =”PurchaseOrder” AssemblyType =”GAC” Ainmspáis =”Microsoft.CommerceServer.Runtime.Orders” Tionól =”Microsoft.CommerceServer.Runtime, Version=6.0.1.0, Cultúr = neodrach, PublicKeyToken=31bf3856ad364e35″/]
[Cineál Eochair;”OrderTemplate” UserTypeName =”OrderTemplate” AssemblyType =”GAC” Ainmspáis =”Microsoft.CommerceServer.Runtime.Orders” Tionól =”Microsoft.CommerceServer.Runtime, Version=6.0.1.0, Cultúr = neodrach, PublicKeyToken=31bf3856ad364e35″/]
[Cineál Eochair;”OrderForm” UserTypeName =”OrderForm” AssemblyType =”GAC” Ainmspáis =”Microsoft.CommerceServer.Runtime.Orders” Tionól =”Microsoft.CommerceServer.Runtime, Version=6.0.1.0, Cultúr = neodrach, PublicKeyToken=31bf3856ad364e35″/]
[Cineál Eochair;”LineItem” UserTypeName =”LineItem” AssemblyType =”GAC” Ainmspáis =”Microsoft.CommerceServer.Runtime.Orders” Tionól =”Microsoft.CommerceServer.Runtime, Version=6.0.1.0, Cultúr = neodrach, PublicKeyToken=31bf3856ad364e35″/]
[Cineál Eochair;”Loingsiú” UserTypeName =”Loingsiú” AssemblyType =”GAC” Ainmspáis =”Microsoft.CommerceServer.Runtime.Orders” Tionól =”Microsoft.CommerceServer.Runtime, Version=6.0.1.0, Cultúr = neodrach, PublicKeyToken=31bf3856ad364e35″/]
[Cineál Eochair;”Íocaíocht” UserTypeName =”Íocaíocht” AssemblyType =”GAC” Ainmspáis =”Microsoft.CommerceServer.Runtime.Orders” Tionól =”Microsoft.CommerceServer.Runtime, Version=6.0.1.0, Cultúr = neodrach, PublicKeyToken=31bf3856ad364e35″/]
[Cineál Eochair;”CreditCardPayment” UserTypeName =”CreditCardPayment” AssemblyType =”GAC” Ainmspáis =”Microsoft.CommerceServer.Runtime.Orders” Tionól =”Microsoft.CommerceServer.Runtime, Version=6.0.1.0, Cultúr = neodrach, PublicKeyToken=31bf3856ad364e35″/]
[Cineál Eochair;”GiftCertificatePayment” UserTypeName =”GiftCertificatePayment” AssemblyType =”GAC” Ainmspáis =”Microsoft.CommerceServer.Runtime.Orders” Tionól =”Microsoft.CommerceServer.Runtime, Version=6.0.1.0, Cultúr = neodrach, PublicKeyToken=31bf3856ad364e35″/]
[Cineál Eochair;”PurchaseOrderPayment” UserTypeName =”PurchaseOrderPayment” AssemblyType =”GAC” Ainmspáis =”Microsoft.CommerceServer.Runtime.Orders” Tionól =”Microsoft.CommerceServer.Runtime, Version=6.0.1.0, Cultúr = neodrach, PublicKeyToken=31bf3856ad364e35″/]
[Cineál Eochair;”CashCardPayment” UserTypeName =”CashCardPayment” AssemblyType =”GAC” Ainmspáis =”Microsoft.CommerceServer.Runtime.Orders” Tionól =”Microsoft.CommerceServer.Runtime, Version=6.0.1.0, Cultúr = neodrach, PublicKeyToken=31bf3856ad364e35″/]
[Cineál Eochair;”OrderAddress” UserTypeName =”OrderAddress” AssemblyType =”GAC” Ainmspáis =”Microsoft.CommerceServer.Runtime.Orders” Tionól =”Microsoft.CommerceServer.Runtime, Version=6.0.1.0, Cultúr = neodrach, PublicKeyToken=31bf3856ad364e35″/]
[Cineál Eochair;”DiscountApplicationRecord” UserTypeName =”DiscountApplicationRecord” AssemblyType =”GAC” Ainmspáis =”Microsoft.CommerceServer.Runtime.Orders” Tionól =”Microsoft.CommerceServer.Runtime, Version=6.0.1.0, Cultúr = neodrach, PublicKeyToken=31bf3856ad364e35″/]
[Cineál Eochair;”ShippingDiscountRecord” UserTypeName =”ShippingDiscountRecord” AssemblyType =”GAC” Ainmspáis =”Microsoft.CommerceServer.Runtime.Orders” Tionól =”Microsoft.CommerceServer.Runtime, Version=6.0.1.0, Cultúr = neodrach, PublicKeyToken=31bf3856ad364e35″/]
[Cineál Eochair;”PromoCodeRecord” UserTypeName =”PromoCodeRecord” AssemblyType =”GAC” Ainmspáis =”Microsoft.CommerceServer.Runtime.Orders” Tionól =”Microsoft.CommerceServer.Runtime, Version=6.0.1.0, Cultúr = neodrach, PublicKeyToken=31bf3856ad364e35″/]
[/Cineálacha]
[Teorainneacha OrderFormsPerOrderGroup =”5″ PromoCodeRecordsPerOrderForm =”10″ PromoCodesPerOrderForm =”10″ LineItemsPerOrderForm =”40″ OrderTemplatesPerUser =”10″ PaymentsPerOrderForm =”10″ ShipmentsPerOrderForm =”40″ Basket Sper Úsáideoir =”15″ OrderAddressesPerOrderGroup =”10″/]
[MappingFiles PipelineMappingFilename =”OrderPipelineMappings.xml” StorageMappingFilename =”OrderObjectMappings.xml”/]
[SerializationBindings]
[SerializationBinding OldType =”Microsoft.CommerceServer.Runtime.Orders.LineItem , Microsoft.CommerceServer.Runtime ,Leagan = 6.0.1.0, Cultúr = neodrach, PublicKeyToken=31bf3856ad364e35″ Newtype =”Microsoft.CommerceServer.Runtime.Orders.LineItem, Microsoft.CommerceServer.Runtime,Leagan = 6.0.1.0, Cultúr = neodrach, PublicKeyToken=31bf3856ad364e35″/]
[/SerializationBindings]
[/orders]
[commerceEvent]
[cuir className =”Microsoft.CommerceServer.Runtime.AddItemToBasketEvent” id =”AddItemToBasket”/]
[cuir className =”Microsoft.CommerceServer.Runtime.RemoveItemFromBasketEvent” id =”RemoveItemFromBasket”/]
[cuir className =”Microsoft.CommerceServer.Runtime.SubmitOrderEvent” id =”SubmitOrder” loggingEnabled =”fíor”/]
[/commerceEvent]
[/CommerceServer]
Step 3: Nuair a chuirfear “CommerceApplication” i “httpModules” Rannóg
§ Cóipeáil an HTTP Modúil Tráchtála go dtí deireadh na [httpModules] alt.
[cuir an t-ainm;”CommerceApplication” type=”Microsoft.CommerceServer.Runtime.CommerceApplicationModule, Microsoft.CommerceServer.Runtime, Version=6.0.1.0, Cultúr = neodrach, PublicKeyToken=31bf3856ad364e35″/]
[cuir an t-ainm;”CommerceAuthentication” type=”Microsoft.CommerceServer.Runtime.CommerceAuthenticationModule, Microsoft.CommerceServer.Runtime, Version=6.0.1.0, Cultúr = neodrach, PublicKeyToken=31bf3856ad364e35″/]
[cuir an t-ainm;”CommerceOrder” type=”Microsoft.CommerceServer.Runtime.Orders.CommerceOrderModule, Microsoft.CommerceServer.Runtime, Version=6.0.1.0, Cultúr = neodrach, PublicKeyToken=31bf3856ad364e35″/]
[cuir an t-ainm;”CommerceCatalog” type=”Microsoft.CommerceServer.Runtime.Catalog.CommerceCatalogModule, Microsoft.CommerceServer.Runtime, Version=6.0.1.0, Cultúr = neodrach, PublicKeyToken=31bf3856ad364e35″/]
[cuir an t-ainm;”CommerceProfile” type=”Microsoft.CommerceServer.Runtime.Profiles.CommerceProfileModule, Microsoft.CommerceServer.Runtime, Version=6.0.1.0, Cultúr = neodrach, PublicKeyToken=31bf3856ad364e35″/]
[cuir an t-ainm;”CommerceExpressionEvaluator” type=”Microsoft.CommerceServer.Runtime.Targeting.CommerceExpressionModule, Microsoft.CommerceServer.Runtime, Version=6.0.1.0, Cultúr = neodrach, PublicKeyToken=31bf3856ad364e35″/]
[cuir an t-ainm;”CommerceCache” type=”Microsoft.CommerceServer.Runtime.Caching.CommerceCacheModule, Microsoft.CommerceServer.Runtime, Version=6.0.1.0, Cultúr = neodrach, PublicKeyToken=31bf3856ad364e35″/]
[cuir an t-ainm;”CommerceContentSelection” type=”Microsoft.CommerceServer.Runtime.Targeting.CommerceContentSelectionModule, Microsoft.CommerceServer.Runtime, Version=6.0.1.0, Cultúr = neodrach, PublicKeyToken=31bf3856ad364e35″/][cuir an t-ainm;”CommerceDataWarehouseAuthenticationModule” type=”Microsoft.CommerceServer.Runtime.CommerceDataWarehouseAuthenticationModule, Microsoft.CommerceServer.Runtime, Version=6.0.1.0, Cultúr = neodrach, PublicKeyToken=31bf3856ad364e35″/]Bain nó trácht amach an Tráchtála Freastalaí Fíordheimhniú Modúl. Níl an modúl seo ag teastáil mar go Foirmeacha ASP.NET Beidh Fíordheimhniú a úsáid le haghaidh gach fíordheimhnithe.
Step 4: Nuair a chuirfear “Tráchtála Freastalaí” AssembliesCopy an tráchtáil freastalaí faisnéis tionól ó CSharpSite web.config agus greamaigh sé i [cóimeálacha] tag sa Phríomh láithreán Riarachán web.config mar atá thíos:
[cóimeálacha]
[cuir cóimeáil =”Microsoft.CommerceServer.Runtime, Version=6.0.1.0, Cultúr = neodrach, PublicKeyToken=31bf3856ad364e35″ /]
[cuir cóimeáil =”Microsoft.CommerceServer.Catalog, Version=6.0.1.0, Cultúr = neodrach, PublicKeyToken = 31BF3856AD364E35″ /][/cóimeálacha]

Step 5: Configure Central Administration to recognize Commerce Server Membership
Copy the below code snippet to [system.web] section of the Web.config file for the Central Administration. Nóta: Paste it before the closing [/system.web].
[membership defaultProvider=”UpmMembershipProvider”]
[providers]
[clear /]
[add applicationName=”CSharpSite ”
enablePasswordRetrieval=”bréagach”
enablePasswordReset=”fíor”
requiresQuestionAndAnswer=”fíor”
requiresUniqueEmail=”fíor”
enableCreateDate=”fíor”
enableEmailAddress=”fíor”
enableLastLoginDate=”fíor”
profileDefinition=”UserObject”
passwordFormat=”Hashed”
name=”UpmMembershipProvider”
type=”Microsoft.CommerceServer.Runtime.Profiles.UpmMembershipProvider”/]
[/providers]
[/membership]

Step 6: Configuring the Commerce Server Profiles section

This section contains settings which configure the functionality of profiles and catalog sets. An [userProfile] node resides in the [CommerceServer][profiles] node in the web.config.
Uncomment the profiles section in [commerceserver] node.

[userProfile
profileDefinition=”UserObject”
userIdProperty=”GeneralInfo.email_address”
organizationIdProperty=”AccountInfo.org_id”
catalogSetIdProperty=”AccountInfo.user_catalog_set”
userIdSource = “ASP.NET”
userIdKey = “GeneralInfo.email_address”
userIdTarget = “GeneralInfo.user_id”
/]
[organizationProfile
profileDefintion=”Organization”
organizationIdProperty=”GeneralInfo.org_id”
catalogSetIdProperty=”GeneralInfo.org_catalog_set”
/]

Step 7: Adding Users in the Central AdministrationLocate Central Administration, Bainistíocht Iarratais, Authentication Providers, Default zone entry. Make sure that you have the PortalSite Web Application selected in the drop-down list.

o Click Forms.

o Change the Membership Provider Name to UpmMembershipProvider. This should match the name that is in the membership section of the Web.config file.Locate Central Administration, Bainistíocht Iarratais, and Policy for Web Application. Make sure that you have selected the Portal Web Application.

o Click Add Users.

o Select Default zone, and then click Next.

o Cineál an seoladh r-phoist an t-úsáideoir a chur leis tú roimhe seo ag baint úsáide as an Chustaiméara agus Orduithe Bainisteoir Tráchtála Freastalaí, agus ansin cliceáil ar Seiceáil Úsáideoir.

o Má tá an t-ainm úsáideora aitheanta go rathúil, beidh sé a bhfuil líne fúthu. Roghnaigh rialú Iomlán, agus ansin roghnaigh Críoch.

o Mura bhfuil an t-ainm úsáideora aitheanta, reáchtáil rian SQL Server ar an mbunachar sonraí Tráchtála Freastalaí Próifílí chun a chinntiú go bhfuil na ceisteanna ag rith i gcoinne an mbunachar sonraí. Ina theannta sin, a chinntiú go bhfuil an iontráil don soláthraí sa chomhad web.config do Riarachán Lárnach, agus breathnaigh ar earráidí i gcás logáil isteach.

Step 8: Cóipeáil na comhaid XML a leanas ón CSharpSite (IIS Eolaire Fíorúil) go dtí an fillteán fhréamh an láithreán Lárnach Riaracháin:

o OrderObjectMappings.xml
o OrderPipelineMappings.xml

Run Central Administration to make sure that these changes were made correctly. If errors occur, check the Web.config file for syntax issues.Even if the page displays correctly, check the event log. Some permissions errors may be hidden.

Configure the MOSS portal to use the Commerce Server Membership provider:
Step 1: Follow the above 6 steps to configure Portal site for Commerce Server.

Step 2: Comment out the existing [authentication], [identity], agus [authorization] sections. This will disable the default Windows authentication and authorization.

Step 3: Copy the below configuration settings contents to the Web.config file for the Portal site. Paste this after the previous sections that you just commented out. This sets up the site for Forms Authentication and denies anonymous access.

[authentication mode=”Foirmeacha”]
[forms loginUrl=”/_layouts/login.aspx” name=”.ASPXFORMSAUTH” /]
[/authentication]
[authorization]
[deny users=”?” /][/authorization] View the Portal site in a Web browser. You should be redirected to the logon page. Log on and use the user credentials that you added by using the Customer and Orders Manager.

Step 4: Cóipeáil na comhaid XML a leanas ón CSharpSite (IIS Eolaire Fíorúil) to the root folder of the Portal site:

o OrderObjectMappings.xml
o OrderPipelineMappings.xml

Step 5: Restart the IIS

Step 6: Run the Portal site and look for errors.

[Nóta : I am not able to Post scripts tag in here replace all “[” & “]” le “<" & ">“

Fág Freagra

Is féidir leat úsáid a bhaint na clibeanna HTML

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>