Tej yam yooj yim piav: “Tus nqi tsis poob li ntawm txoj kev tsim kev khwv.”

HLOOV TSHIAB: Ib daim ntawv loj loj anonymous tshuav ib koob saib txog lub npe. Nco ntsoov nyeem nws.

Thaum ua hauj lwm nrog cov kev tshwm sim receivers thiab lwm yam cai references SharePoint daim ntawv teev khoom ntawm tus kwv qauv, Kuv yeej ua yuam kev uas ua kom muaj qhov yuam kev ntawm runtime:

Yuam kev chaw thau khoom thiab khiav cov kev tshwm sim receiver Conchango.xyzzyEventReceiver nyob xyzzy, Version = 1.0.0.0, Culture = nruab nrab, PublicKeyToken = 0dc50a750396c3ac. Xav paub ntxiv hauv qab no yog. : Tus nqi tsis poob tsis pub dhau lub expected ntau yam.

Kuv xav tias qhov no yog ib qho yuam kev lawm generic haum uas uas vim muaj ntau yam. Txawm li cas los, ib cov lus qhia yog tias kuv nyob referencing teb incorrectly. Yog hais tias lub teb lub npe yog "Hnub so", Kuv yuav tsum reference nws zoo li no nyob rau hauv ib qhov kev tshwm sim receiver:

zog.ListItem["Hnub"]

Thaum twg kuv misspell los siv rau rooj plaub no tsis ncaj ncees lawm thaum referencing lub teb, SharePoint generates cov saum no lum runtime yuam kev. Piv txwv, qhov no tsis yog lawm:

zog.ListItem["hnub"]

</kawg>

Subscribe rau kuv blog.

Ntawv cim npe Technorati:

Ib tug xav rau"Tej yam yooj yim piav: “Tus nqi tsis poob li ntawm txoj kev tsim kev khwv.”

  1. Sanjaykuma r Patel

    Kuv pom zoo nrog paul, tiam sis kuv kuj xav kom ntxiv dab tsi rau cov kos no.
    Tej tsam lub Teb lub npe txawv dua li qhov Teb rau sab hauv lub npe nyob rau hauv daim ntawv no, sim mus nkag lub teb siv Teb lub npe nyob rau hauv lub nruas qauv muab peb lub kos saum toj no. Daws qhov teeb meem no yeej sim mus saib tau tom teb siv lawv cov npe nrog.
    Koj yuav nrhiav tau cov npe nrog teb li cas?
    1) Mus rau npe Sharepoint. Mus rau qhov tshiab | Tej yam khoom tshiab.
    2) Tso tawm yuav muaj yam tshiab rau daim ntawv kom pom. Txoj nyem rau ntawm daim ntawv thiab nias rau ntawm saib tau qhov twg los. Nrhiav lub teb Internal npe hauv opened HTML code. Koj yuav nrhiav lub teb lub npe nrog rau cov npe teb.

    Teb

sau ntawv cia

Koj email chaw nyob yuav tsis muab luam tawm. Search cim *