Kua rau teeb meem: “FileNotFoundException” Nrog kuv tus Feature Receiver.

Kuv tau ua hauj lwm rau ib tug feature zaum tag los uas yuav ntxiv tej yam kev tshwm sim receivers rau ib daim ntawv teev kev lom. (Kuv blogged txog tias receiver no los sau li no kuj nce mentsis).

Siv cov kev hais kom ua kab, Kuv yuav nruab qhov feature uas tsis muaj kev ua yuam kev (tiam sis saib hauv qab no rau thaum qhov kev ua yuam kev). Thaum kuv sim deploy feature rau ntawm qhov chaw, NTXHUAB complained "FileNotFoundException ib" yuam kev. No nkag teb chaws blog piav li cas kuv solved nws.

Qhov no yog qhov yuam kev ntawm NTXHUAB tsom kuv nyob rau hauv cov qhov web browser:

Feature ' b2cb42e3-4f0a-4380-aaba-1ef9cd526f20’ yuav tsis muab ntsia tau vim hais tias lub chaw thau khoom ntawm cov kev tshwm sim receiver los ua ke "xyzzyFeatureReceiver_0" ua tsis tau tejyam: System.IO.FileNotFoundException: Yuav tsis thauj cov ntaub ntawv los sib dhos ' xyzzyFeatureReceiver_0’ los yog ib qhov dependencies. Lawv nrhiav tsis tau cov ntaub ntawv teev.
Cov ntaub ntawv npe: ' xyzzyFeatureReceiver_0’
tom System.Reflection.Assembly.nLoad(AssemblyName fileName, Txoj hlua codeBase, Pov thawj assemblySecurity, Los ua ke locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection)
tom System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Pov thawj assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
tom System.Reflection.Assembly.InternalLoad(Txoj hlua assemblyString, Pov thawj assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
tom System.Reflection.Assembly.Load(Txoj hlua assemblyString)
tom Microsoft.SharePoint.Administration.SPFeatureDefinition.get_ReceiverObject()
WRN: Muab sib dhos losis tswvyim dabtsi logging OFF.
Yuav pab kom sib dhos khi tsis logging, muab lub npe nqi [HKLMSoftwareMicrosoftFusion!EnableLog] (DWORD) mus 1.
Ceeb toom: Yog ib co kev nplua nrog sib dhos khi tsis logging.
Tig no feature, tshem tau cov nqi no npe [HKLMSoftwareMicrosoftFusion!EnableLog].

Troubleshoot muaj teeb meem nrog rau cov kev pab cuam SharePoint qhov rais.

Kuv paub tias yuav ua li cas yuav txhob txwm tshaj tawm ua tau qhov yuam kev: tsis txhob nruab ib tus los ua ke hauv lub GAC. Tab sis npog, yog nyob hauv lub GAC. Kuv nquag nruab sibtham hauv lub GAC los cia rau hauv lub c dragging:\windowsassembly sis siv explorer qhov rais. Kuv yeej ib txwm tsis muaj 100% nyiam ua ntawd vim kuv pheej xav tias gacutil existed ib vim li … ces kuv sim uas. Ua tsis muaj qhov sib txawv.

Nrhiav cov Internets thiab pom no ncej: http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=2243677&SiteID=1

Cov daim ntawv loj loj tshwm sim uas yuav siv tib hauv paus ntsis ntawm txoj (los ntawm phau ntawv hauv WSS los ntawm daim ntawv) li ntawd, uas yog ib qho hopeful. Txawm li cas los, qhov suggestion ntawm decorating lub los ua ke rau ib qho [sib dhos: ] tswj tsis ntxim rau kuv. Kuv sim nws lawm thiab kuv yog txoj kev. Ua tsis muaj qhov sib txawv.

Ces kuv pom tias kuv chav kawm ntawv txhais tau tsis pej xeem. Kuv muab nws pej xeem thiab cov uas ua tsis muaj qhov sib txawv.

Tom ntej, Kuv mus rau qhov teeb meem ntawm enabling tus "sib dhos khi tsis cav" (tom qab tus tswv thiab raws cov lus qhia muab) thiab qhov no yog qhov twg yam pib tau nthuav. Cov cav ntawd qhia rau kuv tias lub runtime yog searching zaws ntawm tus neeg rau zaub mov rau kuv los ua ke. Txawm tias nws pom tau searching rau nws nyob rau hauv kuv txee rau tshuaj. Tab sis npog … nws yuav tsis nrhiav nws nyob hauv lub GAC.

Kuv muab tso rau hauv kuv lub tsho caij ntuj no thiab mus searching lub Internets dua thiab paub tias ib tug neeg nws tau qhov teeb meem no thiab. Kev zoo sab laj nyob ntawd xo peters tawm rau hauv tsis muaj dab tsi thiab kuv yuav tsis nrhiav kev kho.

Kuv tsiv kuv los ua ke rau hauv ib lub chaw leg ntaubntawv tus cav nws yog searching thiab kuv kom ntau me ntsis xwb. Kuv tabtom rewarded nrog tus tshiab yuam kev nyob hauv koj tus browser thaum kuv ua tiag mus qhib lub feature:

Tejyam uas tsim feature receiver kwv los sib dhos "xyzzyFeatureReceiver_0", hom "Conchango.xyzzyFeatureReceiver" rau feature b2cb42e3-4f0a-4380-aaba-1ef9cd526f20: System.ArgumentNullException: Tus nqi tsis tau thov.
Parameter npe: hom
tom System.Activator.CreateInstance(Tej yam, Boolean nonPublic)
tom System.Activator.CreateInstance(Tej yam)
tom Microsoft.SharePoint.Administration.SPFeatureDefinition.get_ReceiverObject()

Troubleshoot muaj teeb meem nrog rau cov kev pab cuam SharePoint qhov rais.

Lub sij hawm rau ib lub xeem txawv tebchaws rau lub Internets!

Lub sij hawm no kuv paub, predictably txaus, ntawd NTXHUAB sib yuam kev no vim hais tias cov los ua ke yuav tsis nyob hauv GAC.

Kuv xav tau ib yam dab tsi zoo rau hauv no thiab ua kom muaj ntsis txaus siab rau qhov tias kuv tsim tau lub Tseem nrhiav kev MSIL sibtham, tab sis nws tsis ua hauj lwm. Kuv nyuam qhuav plain annoyed. Kuv nrhiav tau kuv tus kheej muttering "qaib los yog qe" raws li kuv ua tsis taus pa.

Thaum kawg kuv xav punt. Kuv tsim ib qhov project nkaus tshiab thiab daim ntawv/muab tshuaj qhov chaws ntawm incredible-cloaked-from-the-GAC-assembly uas tsis ua hauj lwm peb tes num dua tshiab project no. (Kuv nrhiav ib tug chij hu ua ib yam dab tsi zoo li "nraim ntawm los ua ke losis tswvyim dabtsi yog ntsia tau rau hauv cov GAC muaj" tab sis nrhiav tsis tau ib tug).

Nruab ib lub feature thiab qhib nws thiab … nws ua haujlwm! Li ntawd, tag nrho cov tom qab, Kuv tau ua yeej ' reboot’ ib qhov kuv. Qhov no yog lwm vim li cas kuv ntxub computers.

Kuv kawm tau ib yam dab tsi pab tau los ntawm no. Kuv yuav tsum tau txhim kho nta cov stsadm hais kom ua kab siv ib hnub thiab siv tau cov "-yuam" kev xaiv ntawm tus cwj pwm. Vim, Kuv puas tau txhob siv cov - quab yuam kev xaiv thaum kuv ntsia peb tes num tshiab. Lub sij hawm no, Kuv yeej tsis, hais tiag nco kom luam no ib qhov ntawv tshiab los ua ke rau hauv lub GAC. Yog li ntawd, Kuv tau txais "FielNotFoundException ntawd" yuam kev. Lub sij hawm no, Kuv yog tus txais ntawm stsadm, tsis yog thaum kuv sim mus qhib lub feature ntawm lub web browser. Li ntawd, -sib zog ua tau plays ob tug cwj pwm. Nws tso cai rau koj los rov nruab ib feature uas twb muaj lawm. Nws tseem tso cai rau koj nruab ib lub tsheb nees feature uas tsis ua hauj lwm ntawm runtime ntawm suppressing qhov yuam kev. Nws zaum hais ua ntau ntau nyob hauv kev pab qhov chaw tab sis kuv yeej tsis pom nws.

</kawg>

Ntawv cim npe Technorati: ,

Sunday Funny: Saum 10 Txoj kev mus Annoy koj tus poj niam

  1. Muas zaub cob pob thaum koj paub tias muaj no twb paub ntau dua kom ntau txaus rau cov fridge.
  2. Mus rau ib tug mus dhia. Laj. Hle cov ntaub ntawv hauv ncoo huv thiab hloov nrog T-shirt. Npog rau rooj plaub huv hauv ncoo.
  3. Thaum koj tsav, hais tias peb yuav tsum mus rau txoj kev tsis ncaj ncees lawm cia rau hauv txoj kev ib seem.
  4. Rau 15 xyoo, txhua txhua hnub Sunday ntawd koj tus poj niam qhia mus rau lub tsev khaws puav pheej, hais tias puas yog qhib lub hnub Sunday surprise.
  5. Rau 15 xyoo, tej zaum hais mus mus tom lub khw hauv phau ntawv rau hnub xya. Hais tias lawv yuav tsis qhib rau hnub xya tus surprise (ua tsaug ntau Cov kev cai xiav!).
  6. Siv 20 cov ntsiab lus ua lub 3 taw tes tig.
  7. Rau ib tug laj ntxov caij nplooj zeeg tav su, taug kev mus rau hauv lub chav thiab taws qhov A/C. Yws tias tseem txias. Thaum tus poj niam hais tias, "ces yog vim li cas ho koj taws uas, ua dag" thiab tau kev tig, lauj xibnas qhov nqaij ntawd sov nws muaj rau ntawm cov couch. Ntsiab lus lawm yog nws tsis twb paub lawm koj puas tau nws mus txog rau ntau ntau lwm hnub.
  8. Qhib tau ib poom uas albacore qab dawb tuna thiab noj ncaj ntawm lub, txaj, thaum tsaus ntuj.
  9. Mus rau hauv lub chav ua noj thaum tus poj niam noj hmo, qhib tau cutlery dab txee thiab nias cov tais diav mus txog rau tus poj niam screams, "dab tsi yog koj nrhiav!"
  10. Nyob rau daim tshiab ua lag ua luam ntawv, nyiag muab ncig tsev: Hauv qab txag, hauv ncoo uas, hauv kas fes khob, nyob rau hauv nws lub hnab tawv pojniam, nyob rau hauv lub tsho tiv no twb, tsheb cov hnab looj tes compartments, lub pantry — txhua zaus koj yuav xav txog.
  11. Sau ntawv mus rau kev nkag blog hais txog koj tus poj niam.
  12. sawv os.
  13. Thaum koj taug txoj kev ntawm New York City, muab rau tus alert rau "crusty" khoom siv rau hauv av. Khaws ntsoov koj tus poj niam tshai tshwj xeeb, cuag li mus de tau ib tom rau pem thiab nug, "hmm, Kuv xav li cas uas?" (Yuav npaj rau tus poj niam rau lub cev ntsawm koj txhais tau hais tias nws yog ib qhov kev pab daim card no tiv thaiv kom tus thawj coj ntawm lub sniper los yog koj yuav pom koj tus kheej pw koj sab nraum qab rau cov kws kho mob hloov).
  14. Tsav ob zaug ib ncig lub chaw nres tsheb thiab nrhiav chaw. Koj paub tias koj twb yeej ntaus av them thaum koj tus tub los rau hauv lub rooj zaum nram qab yells, "Huag tsis! Nws ua nws dua!"
  15. Sau "saum toj kawg nkaus 10" uas tsis muaj npe 10 khoom.

===

Cuav xwm tus poj niam lawm:

Ob tug txiv neej mejyig tawm rooj mus noj su. Ib leeg hais sib, "Kuv cia plam ib lub ris hauv qab Freudian embarrassing lwm hmo ntuj."

"Ib Freudian tiab hauv qab? ko yog dab tsi?"

"Zoo, Thaum peb tas noj, lub waitress tuaj thiab nug seb peb nyiam peb noj mov. Kuv meant hais, ' Kuv hlub tus qaib mis’ tiam sis xwb kuv hais tias 'Kuv hlub koj ob lub mis'. Yog kuv txaj muag heev."

"Ah," tus neeg ua hauj lwm nqi teb. "Kuv muaj qhov qub tshaj plaws li rau kuv no lis xaus nrog kuv tus poj niam. Peb noj tshais kuv meant hais nws kis tau tus butter, tab sis xwb kuv screamed rau nws, ' Kuv lub neej puas koj!’"

</kawg>

Ntawv cim npe Technorati:

Kev tshwm sim ID 1023: “Qhov rai tsis ntsaws txee extensible DLL MSSCNTRS”

HLOOV TSHIAB (04/08/08): Kuv zoo li muaj qhov teeb meem no solved. Ntawm qhov hais kom ua kab, Kuv tau khiav "c:\windowssystem32lodctr /R" as per ib qhov rooj sib tham txog InstallShield teeb meem thiab uas pom muaj solved nws rau kuv.

Kuv tau pom tias lately, Kuv desktop/neeg rau zaub mov kiv cua tsis puv. Kuv paub tias nws siv los tua. Kuv nqa ib pliag saib seb nws pom tias cov tau lub neej VMware tau khiav ib zoo ib yam 20% siv rau ib lub CPU. Kuv ntsuam xyuas cov kev tshwm sim cav thiab pom cov uas tsis nyob hauv tus ntawv cav zom dozens ntawm lub sij hawm ib feeb:

Qhov rai tsis ntsaws txee extensible DLL UGatherer, tus thawj DWORD nyob rau hauv cov ntaub ntawv seem yog lub qhov rais yuam kev cai.

Qhov rai tsis ntsaws txee extensible DLL UGTHRSVC, tus thawj DWORD nyob rau hauv cov ntaub ntawv seem yog lub qhov rais yuam kev cai.

Qhov rai tsis ntsaws txee extensible DLL MSSCNTRS, tus thawj DWORD nyob rau hauv cov ntaub ntawv seem yog lub qhov rais yuam kev cai.

Yog hais tias kuv tau tho rau hauv cov lus uas yog ib cov lus, Kuv tau txais no:

Tau qhov twg los: Perflib

Hom: Yuam kev

Qeb: All

Kev tshwm sim ID 1023

Kuv puas tau tej kev tshawb fawb thiab yog ib txhia yeej nws yuav yog ib qho teeb meem tso cai ntawd rau tus DLLs nug txog. Kuv ua si nrog cov khoom ntawd tiam sis yuav tsis muaj feem xyuam rau yam nyob rau hauv ib txoj kev zoo li no kuv muab ntawm qhov uas.

VMware muaj lawm nagging kuv hais txog qhov ua tau zoo rau ib qho kev hloov tshiab heev ib zaug, vim li ntawd kuv jotted cia tus version kuv twb ntsia (thaj "1.0.1 tuam 29996") thiab ho hloov tshiab cov. Qhov no upgraded kuv mus v1.04. Sadly, nws tsis tau kho qhov no.

Kuv yuav nres insane coob sib yuav kuv daim ntawv thov cav yog kuv sib txuas qhov hu ua "VMware tso cai pab". Qhov no tsis pub kuv siv cov VMware software, thiaj li … tsis tas li tus poj xaiv.

Lub party operating system yog qhov rais XP 64 ntsis.

Kuv tsis xav tias qhov no tau tas sim, tab sis, kuv tsis nco qab lawm xyov tej kev tshwm sim uas yuav tau coj mus rau nws.

Qhov no yog vim li cas kuv ntxub computers.

</kawg>

Ntawv cim npe Technorati:

Ceev & Yooj yim: Rename Uploaded tej ntaub ntawv uas siv SharePoint kwv tus qauv ntawm ib cov Receiver Event

HLOOV TSHIAB: Qhov no xwb, tiam sis yog muaj teeb meem loj uas muaj nyob rau hauv cov lus muaj. Qhov no tseem yuav pab tau rau ib co cirumstances.

HLOOV TSHIAB 2: Nyob rau hauv kuv qhov project no, cov neeg siv yuav tsum upload ntaub ntawv. Yog li ntawd, Kuv tsis tau khiav mus rau ib qho teeb meem uas MS Word khiav khiav thiab xav tias tias cov ntaub ntawv yog renamed rau. Kuv puas tau khiav mus rau ib qho teeb meem, "cov ntaub ntawv yog hloov los ntawm lwm tus" thiab solved no ntawm tus chij hom lus semaphore. Cov neeg siv yuav tsum tau hloov meta cov ntaub ntawv teb nws vim nqi tam sim no los yog lwm yam. Lub itemupdated() receiver zoo rau ib tug siv tau nqi muaj ua ntej ua tau lub rename thiab txij thaum ntawd los, Kuv tsis tau muaj tej teeb meem. Koj nqi kev mus yuav txawv.

Kuv muaj ib tug neeg yuav tsum tau hloov lub npe ntawm cov ntaub ntawv rau lub tsev qiv ntawv tej ntaub ntawv los yoog tau nrog ib tug naming convention uploaded. API tsis muab "rename ib()" txujci. Xwb, peb siv "MoveTo(…)". Ntawm no yog qhov chaw cia me ntsis ntawm txoj kev yuav ua kom tiav no:

 pej xeem override khoob lug ItemAdded(SPItemEventProperties khoom)
        {
            SPFile f = zog.ListItem.File;

            f.MoveTo(zog.ListItem.ParentList.RootFolder.Url + "/xyzzy.doc");
            f.Update();

        }

Lub ntsis xwb lo yog cov "khoom. ListItem.ParentList.RootFolder.Url". Lub MoveTo() txoj kev yuav tsum tau ib qhov URL. Uas mashed txog cov ntsiab lus txoj hlua kuv rau cov hauv paus hniav sis ntawm kuv lub tsev qiv ntawv ntawv tam sim no. Qhov no pub rau kuv kom tsis txhob muaj zog coding nyob hauv kuv tej receiver.

Qhov no yog ib pab tau ntau version ntawd puas muaj qhov tib, tab sis, tus assigns lub npe ntawm cov ntaub ntawv rau lub "Title":

 pej xeem override khoob lug ItemAdded(SPItemEventProperties khoom)
        {
            DisableEventFiring();

            // Cob lub npe ntawm cov khoom no rau lub npe ntawm cov ntaub ntawv xwb.
 // CEEB TOOM: No ntus yuav tsum xyuas ua ntej peb hloov cov ntaub ntawv xwb.
 // Hu rau cov hloov tshiab() nyob rau hauv SPFile pom lawm hais tias invalidate cov khoom nyob rau hauv
 // tej kev txiav txim zoo.  Tshiab rau "Title" ua tsis tau tejyam kom txog thaum uas hloov (thiab hloov tshiab() hu)
 // tau tsiv pem lub taub hau ntawm kev hloov rau cov ntaub ntawv npe.
            zog.ListItem["Title"] = zog.ListItem.File.Name;

            zog.ListItem.Update();

            SPFile f = zog.ListItem.File;

            // Tau ncua ntxiv ntawm cov ntaub ntawv.  Peb xav tias tom qab.
 hlua spfileExt = tshiab FileInfo(f.Name).Extension;

            // Rename ntawv los sau yam tus ID thiab siv tau ua ntaub ntawv thov ncua ntxiv kom
 // tias ib feem ntawm nws lawm.
            f.MoveTo(zog.ListItem.ParentList.RootFolder.Url +
                "/" + zog.ListItem["TUS ID"] + spfileExt);

            // Kuas cov qhov nyuas siv zug.
            f.Update();

            EnableEventFiring();
        }

Rooj sab laj kev sib tham: Mus tswj kom zoo tshaj txoj cai hauv NTXHUAB tsis tseem tsis-ceeb ib puag ncig

Ib tug khub, "Mark", tau pib nce ib uas nthuav newsgroup tham ntawm kev "tsim kom yav tom ntej tej SharePoint los pib" rau ib tug 35,000 neeg ib puag ncig.

Kev sab laj ntawm no yog: http://groups.google.com/group/microsoft.public.sharepoint.portalserver/browse_thread/thread/6d9a738d981af772/1c390b15c5407db6?#1c390b15c5407db6

Pop rau saud thiab pab txhawb!

</kawg>

Kev cai nkaus URL tsis tso saib rau Feature tshiab

Kuv tseem nyob tus cwj pwm uas crafting kuv feature XML ntaub ntawv yog xuas tes ntxuav vim nws tseem tshiab heev tas rau kuv. Kuv tsis xav cia ib tug front-end uas ntawd puas khoom kuv tsis to taub (Nws hais tias nws tau sau ib tug tuaj txog blog uas siv ib tug uas nws tsis to taub).

Hnub no, Kuv twb sim ntxiv ib txog kev cai los ntawm tej chaw kawm ntawv, tiam sis nws cia li tsis tshwm. Kuv yuav nruab ib lub feature thiab pom nyob rau hauv lub qhov nta, tiam sis thaum kuv tshuab txais (tsis muaj kev ua yuam kev) nws tsuas tsis tshwm rau ntawm daim ntawv qhia zaub mov nco-down.

Pom tau kuv thaum kawg hais tias kuv misspelled "SharePoint" nyob rau hauv attribute qhov chaw nyob ntawm tus <CustomAction> ntawm. Qhov no nws yog ntawv phem elements.xml:

<?xml Version="1.0" encoding="utf-8" ?>
<Ntsiab xmlns="http://schemas.Microsoft.com/sharepoint/">
  <CustomAction
 Tus ID="SiteActionsToolbar"
 GroupId="SiteActions"
 Qhov chaw="Microsoft.Sharepoint.StandardMenu"
 Ib theem zuj zus="100"
 Npe="Nyob zoo!"
 Hauj lwm lawm="Tshuab raj ua kev cai txiav txim ntxiv ntawm ib feature."
 ImageUrl="_layouts/images/menuprofile.gif">

    <UrlAction Url="http://www.xyzzy.com"/>

  </CustomAction>
</Ntsiab>

Zoo:

<?xml Version="1.0" encoding="utf-8" ?>
<Ntsiab xmlns="http://schemas.Microsoft.com/sharepoint/">
  <CustomAction
 Tus ID="SiteActionsToolBar"
 GroupId="SiteActions"
 Qhov chaw="Microsoft.SharePoint.StandardMenu"
 Ib theem zuj zus="100"
 Npe="Nyob zoo!"
 Hauj lwm lawm="Tshuab raj ua kev cai txiav txim ntxiv ntawm ib feature."
    >
    <UrlAction Url="http://www.xyzzy.com"/>
  </CustomAction>
</Ntsiab>

That one took me a good two hours to figure out 🙂

Kuv yuav tsum solace nyob txog tias ib hnub yav tom ntej, Kuv yuav tau mus hais rau lub txim ua txhaum, "rov qab rau lub hnub, Kuv yuav tsum tau taug kev mais peb nce toj hauv cov daus (barefoot!) thiaj li deploy rau ib tug kev cai feature rau NTXHUAB. Koj cov me nyuam, koj tsis paub li cas easy koj muaj nws! • Get off kuv nyom!"

Yuav tos tsis tau.

</kawg>

Ntawv cim npe Technorati: ,

Blog Stats

Kuv xav tias ib txhia yuav xav hauv cov zauv statistics kuv blog. Koj siv tau kuv li ib benchmark piv koj tus kheej.

Kuv tab tom khiav kuv blog qhov rai nyob tej qhov chaw. Lawv sau stats rau kuv thiab kuv tsis paub txhua txoj kev tswj uas. Nws tseem zoo raws li qhov nws mus, tiam sis nws tseem haum txwv rau qhov hais tias kuv ua tsis tau ntau soj lus sij uas nws. Kuv yuav hlub, Piv txwv, tau tsim ib daim qhia txog kuv tseem pheej ntaus posts tab sis kuv tsis tau uas tsis muaj ib tug txheej txheem kev ceev prohibitive. Yog hais tias ib tug neeg paub zoo, thov qhia rau kuv.

Nyob rau tej qhov chaw raws li txoj cai qhia rau kuv: tag nrho hits rau ib hnub, tag nrho hits rau lub limtiam thiab tag nrho hits txij hnub xoom. Nws kuj qhia kuv seb puas tau rau kuv blog (e.g. google, Rooj sab laj qhov txuas MSDN, yam).

Nyob rau hauv ib txoj kev, "hit ib" yog cuab kev. Yog koj nyob nraum nyeem cov kab lus no yog tam sim no, tsum koj twb yuav luag yeej zwm ua ib tug tus hluas hit.

RSS yog ruam tag me ntsis. Rau ib teg, Kuv pom tias ib tug neeg RSS hits ib hnub. Tab sis npog, Kuv kuj pom RSS "sweeps". Ib tug cheb yog thaum kuv pom 20 los sis 30 RSS hits li ib los yog ob tug ob qhov rais. Kuv xav tias cov no yog tej yam suab zoo ib yam li google xyuas rau ntawm qhov chaw kuv, tej zaum lwm tus neeg browsers … tsis paub tseeb. Muaj ib txhia mas nws yeej zoo suab ntawv. Kuv tsis tau qhia, Txawm li cas los, coob npaum li cas ntawm kuv tag nrho hits yog caw kaw lus thiab ntau npaum li cas muaj ib cov neeg nyob sab nraud. Kuv xav twv li 100 hits ib hnub yuav tau caw kaw lus.

Rau cov zauv!

Kuv sau tau kuv thawj blog nkag rau July 27th, 2007.

Kuv tau sau li 60 Blog nkag txij thaum ntawd los, ntau tshaj 50 cov uas mus ncaj txheeb SharePoint.

Kuv yuav tau taug kom qab cov uas kuv hits nyob ib spreadsheet txhua hnub kawg ntawm lub Cuaj hlis pib.

Hli pib:

Thawj lub limtiam uas: Tag nrho Hits
Lub Kaum hli ntuj 1,234
November 2,162
Nqeg 3,071
Lub ib hlis ntuj 2008 4,253

Tag nrho cov nyiaj los ntawm lub hli

Lub hli Tag nrho Hits
Lub Kaum hli ntuj 6,620
November 11,110
Nqeg 13,138

Cov tias dej siab

Hom Tag nrho Hits
Zoo hnub 958
Zoo tshaj lub limtiam 4,253
Tag nrho Hits txij thaum hnub Zero 42,438

Kuv xav luag kuv’ Stats. Yog hais tias koj yuav tu koj li nyob rau hauv cov lus qhuab qhia, thov ua!

</kawg>

Ntawv cim npe Technorati:

Monday sawv ntxov Funny: “yog, yog, yog. Blah, blah, blah.”

Txog rau (6) xyoo dhau los, kuv cov plaub xyoo tus tub thiab kuv muaj menyuam upstairs ib Foundations channel "shark xawv" tshwj xeeb (tejzaum nws no ib). Nws hluas heev ntawm tus taw tes thiab kuv twb yuav tsum txhawj xeeb nws yuav pom yam yeeb yam zoo li no thiab seb nws yuav coj. Kuv tsis xav kom nws tsim, Piv txwv, yam tshwj xeeb tshai cov dej los yog tej yam blab rau nws cov phooj ywg thiab tejzaum nws ua kom nws me phooj ywg network kom tuaj nram crashing.

Foundations tuam haujlwm txais cov hom compound zoo heev. Nws yuav tsis hais txog kev tsim ib ntshai dab tsi, tab sis, theej los ua tej yam txawv li cas nws yog rau sharks los tua tib neeg.

Li ntawd, peb muaj nyob nraum menyuam thiab yog no scary yog raug tus mob no ib uas yog ib tug me ntxhais. Thaum foundations yog tsev tus yeebyam ntawm no, Kuv tus tub (uas ib txwm tau sob lawm kawg lawm), pog heev lawm. Kuv muab ib co nrov txog tej yam txawv li cas nws yog rau sharks los tua neeg, thiab tsis zoo npaum li cas tus ntxhais txom nyem yuav tsum xav tias. Kuv sim piav tias cov neeg zoo ntawm cov txheej xwm li thiab muaj zog heev rau nws. Txawm li cas los, Kuv tau misinterpreted nws excitement. Nws twb tsis txhawj xeeb txog tus hluas nkauj hlo. Xwb, thaum uas clapping nws ob txhais tes, nws qhia rau kuv, "Lub sharks hlub nws! Yeej zoo kawg li. Nws yog qhov zoo. Nws cov npau suav los muaj tseeb!"

Kuv xav tias qhov no yog kev lom zem heev, tab sis kuj heev disturbing. Nyob rau hauv ib tes, Kuv zoo siab heev — Txawm me ntsis zoo siab — Nws kuj yuav muaj empathic chim siab, ntoo khaub lig-hom ho tej zaum. Ua tib neeg, peb yuav tau los tsim peb "empathic leeg" li hais los koj mam li xaus li nyiam no txiv leej tub 🙂 On the other hand, nws puas yog hom khaub lig nrog rau ib hom uas yog seeb inimical mus nws lub cwj pwm. Kuv twb yeej chav uas muaj qhov no thaum lub cev siv tau cov lo lus "paradigm". Kuv tus tub khaws tom on uas thov ua kuv dab tsi uas meant.

Uas yog tsis tau tej kev yooj yim lo lus los piav rau ib plaub xyoos, tab sis kuv muab rau nws ib zaug. Thaum kuv xav txog lo lus "paradigm", Thomas Kuhn yog tsis far from kuv xav. Kuv tau nyeem Tus qauv ntawm cov kev Revolutions rov qab rau Lafayette thiab nws yuav zoo dua los yog kom tuaj, lo lus "paradigm" yog lub cev xeeb tub uas muaj cov ntsiab lus ntxiv rau kuv. (Tsawm tsawv thiab zoo li koj cov lo lus "sib cuag" tom qab sib hais ib lub suab Movie xov tooj qhia kuv qhov twg kuv yeej pom tus yeeb yam [Kuv xav tau phau ntawv zoo]; Kuv ib txwm hais rau kuv tus kheej, "HU!" tav twg kuv pom los sis hnov ib tug neeg uas hais tias "hu rau").

Xijpeem, Kuv sim piav rau nws ib cov txhais Kuhnian, hais tias nws yog "keeb kwm zog uas xav" tias nws yog ib tug "txoj kev xav nrog ib tug xov tooj ntawm built-in cov kev xav uas nyuaj rau txoj kev rau cov neeg nyob ntawd lub sij hawm." tau mas, koj tsis tau nrog lawv tham zoo li muaj 4 - xyoos, ces kuv sim rau successively txhais tau nws tej daim me me thiab txaus siab theej rau ntawm kuv tus kheej lawm raws li kuv ua tau li ntawd. (Kuv cia li paub tias ib tug neeg lwm kawm ntawv qib siab yuav saib xyuas kuv twb nyeem Kuhn!).

Kuv yuav cia li sov taus rau tus neeg ua hauj lwm thaum nws interrupts kuv. Waving tes nyob rau hauv kuv qhov kev taw qhia dav thiab tsis txhob noj nws ob lub qhov muag tawm lwm brutal shark attack, nws cia li hais, "muaj, yog, yog. Blah, blah, blah.".

So much for that 🙂

Thaum ntawd taw tes, Kuv txiav txim siab khiav tawm, rhetorically hais lus, zaum nram qab, thiab txaus siab rau menyuam tua tib neeg nrog kuv tus tub sharks.

</kawg>

Ntawv cim npe Technorati:

Mus saib saib raws neeg siv daim ID rau ib cov ntawv InfoPath

Peb muaj ib tug tsim daim ntawv InfoPath nrog ntau views txhawb ib tug tshiab txais ua haujlwm / cov txheej txheem rau nce. Thaum twg lub tuam txhab ntiav ib tug neeg tshiab, xyuas nws thiab lwm pab pawg tau noj nkaus (teeb them, pab kom cov ntaub ntawv tsim nyog, nrhiav ib qhov rooj, yam). Peb siv daim ntawv tab sis ib yam saib daim ntawv rau txhua cov kev tso cai.

Thaum no cov tuam txhab, feem ntau ntawm cov neeg muab kev koom tes rau sab kev ua lag ua luam no IT-txawj xav thiab ntse, thiaj li thaum lawv nkag tau rau daim ntawv, lawv tus neej ntawd saib yog tshuab ib "raj" saib cov nyees khawm ua tau rau lawv txog kev ua. Txawm li cas los, Peb xav tau los piv yam rau tus thawj tswj lub tshiab ntiav tus tib neeg. Tus neeg no yuav tsum tsis pom ib yam ntawm cov nws hais txog cov khoom. qhov tseeb, nws yuav tsum mus ntsib ib tug saib ntawm daim ntawv thiab twb tsis muaj ib qho kev xaiv seb lwm tus views.

Nyob rau hauv peb cov ntaub ntawv, uas nyiaj tso ncaj ncaj qha tus manager nyiaj tied rau hauv daim ntawv courtesy of ib hu rau selector (uas kuv kuv ib txwm xav kom koj hu rau tus "neeg picker" vim).

Cov kauj ruam muaj raws li nram no:

1. Nyob hauv cov qauv siv hom, mus cuab yeej-> Daim ntawv xaiv-> Qhib thiab kaw.

2. Xaiv "txoj cai".

3. Tsim ib txoj cai tshiab uas lawv ua yog "hloov mus saib" thiab nws tus mob leverages tus userName() muaj nuj nqi.

userName() rov qab los "leb hauv" neeg siv lub npe yog tus sau tsis tau. Yog hais tias kuv teev rau hauv cov SharePoint uas muaj peev xwm "domainpagalvin", userName() rov qab los "pagalvin".

Lub selector cuag muab khoom rau ib tug tiv tauj peb. "AccountID cov" yog ib feem tshajplaws rau no scenario. Tib qhov uas ua rau qhov no txawm yog me bit kev sib tw yog uas tus tiv tauj selector (hauv kuv lub chaw lawm) rov sau thiab cov neeg siv ID, raws li nyob rau hauv "domainpagalvin". Qhov no tsis pub peb ua ncaj nraim koob pheej ntawm lawv yuam txij AccountID ("domainpagalvin") yuav tsis tib userName() ("pagalvin").

Peb yuav tau nyob ib ncig ntawm no siv qhov "muaj" neeg tsav tsheb: AccountID muaj userName().

Peb yuav noj nws ntxiv thiab txaus-pend ib zog-coded sau pem lub taub hau tus userName() kev ua kom tau peb kev koob pheej ntawm lawv kos thiab tshem tawm ntawm ib tus cuav positive rau qhov muaj neeg teb xov tooj.

Peb yuav muaj yeej zoo li yuav hloov rau lwm cov neeg raws lawv AD ruaj ntseg pab pawg neeg koom. Piv txwv, Thaum ib tug nyob hauv cov "nws Analytics" pawg accesses daim ntawv, yeej hloov tau mus rau IT Analytics saib. Peb tsis muaj lub sij hawm rau nws siv, tab sis kuv cov thought thawj yog ua kom cov qhov Web site uas yuav muaj ib txoj kev zoo ib yam li cov "IsMemberOfActiveDirectorySecurityGroup", tshaj ntawd tus userName() thiab rov qab muaj tseeb los tsis tseeb. Puas muaj leej twg muaj ib yam, tswv yim ntse tshaj? Puas muaj tej nuj nqi SharePoint peb tau leverage ntawm InfoPath kom paub txiav txim ntawd?

</kawg>

Ntawv cim npe Technorati:

Ntawd muab cai los ua ib InfoPath; Txhob txwm tshaj tawm tshem nws

Thaum ua hauj lwm nrog cov nyees khawm rau ib daim ntawv, peb feem ntau ntau ntxiv txog cov kev cai. Koj saib tau cov cai editor los ntawm cov khoom ntawm lub pob.

Thaum txhaj ib ncig nrawm, Nws yog ib qho yooj yim uas ntawd nias rau "txawv daim ntawv Code" tsis muaj "kev cai …".

Thawj thawj zaug kuv ua qhov no, Kuv raug muab tso tseg ntawm qhov chaws editor. Txawm li cas los, thaum kuv sim luam tawm tsab ntawv me ntsis thaum lig, nws yuav tsum tau hais tias kuv luam tawm tsab li ib "daim ntawv tso cai khiav template (lawm)". Kuv tsis tau ua lus programming thiab kuv kiag li tsis xav mus txog ib txoj kev pom zoo ruaj. Kuv nyob hauv lub ceeb me ntsis hauv lub sij hawm thaum lub sij hawm xyuas. Yav tas los nws tuaj, Kuv cias huv ib tas los thaub qab thiab tseem. Kuv nyuam qhuav tau pom ib co posts uas hais txog cov neeg uas yuav nkag mus rau daim ntawv XML rau tweak yam thiab kuv yog ntshai kuv yuav tau ua tej yam zoo sib xws.

Hnub no, Kuv puas tau nws lawm. Lub sij hawm no, Muaj sij hawm ntau me ntsis rau kuv ob txhais tes thiab nrhiav tau tias koj tau yooj yim undo qhov no.

mus tom:

Caj-> Daim ntawv xaiv-> Lub cajmeem: "Tshem Code"

Nws tsis tau yooj yim npaum li ntawd.

</kawg>

Ntawv cim npe Technorati: ,