NTXHUAB muaj ntau inbuilt nta. Cov uas ntawm no POC no yog integrate lag luam neeg rau zaub mov 2007 nrog NTXHUAB 2007 muab Portal Integrated e-luam ntawv
Configuring NTXHUAB 2007 siv tus lag luam neeg rau zaub mov kev ua tswv cuab neeg ua lub hauv paus rau cov neeg siv cov Authentication
Cov hom kev pab raws qib kawm yuav tau ua kom lub Central Administration Portal chaw ntxuav tes-co nrog cov lag luam neeg rau zaub mov. Qhov no yuav tsum yog ua los ntawm modifying ntaub qhov tsim nyog Web.config ntawv rau tej qhov chaw. Tau muab lub lag luam neeg rau zaub mov thiab httpModules khej, SharePoint Central tswj kev kawm ntawv thiab hauv lub site Portal yuav tsim nyog CommerceContext kwv. Lub CommerceContext kwv enables qhov lag luam neeg rau zaub mov koom chaw mus initialized kom raug, thiab kuj enables Web site yog xeem thiab cov nplooj ntawv hauv lub portal siv lub CommerceContext kwv los saib tau lag luam neeg rau zaub mov kev pab xws li cov khoom Catalog.
Cov neeg zov me nyuam UpmMembership extends lub moj khaum koom uas muab los ntawm ASP.Net kom haum raws li tus ASP.Net ID nkag mus ntawm lwm yam uas siv thiab authenticate tus lag luam neeg rau zaub mov Profiles.
Hloov cov Web.config NTXHUAB Central Administration thiab hauv Portal kawm ntawv nrog rau hauv qab no rau avail cov neeg rau zaub mov luam cov ntaub ntawv thiab kev pab cuam hauv NTXHUAB
- Lag luam neeg rau zaub mov seem Group
- Ib pab neeg rau zaub mov ntoo
- Http Modules
- Sibtham
- Cov neeg zov me nyuam kev ua koom tes
- Profile seem
o xyuas seb twg Web.config tej ntaub ntawv yuav muab siv rau hauv kev kawm SharePoint Central Administration thiab uas yog siv rau hauv lub site Portal. Siv lub tsev Directory tab nyob hauv IIS tus thawj tswj los txiav txim seb txoj kev tsim nyog ntawm cov ntaub ntawv Web.config rau txhua qhov chaw.
o siv ntawv Web.config uas yog yav tas los tsim kev lag luam neeg rau zaub mov C SharpSite raws li yog qhov ua rau muaj cov phau ntawv mus luam tau nyob hauv cov lus qhia nram qab no:
Thov koj ua raws li cov nram qab lub kauj ruam los mus hloov web.config cov ntaub ntawv ntawm qhov chaw no SharePoint.
Kauj ruam 1: Muab ntoo neeg rau zaub mov seem Group
Daim ntawv cov lag luam [sectionGroup] nyob rau hauv [configSections] thiab paste tom qab lub [System.Workflow.ComponentModel.WorkflowCompiler] nqe ib pawg.
[sectionGroup npe =”CommerceServer”]
[seem npe =”daim ntawv” yam =”Microsoft.CommerceServer.Runtime.Configuration.CommerceApplicationSectionHandler, Microsoft.CommerceServer.Runtime, Version = 6.0.1.0, Culture = nruab nrab, PublicKeyToken = 31bf3856ad364e35″/]
[seem npe =”authentication” yam =”Microsoft.CommerceServer.Runtime.Configuration.CommerceAuthenticationSectionHandler, Microsoft.CommerceServer.Runtime, Version = 6.0.1.0, Culture = nruab nrab, PublicKeyToken = 31bf3856ad364e35″/]
[seem npe =”pipelines” yam =”Microsoft.CommerceServer.Runtime.Configuration.CommercePipelineSectionHandler, Microsoft.CommerceServer.Runtime, Version = 6.0.1.0, Culture = nruab nrab, PublicKeyToken = 31bf3856ad364e35″/]
[seem npe =”caches” yam =”Microsoft.CommerceServer.Runtime.Configuration.CommerceCacheSectionHandler, Microsoft.CommerceServer.Runtime, Version = 6.0.1.0, Culture = nruab nrab, PublicKeyToken = 31bf3856ad364e35″/]
[seem npe =”messageManager” yam =”Microsoft.CommerceServer.Runtime.Configuration.CommerceMessageManagerSectionHandler, Microsoft.CommerceServer.Runtime, Version = 6.0.1.0, Culture = nruab nrab, PublicKeyToken = 31bf3856ad364e35″/]
[seem npe =”catalog” yam =”Microsoft.CommerceServer.Runtime.Configuration.CommerceCatalogSectionHandler, Microsoft.CommerceServer.Runtime, Version = 6.0.1.0, Culture = nruab nrab, PublicKeyToken = 31bf3856ad364e35″/]
[seem npe =”txiav txim” yam =”Microsoft.CommerceServer.Runtime.Configuration.CommerceOrdersSectionHandler, Microsoft.CommerceServer.Runtime, Version = 6.0.1.0, Culture = nruab nrab, PublicKeyToken = 31bf3856ad364e35″/]
[seem npe =”profiles” yam =”Microsoft.CommerceServer.Runtime.Configuration.CommerceProfilesSectionHandler, Microsoft.CommerceServer.Runtime, Version = 6.0.1.0, Culture = nruab nrab, PublicKeyToken = 31bf3856ad364e35″/]
[seem npe =”contentSelection” yam =”Microsoft.CommerceServer.Runtime.Configuration.CommerceContentSelectionSectionHandler, Microsoft.CommerceServer.Runtime, Version = 6.0.1.0, Culture = nruab nrab, PublicKeyToken = 31bf3856ad364e35″/]
[seem npe =”commerceEvent” yam =”Microsoft.CommerceServer.Runtime.Configuration.EventLoggerConfigurationHandler, Microsoft.CommerceServer.Runtime, Version = 6.0.1.0, Culture = nruab nrab, PublicKeyToken = 31bf3856ad364e35″/]
[seem npe =”kab zauv” yam =”Microsoft.CommerceServer.Runtime.Configuration.CommerceExpressionSectionHandler, Microsoft.CommerceServer.Runtime, Version = 6.0.1.0, Culture = nruab nrab, PublicKeyToken = 31bf3856ad364e35″/]
[/sectionGroup]
Kauj ruam 2: Muab ntoo ib pawg neeg rau zaub mov
Daim ntawv § lub [CommerceServer] sab es paste tom qab lub [SharePoint] seem, cia li ua ntej lub [system.Web] seem.
[CommerceServer]
[ntawv thov siteName =”CDevSite” debugLevel =”Ntau lawm”/]
[pipelines][/pipelines]
[kab zauv schema =”Nws pib”/]
[caches]
[cache npe =”Advertising” yam =”Advertising” refreshInterval =”900″ retryInterval =”30″/]
[cache npe =”Nyiaj cheb” yam =”Nyiaj cheb” refreshInterval =”0″ retryInterval =”30″/]
[cache npe =”ShippingManagerCache” yam =”Shipping” loaderProgId =”Commerce.ShippingMethodCache” refreshInterval =”0″ retryInterval =”30″/]
[cache npe =”PaymentMethodCache” yam =”Nyiaj”/]
[cache npe =”OrdersConfigurationCache” yam =”OrdersConfiguration”/]
[/caches]
[messageManager]
[neej ntawd mus kuaj =”• siv cov mis U.S.” baseName =”CommerceMessageManager” sib dhos =”CommerceMessageManager”]
[culture daim id =”• siv cov mis U.S.”/]
[culture daim id =”Fr fr”/]
[culture daim id =”ja-JP”/]
[culture daim id =”tsib-tsib”/]
[/cai]
[III.]
[muab daim id =”pur_badsku”/]
[muab daim id =”pur_badplacedprice”/]
[muab daim id =”pur_discount_changed”/]
[muab daim id =”pur_discount_removed”/]
[muab daim id =”pur_noitems”/]
[muab daim id =”pur_badshipping”/]
[muab daim id =”pur_badhandling”/]
[muab daim id =”pur_badtax”/]
[muab daim id =”pur_badcc”/]
[muab daim id =”pur_badpayment”/]
[muab daim id =”pur_badverify”/]
[muab daim id =”pur_out_of_stock”/]
[muab daim id =”unknown_shipping_method”/]
[/III.]
[/messageManager]
[kom honorStatus =”tseeb” newOrderStatus =”NewOrder” sqlCommandTimeoutSeconds =”60″ sqlLongRunningCommandTimeoutSeconds =”28800″]
[addressMap]
[profileDefinition npe =”Chaw nyob”/]
[cov cuab yeej ntawm =”GeneralInfo.address_id” mus =”OrderAddressId”/]
[cov cuab yeej ntawm =”GeneralInfo.first_name” mus =”FirstName”/]
[cov cuab yeej ntawm =”GeneralInfo.last_name” mus =”LastName”/]
[cov cuab yeej ntawm =”GeneralInfo.address_line1″ mus =”Line1″/]
[cov cuab yeej ntawm =”GeneralInfo.address_line2″ mus =”Line2″/]
[cov cuab yeej ntawm =”GeneralInfo.city” mus =”Lub nroog”/]
[cov cuab yeej ntawm =”GeneralInfo.region_code” mus =”RegionCode”/]
[cov cuab yeej ntawm =”GeneralInfo.postal_code” mus =”PostalCode”/]
[cov cuab yeej ntawm =”GeneralInfo.country_name” mus =”CountryName”/]
[cov cuab yeej ntawm =”GeneralInfo.region_name” mus =”Lub xeev”/]
[cov cuab yeej ntawm =”GeneralInfo.tel_number” mus =”DaytimePhoneNumber”/]
[/addressMap]
[Hom]
[Ntaus ntawv yuam sij =”Pob tawb” UserTypeName =”Pob tawb” AssemblyType =”GAC” NameSpace =”Microsoft.CommerceServer.Runtime.Orders” Sib dhos =”Microsoft.CommerceServer.Runtime, Version = 6.0.1.0, Culture = nruab nrab, PublicKeyToken = 31bf3856ad364e35″/]
[Ntaus ntawv yuam sij =”PurchaseOrder” UserTypeName =”PurchaseOrder” AssemblyType =”GAC” NameSpace =”Microsoft.CommerceServer.Runtime.Orders” Sib dhos =”Microsoft.CommerceServer.Runtime, Version = 6.0.1.0, Culture = nruab nrab, PublicKeyToken = 31bf3856ad364e35″/]
[Ntaus ntawv yuam sij =”OrderTemplate” UserTypeName =”OrderTemplate” AssemblyType =”GAC” NameSpace =”Microsoft.CommerceServer.Runtime.Orders” Sib dhos =”Microsoft.CommerceServer.Runtime, Version = 6.0.1.0, Culture = nruab nrab, PublicKeyToken = 31bf3856ad364e35″/]
[Ntaus ntawv yuam sij =”OrderForm” UserTypeName =”OrderForm” AssemblyType =”GAC” NameSpace =”Microsoft.CommerceServer.Runtime.Orders” Sib dhos =”Microsoft.CommerceServer.Runtime, Version = 6.0.1.0, Culture = nruab nrab, PublicKeyToken = 31bf3856ad364e35″/]
[Ntaus ntawv yuam sij =”LineItem” UserTypeName =”LineItem” AssemblyType =”GAC” NameSpace =”Microsoft.CommerceServer.Runtime.Orders” Sib dhos =”Microsoft.CommerceServer.Runtime, Version = 6.0.1.0, Culture = nruab nrab, PublicKeyToken = 31bf3856ad364e35″/]
[Ntaus ntawv yuam sij =”Zaub mov xa tuaj” UserTypeName =”Zaub mov xa tuaj” AssemblyType =”GAC” NameSpace =”Microsoft.CommerceServer.Runtime.Orders” Sib dhos =”Microsoft.CommerceServer.Runtime, Version = 6.0.1.0, Culture = nruab nrab, PublicKeyToken = 31bf3856ad364e35″/]
[Ntaus ntawv yuam sij =”Nyiaj” UserTypeName =”Nyiaj” AssemblyType =”GAC” NameSpace =”Microsoft.CommerceServer.Runtime.Orders” Sib dhos =”Microsoft.CommerceServer.Runtime, Version = 6.0.1.0, Culture = nruab nrab, PublicKeyToken = 31bf3856ad364e35″/]
[Ntaus ntawv yuam sij =”CreditCardPayment” UserTypeName =”CreditCardPayment” AssemblyType =”GAC” NameSpace =”Microsoft.CommerceServer.Runtime.Orders” Sib dhos =”Microsoft.CommerceServer.Runtime, Version = 6.0.1.0, Culture = nruab nrab, PublicKeyToken = 31bf3856ad364e35″/]
[Ntaus ntawv yuam sij =”GiftCertificatePayment” UserTypeName =”GiftCertificatePayment” AssemblyType =”GAC” NameSpace =”Microsoft.CommerceServer.Runtime.Orders” Sib dhos =”Microsoft.CommerceServer.Runtime, Version = 6.0.1.0, Culture = nruab nrab, PublicKeyToken = 31bf3856ad364e35″/]
[Ntaus ntawv yuam sij =”PurchaseOrderPayment” UserTypeName =”PurchaseOrderPayment” AssemblyType =”GAC” NameSpace =”Microsoft.CommerceServer.Runtime.Orders” Sib dhos =”Microsoft.CommerceServer.Runtime, Version = 6.0.1.0, Culture = nruab nrab, PublicKeyToken = 31bf3856ad364e35″/]
[Ntaus ntawv yuam sij =”CashCardPayment” UserTypeName =”CashCardPayment” AssemblyType =”GAC” NameSpace =”Microsoft.CommerceServer.Runtime.Orders” Sib dhos =”Microsoft.CommerceServer.Runtime, Version = 6.0.1.0, Culture = nruab nrab, PublicKeyToken = 31bf3856ad364e35″/]
[Ntaus ntawv yuam sij =”OrderAddress” UserTypeName =”OrderAddress” AssemblyType =”GAC” NameSpace =”Microsoft.CommerceServer.Runtime.Orders” Sib dhos =”Microsoft.CommerceServer.Runtime, Version = 6.0.1.0, Culture = nruab nrab, PublicKeyToken = 31bf3856ad364e35″/]
[Ntaus ntawv yuam sij =”DiscountApplicationRecord” UserTypeName =”DiscountApplicationRecord” AssemblyType =”GAC” NameSpace =”Microsoft.CommerceServer.Runtime.Orders” Sib dhos =”Microsoft.CommerceServer.Runtime, Version = 6.0.1.0, Culture = nruab nrab, PublicKeyToken = 31bf3856ad364e35″/]
[Ntaus ntawv yuam sij =”ShippingDiscountRecord” UserTypeName =”ShippingDiscountRecord” AssemblyType =”GAC” NameSpace =”Microsoft.CommerceServer.Runtime.Orders” Sib dhos =”Microsoft.CommerceServer.Runtime, Version = 6.0.1.0, Culture = nruab nrab, PublicKeyToken = 31bf3856ad364e35″/]
[Ntaus ntawv yuam sij =”PromoCodeRecord” UserTypeName =”PromoCodeRecord” AssemblyType =”GAC” NameSpace =”Microsoft.CommerceServer.Runtime.Orders” Sib dhos =”Microsoft.CommerceServer.Runtime, Version = 6.0.1.0, Culture = nruab nrab, PublicKeyToken = 31bf3856ad364e35″/]
[/Hom]
[Txwv OrderFormsPerOrderGroup =”5″ PromoCodeRecordsPerOrderForm =”10″ PromoCodesPerOrderForm =”10″ LineItemsPerOrderForm =”40″ OrderTemplatesPerUser =”10″ PaymentsPerOrderForm =”10″ ShipmentsPerOrderForm =”40″ BasketsPerUser =”15″ OrderAddressesPerOrderGroup =”10″/]
[MappingFiles PipelineMappingFilename =”OrderPipelineMappings.xml” StorageMappingFilename =”OrderObjectMappings.xml”/]
[SerializationBindings]
[SerializationBinding OldType =”Microsoft.CommerceServer.Runtime.Orders.LineItem , Microsoft.CommerceServer.Runtime ,Version = 6.0.1.0, Culture = nruab nrab, PublicKeyToken = 31bf3856ad364e35″ NewType =”Microsoft.CommerceServer.Runtime.Orders.LineItem, Microsoft.CommerceServer.Runtime,Version = 6.0.1.0, Culture = nruab nrab, PublicKeyToken = 31bf3856ad364e35″/]
[/SerializationBindings]
[/txiav txim]
[commerceEvent]
[ntxiv className =”Microsoft.CommerceServer.Runtime.AddItemToBasketEvent” ID =”AddItemToBasket”/]
[ntxiv className =”Microsoft.CommerceServer.Runtime.RemoveItemFromBasketEvent” ID =”RemoveItemFromBasket”/]
[ntxiv className =”Microsoft.CommerceServer.Runtime.SubmitOrderEvent” ID =”SubmitOrder” loggingEnabled =”tseeb”/]
[/commerceEvent]
[/CommerceServer]
Kauj ruam 3: Ntxiv “CommerceApplication” nyob rau hauv “httpModules” Seem
§ Luam cov ntoo HTTP Modules mus xaus rau [httpModules] seem.
[ntxiv cov npe =”CommerceApplication” yam =”Microsoft.CommerceServer.Runtime.CommerceApplicationModule, Microsoft.CommerceServer.Runtime, Version = 6.0.1.0, Culture = nruab nrab, PublicKeyToken = 31bf3856ad364e35″/]
[ntxiv cov npe =”CommerceAuthentication” yam =”Microsoft.CommerceServer.Runtime.CommerceAuthenticationModule, Microsoft.CommerceServer.Runtime, Version = 6.0.1.0, Culture = nruab nrab, PublicKeyToken = 31bf3856ad364e35″/]
[ntxiv cov npe =”CommerceOrder” yam =”Microsoft.CommerceServer.Runtime.Orders.CommerceOrderModule, Microsoft.CommerceServer.Runtime, Version = 6.0.1.0, Culture = nruab nrab, PublicKeyToken = 31bf3856ad364e35″/]
[ntxiv cov npe =”CommerceCatalog” yam =”Microsoft.CommerceServer.Runtime.Catalog.CommerceCatalogModule, Microsoft.CommerceServer.Runtime, Version = 6.0.1.0, Culture = nruab nrab, PublicKeyToken = 31bf3856ad364e35″/]
[ntxiv cov npe =”CommerceProfile” yam =”Microsoft.CommerceServer.Runtime.Profiles.CommerceProfileModule, Microsoft.CommerceServer.Runtime, Version = 6.0.1.0, Culture = nruab nrab, PublicKeyToken = 31bf3856ad364e35″/]
[ntxiv cov npe =”CommerceExpressionEvaluator” yam =”Microsoft.CommerceServer.Runtime.Targeting.CommerceExpressionModule, Microsoft.CommerceServer.Runtime, Version = 6.0.1.0, Culture = nruab nrab, PublicKeyToken = 31bf3856ad364e35″/]
[ntxiv cov npe =”CommerceCache” yam =”Microsoft.CommerceServer.Runtime.Caching.CommerceCacheModule, Microsoft.CommerceServer.Runtime, Version = 6.0.1.0, Culture = nruab nrab, PublicKeyToken = 31bf3856ad364e35″/]
[ntxiv cov npe =”CommerceContentSelection” yam =”Microsoft.CommerceServer.Runtime.Targeting.CommerceContentSelectionModule, Microsoft.CommerceServer.Runtime, Version = 6.0.1.0, Culture = nruab nrab, PublicKeyToken = 31bf3856ad364e35″/][ntxiv cov npe =”CommerceDataWarehouseAuthenticationModule” yam =”Microsoft.CommerceServer.Runtime.CommerceDataWarehouseAuthenticationModule, Microsoft.CommerceServer.Runtime, Version = 6.0.1.0, Culture = nruab nrab, PublicKeyToken = 31bf3856ad364e35″/]Tshem tawm los sis qhia tawm rau cov lag luam neeg rau zaub mov Authentication Module. No module tseem tsis tau vim ASP.NET ntaub ntawv Authentication yuav siv rau tagnrho authentications.
Kauj ruam 4: Ntxiv “Lag luam neeg rau zaub mov” Cov lag luam neeg rau zaub mov los ua ke ntxiv ntawm CSharpSite web.config AssembliesCopy thiab paste rau hauv nws lub [sibtham] lossis nyob rau hauv Central Administration rau tus web.config raws li nram qab no:
[sibtham]
[ntxiv los ua ke =”Microsoft.CommerceServer.Runtime, Version = 6.0.1.0, Culture = nruab nrab, PublicKeyToken = 31bf3856ad364e35″ /]
[ntxiv los ua ke =”Microsoft.CommerceServer.Catalog, Version = 6.0.1.0, Culture = nruab nrab, PublicKeyToken = 31BF3856AD364E35″ /][/sibtham]
Kauj ruam 5: Configure Central cov koom haum saib xyuas txog kev ua tswv cuab neeg rau zaub mov ntoo
Daim ntawv rau hauv qab txoj kev snippet los [system.Web] seem ntawm Web.config ntaub ntawv rau lub koom haum saib xyuas Central. Ceeb toom: Paste rau nws ua ntej yuav kaw [/system.Web].
[kev ua tswv cuab defaultProvider =”UpmMembershipProvider”]
[cov neeg zov menyuam]
[ntshiab /]
[ntxiv applicationName =”CSharpSite ”
enablePasswordRetrieval =”tsis tseeb”
enablePasswordReset =”tseeb”
requiresQuestionAndAnswer =”tseeb”
requiresUniqueEmail =”tseeb”
enableCreateDate =”tseeb”
enableEmailAddress =”tseeb”
enableLastLoginDate =”tseeb”
profileDefinition =”UserObject”
passwordFormat =”Hashed”
lub npe =”UpmMembershipProvider”
yam =”Microsoft.CommerceServer.Runtime.Profiles.UpmMembershipProvider”/]
[/cov neeg zov menyuam]
[/kev ua koom tes]
Kauj ruam 6: Configuring qhov lag luam neeg rau zaub mov Profiles seem
Seem no muaj nqis uas configure lub functionality ntawm profiles thiab catalog poob lawm. Tus [userProfile] ntawm no nyob rau [CommerceServer][profiles] ntawm nyob rau hauv cov web.config.
Uncomment profiles sab hauv [commerceserver] ntawm.
[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 =”Koom haum”
organizationIdProperty =”GeneralInfo.org_id”
catalogSetIdProperty =”GeneralInfo.org_catalog_set”
/]
Kauj ruam 7: Ntxiv rau cov neeg siv nyob rau hauv lub Central AdministrationLocate Central Administration, Thov tswj, Authentication tus neeg zov me nyuam, Vim tsam nkag. Nco ntsoov hais tias koj muaj PortalSite Web daim ntawv thov xaiv nyob rau hauv daim ntawv nco-down.
o nyem qhov ntaub ntawv.
o hloov cov kws kho mob lub npe ntawm koom rau UpmMembershipProvider. Qhov no yuav tsum tau phim lub npe uas nyob rau hauv kev ua tswv cuab rau tej ntaub ntawv Web.config.Nrhiav Central Administration, Thov tswj, thiab txoj cai rau cov ntaub ntawv hauv Web site. Nco ntsoov tias koj tau xaiv Portal Web daim ntawv thov.
o nias Add cov neeg.
o xaiv Default tsam, thiab ces nyem ntxiv mus.
o ntaus ntawv e-mail chaw nyob ntawm tus neeg siv koj ntxiv yav tas los uas siv rau cov neeg lag luam yuav neeg rau zaub mov thiab yuam kom tus thawj tswj, thiab mam li nyem qhov xyuas neeg.
o yog ntse no mus rau cov neeg siv lub npe, nws yuav ua underlined. Xaiv tau daim ntawv qhia txog kev tiv thaiv, thiab mam li xaiv suaj kaum.
o yog hais tias tus neeg siv npe tsis pom, khiav ib ib txoj lw SQL neeg rau zaub mov ntawm lub lag luam neeg rau zaub mov Profiles database kom paub tseeb tias cov queries yog khiav tiv thaiv cov database. Txuas ntxiv, Nco ntsoov tias tus nkag rau tus neeg zov me nyuam yuav nyob rau hauv cov ntaub ntawv Web.config rau Central Administration, thiab nrhiav kom raug ua event cav.
Kauj ruam 8: Luam ntawm cov ntaub ntawv XML hauv qab no los ntawm qhov CSharpSite (IIS Virtual Directory) los sis cag ntawm Central cov koom haum saib xyuas kev kawm ntawv:
o OrderObjectMappings.xml
o OrderPipelineMappings.xml
Khiav Central tswj kom paub tseeb tias tej kev hloov no los ua kom raug. Yog tshwm sim uas tsis, tshawb xyuas cov ntaub ntawv Web.config syntax muaj teeb meem.Txawm tias cov nplooj ntawv qhia txog cov thwj, kos cov kev tshwm sim cav. Tej zaum yuav muab zais ib co permissions uas ua tsis tau.
Configure NTXHUAB portal siv tus neeg zov me nyuam lag luam ua tswv cuab neeg rau zaub mov:
Kauj ruam 1: Ua raws li cov saum no 6 kauj ruam mus configure Portal qhov chaw kev lag luam neeg rau zaub mov.
Kauj ruam 2: Kev qhia kom paub tus policy [authentication], [yog leejtwg], thiab [kev tso cai] khej. Yuav no lov tes taw lub neej ntawd qhov rais authentication thiab kev tso cai.
Kauj ruam 3: Daim ntawv hauv qab no configuration nqis txheem kom cov ntaub ntawv Web.config rau hauv lub site Portal. Paste no tom qab lub khej yav dhau los uas koj nyuam qhuav commented tias. Qhov no teev mus rau lub chaw rau cov ntaub ntawv Authentication thiab tsis saib anonymous.
[authentication hom =”Cov ntaub ntawv”]
[tas li loginUrl =”/_layouts/login.aspx” lub npe =”.ASPXFORMSAUTH” /]
[/authentication]
[kev tso cai]
[tsis muab rau cov neeg siv =”?” /][/kev tso cai] Saib lub Portal kawm ntawv nyob rau hauv lub Web browser. Koj yuav tsum tau redirected rau qhov logon phab. Teev rau hauv thiab siv cov peev neeg xwm ntxiv los ntawm kev siv rau tus neeg thiab txiav txim kom tus thawj tswj.
Kauj ruam 4: Luam ntawm cov ntaub ntawv XML hauv qab no los ntawm qhov CSharpSite (IIS Virtual Directory) los sis cag rau hauv lub site Portal:
o OrderObjectMappings.xml
o OrderPipelineMappings.xml
Kauj ruam 5: Updated 10/22/07/f.Triplett tus IIS
Kauj ruam 6: Khiav hauv lub site Portal thiab nrhiav kom raug.
[Ceeb toom : Kuv tsis tau ncej scripts lossis nyob rau hauv nov hloov tag nrho “[” & “]” nrog “<" & ">“