Hli Archives: Lub ob hlis ntuj 2008

Sunday Funny: “TSIS TAU EXPORT”

Rov qab los ncig 1998, lub tuam txhab kuv puas tau ua rau lub sij hawm tau txais tej nyiaj pab los ua qhov e-lag luam khoom tshiab. Peb muaj cov gamut daim ntawv qhia txog ntawm cov lag luam yuav tsum mus ntsib. Nws yuav tsum tau ceev, yooj yim rau cov neeg siv cov kev xaus, flashy, multi-Language, yam. Tu siab hais, Kuv ntshe tsis muaj li ib txheej nquag ua hauj lwm yuav ua kom tiav txhua hnub txij li thaum cov hnub uas koj heady.

Tos zog no tham Microsoft.NET. Dawb vanilla ASP yog tseem tshiab dog dig (yog kawg yog kawg txawv rau kuv niaj hnub). "Cib thiab tshuaj khib" doomed tuam txhab uas muag tau. Doomed! Qhov no yog hais tias nws yog pioneering ua hauj lwm. Tsis Hadron Collider pioneering ua, tab sis, peb nyob hauv peb lub neej me ntsis, Nws yog pioneering ua hauj lwm.

Peb twb vwm tibneeg hu tauj coob. Peb ua dabtsi mini POC tus yuav luag txhua txhua hnub, koj khom lub tsheb tawm npaum li cas los tuav lub xeev nyob rau hauv nruab nrab ib inherently stateless, koj khom lub tsheb tawm tej lus teeb meem, kab duas ruaj ntseg. Peb txawm tau tsim ib cov lus los txhais tau cov ntsiab lus uas yooj yim (Kuv xeev-pheej najnpawb, tiam sis vim, qhov ua tau txawv txawv "statefull" yeej muaj ib hnub).

Raws li peb tau madly inventing cov khoom no, neeg li cas thiab muag tau tias muaj ua muag rau nws. Cas, lawv muag rau peb tus npau suav phem scenario tswj. Txawm tias peb twb vim thiab siv ib cov tshuaj enterprise, peb yeej tsis xav kom cov thawj neeg siv txhua hnub peb los ua rau cov khoom hnub xoom feature. Cov neeg no yuav tsum tau tej lus, ib interface neeg radically sib txawv ntawm "txuj hauv" lawv tab sis nrog cov lag luam logic tib. Tej lus ntawd nyuaj tshaj qhov no, vim peb ib txwm teem rau lus Mev los sis Fabkis, tab sis qhov no, Nws yog suav (Nws yog ib lub cim ob-byte teev thiab yuav tsum special tuav tau lub tshuab uas peb siv).

Sai rau tom ntej ob peb lub hlis thiab kuv nyob hauv ib Northwest airlines davhlau rau Beijing. Kuv twb tau no tibneeg hu tauj coob npaj yuav mus no txawv tebchaws uas kuv yuav luag tsis muaj lub tswv yim ntawd yog dabtsi xws li mus muaj. Kuv tau nyeem ib phau ntawv ib zaug txog li cas ib tug neeg Miskas lawm hauv Tuam Tshoj ob peb lub xyoo thiab muaj kawm lus. Muaj ib hnub nws mus kev lub nroog thiab kom koj ib txhia lus qhia. Cov kev sib tham mus dab tsi qhov no:

  • Miskas: "Ua koj tau qhia kuv yuav ua li cas thiaj [XX] txoj kev?"
  • Suav: "Thov txim, Peb tsis paub lus Askiv".
  • Miskas: "Huag, zoo kuv hais Mandarin." thiab nws nug lawv dua rau suav, tab sis ntau kom meej meej (nws yuav zoo tshaj plaws li).
  • Suav: Lolus heev, "Thov txim, Peb tsis paub lus Askiv".

Cov kev sib tham mus ua li ntawd rau ntsis thiab cov American tiaj hauv siab. Raws li nws tau tawm hauv lawv nws overheard ib tug txiv neej uas hais lus rau cov, "Kuv kuj yuav muaj sworn nws twb hais qhia rau [XX] txoj kev."

Kuv tau khaws ob peb cov khoom thiab tej daim lwm yam hais txog Tuam Tshoj quasi-qhia thiab "pab tswv yim yuav pab tau":

  • Ib tug Korean puag ua haujlwm qhia rau kuv paub tias qhov kuv qhia kom ceev faj txog suav vim "lawv xav ua kom tau kuv drunk thiab noj kom zoo dua koj" nyob rau hauv lub siab tus pressuring kuv rau hauv cov kev txiav txim siab phem ua lag luam.
  • Peb yeej tsis muaj cai tsav tsheb (muaj tug tej feeb tsis meej raws li tau hais tias qhov no yog ib tug nchuav, muaj txoj cai yuav tsum tau los yog vim tus neeg ntawd txoj cai).
  • Muaj kev tshwj xeeb txoj cai rau kev mus los ntawm tej kev lis kev cai.
  • Peb twb tsis pub siv cov American nyiaj rau tej yam.
  • Koj nyob nraum tsis tsum tawm tswv yim. Nws yog insulting yog hais tias koj ua tau.

Thiab thaum kawg, Kuj yog tshiab tshiab puas tau kuv tus Tiananmen tua neeg pov tseg. Thaum kuv muaj ntawm kev kawm ntawv qib siab, Kuv nco ntsoov mus ntsib real-time Usenet postings li lub ntiaj teb saib hauv ntshai heev.

Hauv ntej, Kuv twb daws poob siab loj heev. Kuv tsis yog cia li qub-tshee nyob rau qhov kev txiav txim zoo uas kuv tau delivering kho uas yog txiav txim of magnitude nyuab tshaj txhua yam uas kuv yuav tsum tau ua ua ntej. Kuv twb tseem ntshai tsam txhaum ib txoj cai uas yuav tau kuv teeb meem ntawd.

Kuv nyob ntawm no 14 teev davhlau thiab tab sis yog nws yog kev kawm ua lag ua luam, 14 teev yog ib lub sij hawm ntev damned. No xwb thiaj li muaj ntau txoj kev uas mus lom zem koj tus kheej los ntawm kev nyeem ntawv, menyuam tsos los ua si nrog cov magnetized cutlery. Txawm tias yeej zoo phau ntawv yog ib qho nyuaj rau cov nyeem rau ob peb teev ncaj.

Nws thiaj li, Kuv pib nyeem cov khoom ntim rau hauv ib daim software uas kuv tau tes-nqa nrog kuv mus rau tus neeg, Neeg rau zaub mov web Netscape tus. Kuv nyeem ntawv yuav tsum kho vajtse/software, li cas rau cov blurbs, saib rau ntawm cov duab zoo nkauj thiab mam li nco dheev, Kuv zero ntawm tus neeg loj heev "tsis rau EXPORT" ceeb toom, tej yam hais txog 128 tom encryption. Kuv cov khoom ua si rau ntawm lub box rov los rau hauv kuv lub hnab raug, lus ceeb toom ntsej muag-down (xws li yog cov uas yuav muaj pab) thiab cia visions of tried Ib tag hmo Express tawm ntawm kuv lub taub hau.

Rov ntsia tom qab rau nws tam sim no, Kuv yuav tsum tau txhawj xeeb, yog kiag li, Thaum twg kuv nco teb chaws, tsis thaum kuv twb yuav mus Tuam Tshoj 🙂 untoward dab tsi tshwm sim thiab kuv tseem xav tias yuav tsum ua hauj lwm zoo thiab tsim nyog nco tshaj nrau kuv twb muaj lub Library uas txiav txim siab.

</kawg>

Subscribe rau kuv blog!

Ntawv cim npe Technorati: ,

Kua: SPQuery tsis nrhiav Folders

Yav tas los lub limtiam uas kuv tau siv lub tswv yim no muaj "evolving" muab rau ib tug neeg uas siv cov BDC thiab cov SPQuery thiab khiav rau tej teeb meem siv SPQuery rau ib daim ntawv uas muaj folders. Ntxaib: cob "recursive" mus saib attribute rau cov lus nug.

Kuv scenario:

  • Hnub Monday, Upload ib daim ntawv thiab muab tej ntaub ntawv no meta.
  • Lub lim tiam li nram no, Kuv upload ib daim ntawv tshiab. Ntau yam ntawm cov ntaub ntawv meta no daim ntawv tus tshiab raws li daim ntawv kuv busy uploaded (uas peb hu tus "npaj ntaub ntawv").
  • Peb thiaj tau tsim lub Web site pab façade uas muab hauv BDC interface rau daim ntawv kom cov neeg siv tau yooj yim nrhiav ntawd hnub ib daim ntawv ntawm lub npe nrhiav.
  • Ib tug ncej tag BDC tej ntaub ntawv qhia tus neeg siv tus phooj ywg interface. (Qhov no yog ib feem ntawm kuv los kom siv BDC rau sab Lookup ntau tus phooj ywg).

Qhov kawg BDC façade kev siv ib cov lus nug li no ua rau lookup:

 // Siv U2U tuam mus pab generating qhov lus nug no CAML.
      oQuery.Query =
        "<Nyob qhov twg>";

      Yog hais tias (titleFilter.Length > 0)
        oQuery.Query  =
          "  <Thiab>";

      oQuery.Query  =
        "    <Thiab>" +
        "      <Geq>" +
        "        <FieldRef Name = yog muaj "DocumentId" />" +
        "        <Value yam = yog muaj "Text">" + minId + "</Tus nqi>" +
        "      </Geq>" +
        "      <Leq>" +
        "        <FieldRef Name = yog muaj "DocumentId" />" +
        "        <Value yam = yog muaj "Text">" + maxId + "</Tus nqi>" +
        "      </Leq>" +
        "    </Thiab>";

      Yog hais tias (titleFilter.Length > 0)
        oQuery.Query  =
          "    <Muaj>" +
          "      <FieldRef Name = yog muaj "Title" />" +
          "      <Value yam = yog muaj "Text">" + titleFilter + "</Tus nqi>" +
          "    </Muaj>" +
          "  </Thiab>";
      oQuery.Query  =
        "</Nyob qhov twg>";

Thaum pib txog theem ntawm kev loj hlob, qhov no ua haujlwm great. Txawm li cas los, peb nkag tau folders rau hauv cov directory yuav kom daws tau tej teeb meem no thiab mam li nco dheev, Kuv tus BDC picker tsis rov qab muaj ntsiab. Kuv tracked no mus ua tus Disease fact tias tus SPQuery yeej tsis rov muaj ntsiab. Peb siv folders los pub ntau yam ntaub ntawv uas muaj lub npe qub los yuav uploaded tab sis meta tej ntaub ntawv uas muaj neeg. Thaum cov ntaub ntawv yog uploaded, peb yuav tsim ib tug ntawv tais ceev tseg raws li daim ntawv teev khoom tus ID thiab mam li tsiv ntawv muaj (Kuv thiaj sau txog ntawd ntawm no; peb twb muaj mixed ntsuam cov kauj, tiam sis ntawm tus kheej, nws zoo zoo). Tus neeg siv tsis care txog folders thiab tiag, tsis tshua to taub tias muaj ntau yam folders. Peb muaj configured tag nrho cov kev views rau lub tsev qiv ntawv los qhia cov khoom s. folders.

Kuv ntaus cov teeb meem no ob zaug raws li cov kev siv evolved thiab solved nws txawv txhua sij hawm. Thawj thawj zaug, Kuv tsis yog siv tus neeg teb xov tooj CONTAINS rau cov lus nug. Tsis muaj ib tug neeg tsav tsheb CONTAINS, Kuv txawm yuav kom daws tau qhov teeb meem los ntawm specifying cov pom hauv lub SPQuery contructor. Tsis txhob siv lub neej ntawd constructor:

Splist.Update() oList = Web site.Teev["Cov ntaub ntawv"];

SPQuery oQuery = tshiab SPQuery();

Kuv txhais xwb ib constructor uas teev ib saib:

Splist.Update() oList = Web site.Teev["Cov ntaub ntawv"];

SPQuery oQuery = tshiab SPQuery(oList.Views["Cov ntawv"]);

Solved qhov teeb meem ntawd thiab yog tau txais kuv tau.

Ces kuv ntxiv hom kab mob tus neeg teb xov tooj CONTAINS ua tus ntse thiab raug dua. Nws puv tawm uas tus neeg teb xov tooj CONTAINS, thiaj li yuav paub kuv, tsis ua hauj lwm nrog rau cov saib tau ib yam nkaus li rau ib cov zauv GEQ / Tswv LEQ. Kuv tau ua ib co searching thiab kawm tias ViewAttributes cov lus nug yuav tsum muab teev cia rau cov "Recursive", raws li nyob rau hauv:

oQuery.ViewAttributes = "Tau = yog muaj"Recursive"";

Uas solved qhov teeb meem rau CONTAINS. qhov tseeb, qhov no kuj solved kuv yuavtsum nrhiav teebmeem thiab yog hais tias kuv yuav tsum teev cov recursive attribute thawj zaug, Kuv yuav tsis tau khiav mus rau hauv lub qhov teeb meem dua.

Tus fact SPQuery Saib kuas rau qee tus tswv xwb (GEQ/LEQ) thiab tsis yog lwm leej lwm tus (MUAJ), coupled nrog cov fact KPIs tsis zoo li mus ua hauj lwm txhua nrog rau nplaub tshev uas muaj ntaub ntawv qiv leads kuv ntseeg hais tias SPQuery muaj tej qhov teeb meem txog orthogonality.

Tsaug tshwj xeeb:

  • Tus zoo folks tom U2U thiab lawv cov lus nug cuab tam.
  • Michael Hoffer tus poj "kev kawm tau los ua" Blog ncej, lus thiab cov lus teb.

</kawg>

Subscribe rau kuv blog!

NTXHUAB KPI kab laum? Daim ntawv teev qhia tau rau daim ntawv qiv nrog Folders Tied

HLOOV TSHIAB 02/29/08: Kuv solved qhov teeb meem no los ntawm kev tsim ib tug ntawv tais ceev tseg thiab mam li muab ib yam txheej rau tus ceev uas muaj cov ntaub ntawv meta kuv yuav tsum tau rau cov KPIs. Kuv piav ntawd nyob me ntsis ntxiv nthuav dav ntawm no.

Peb DVR muaj kev tov uas cov neeg siv upload ntaub ntawv rau ib daim ntawv qiv. Ib qho kev tshwm sim receiver tsim ib directory thiab lawm cov ntaub ntawv ntawd directory (siv ib tug txheej txheem xws li yuav ua li cas kuv thiaj sau txog ntawm no). Peb twb ntse navigated ib ncig ntawm tej teeb meem los ntawm receivers kev tshwm sim uas rename uploaded ntaub ntawv (mas vim cov neeg siv yeej pib cov ntaub ntawv los ntawm txhaj rau "New" tab sis, tsim tus docs Senior xwb thiab mam li upload nws).

Cov ntaub ntawv meta rau cov ntaub ntawv muaj xws li ib tug yog/tsis muaj kev kawm ntawv Kem no hu ua "Urgent" thiab lwm qhov chaw sab hu ua "Txoj cai". Peb yuav tsum mus ntsib ib lub lag luam yuav tsum tau uas muaj qhov feem pua ntawm "Urgent" cov ntaub ntawv cov txheej xwm uas nws tsis tau "Tiav".

Qhov no yog qhov yooj yim mas yuav tau ua thiab kuv yuav piav ib yam dab tsi heev npaum li no nyob rau SharePoint Beagle Cov vijtsam txhaj tshuaj yog hais tias koj xav ntau ntau.

Nyob rau hauv ib lub nutshell, Kuv puas tau qab:

  • Ua kom muaj tus saib ntawm daim ntawv hu ua "Tseem tos seb" doc.
  • Configure tus saib yuav las mees nplaub tshev qauv.
  • Tsim ib daim ntawv teev KPI.
  • Tsim ib qhov kev taw qhia rau hauv daim ntawv teev cov ntsiab lus los ntawm doc lib thiab uas "tseem tos seb" saib.

Qhov no tsuas tsis ua hauj lwm. Tus KPI yuav qhia kuv cov phiaj (e.g. 5 cov ntaub ntawv ceev) tab sis nco ntsoov qhia tseeb pes tsawg tus ceev cov ntaub ntawv li xoom. Paradoxically, Yog hais tias koj mus ua kom paub meej tho, Nws pom tias cov ntaub ntawv ceev tsib nyob rau hauv daim ntawv. Kuv tsim ib scenario yooj yim heev uas muaj ntaub ntawv ob, ib lub sis thiab ib tug tsis. Ntawm no yog qho screen txhaj:

duab

Txhaj tshuaj ntsuam saum toj no kom meej meej pom tias muaj cov ntaub ntawv uas nyob hauv qhov pom tab sis "tus nqi ob" yog ib tug. "CamlSchema cov" nrog rau cov ntaub ntawv dawb paug Id hauv lub hauv paus ceev thiab tsis sib hauv ib nplaub tshev npe hu ua "84".

Nws zoo nkaus li rau kuv tias txawm koj hais ib tug saib kom meej, tus KPI no tsis tsim cov "qhia tag nrho cov khoom tsis muaj folders" qhov chaw kawm thiab xwb, nws tus kheej mus rau lub hauvpaus ceev confines.

Yog kuv tsis ncaj ncees lawm, thov xa kuv ib tug kab los yog cia ib tug saib.

</kawg>

Subscribe rau kuv blog!

Ntawv cim npe Technorati:

SPD Workflow “Sau cov ntaub ntawv los ntawm ib tug neeg”: Hloov daim ntawv ua hauj lwm Generated

Kuv yuav ua hauj lwm rau ib tug yog ib qhov uas siv tsib txawv SharePoint Designer haujlwm tsev tswj tau tej ntaub ntawv approvals. SPD muaj cov "collect ntaub ntawv los ntawm ib tug neeg" ua kom peb tau kiag rau cov khoom sib txawv ntawm cov lus qhia tus neeg siv, xws li seb lawv pom nws, ib co lus thiab tej zaum hais li cas lawv twb noj hmo qhov tsaus ntuj.

Muab cov ntaub ntawv yog haumxeeb txig. Nws yog tied rau ib daim ntawv teev neeg ua hauj lwm raws li ib yam txheej. Lawv yuav 100% lawv-generated. Qhov no yog lawv lub zog thiab tsis muaj zog. Yog peb tau nyob lub neej ntawd daim, ces peb txawj mus. Txawm li cas los, Peb tsis muaj ntau tswj li cas SPD tsim daim. Yog peb tsis nyiam tus cwj pwm vim, Peb xav tau no los ntau tricks mus ncig (Piv txwv, qhov muaj feem thib rau kev ua hauj lwm ib).

Kuv yuav tsum tau muab ib qhov txuas rau cov ntawv ua hauj lwm uas qhib mus rau tus saib zog (dispform.asxp) ntawm qhov "lwm yam khoom" nyob rau hauv lub qhov rais tshiab. Daim ntawv thiab muab ib-nias siv cov ntaub ntawv rau meta yam rau lwm yam khoom. Qhov no yog kuv txhais li cas:

duab

Thankfully, peb yuav ua tau thiab yeej tsis nyuaj heev. Benefit hais lus, hluav taws tuaj SPD, next rau cov directory vaj tse cov ntaub ntawv workflow thiab qhib cov ntaub ntawv ASPX koj xav kom hloov tau txoj kev. Cov no yog ib qho uas nyuam qhuav classic XSL transform qhia thiab yog hais tias koj twb mucked rau itemstyle.xsl, mus nrhiav haujlwm los yog lwm lub scenarios XSL, qhov no thiaj li yooj yim rau koj. qhov tseeb, Kuv pom tias nws yuav yooj yim dua feem ntau vim yog daim generated dog dig yooj yim raws li as compared to muaj ib tug nrhiav tub ntxhais tau Web site qhov (los yog cov nightmarish CWQP).

tau mas, yog ib qho loj pitfall. SPD lub workflow editor expects tas nrho tswj tej ntaub ntawv ntawd. Yog hais tias koj hloov nws, SPD yuav kaj siab lug overwrite koj muab txoj cai tso yam hloov. Kuv puas tau ob ceev kev phem li no yuav tau. Nkawd ob leeg presuppose crafted tias koj yeej muaj siv tau SPD workflow uas siv cov "collect ntaub ntawv los ntawm ib tug neeg" kauj ruam.

Xeem 1:

  • Qhov ua ntaub ntawv thov ASPX hloov ntawm tes.
  • Kuaj nws (paub tseeb tias koj yuav hloov tau zoo rua thiab tsis txhua yam tu).
  • Qhib tau lub workflow thiab ntxiv cov ncaj luag (xws li "cav yav dhau los").
  • Txuag lub workflow.

Ntog: Qhov no, SPD cas tsis rov tsim daim ntawv.

Xeem 2:

  • Ua tib yam li #1 tsuas yog ncaj qha mus hloov qhov "collect ntawv los ntawm ib tug neeg" nkaus.

Ntog: Qhov no rov tsim daim ntawm kos, sau koj hloov lawm ntau tshaj.

Kawg sau ntawv:

  • Yam tsawg kawg yog ob tug SPD es tsim ntaub ntawv zoo li no: "Sau ntaub ntawv los ntawm ib tug neeg" thiab "Cob ua yam". Ob yam no’ cov ntaub ntawv yuav muab manually hloov.
  • Kuv yog Meskas kuv txuas rau dispform.aspx vim, qhov no, relate yam khoom no yuav tsum muaj cov ID kos rau qhov tus muaj feem xyuam khoom URL. Kuv twb tau extract nws thiab ces lawv muaj ib <ib tug href> raws li nws muab cov nias ib meta ntaub ntawv feature. Yog nws tsis pom hais tias koj qhov URL raws li txoj cai no. Tej zaum yuav muaj lwm txoj kev kom tus ID rau lwm yam khoom no tab sis kuv tsis tau hla tus choj, thiaj li tsis paub tias yog tuaj sab tod los rau lub chasm.
  • Kuv ho tsis soj ntsuam, tab sis kuv yuav tsis yog tag yog tias muaj tej hom template ntaub ntawv rau lub 12 nas muv uas kuv yuav hloov mus li cas SPD generates lub neej ntawd tuaj rau (npaum li peb yuav hloov tau ceeb toom templates).

</kawg>

Subscribe rau kuv blog!

Ntawv cim npe Technorati: ,

Yog “Tsis paub yuam kev” Lus zoo tiag tiag li ib pawg tej qhov cim tseg?

Kuv tau nyeem Madhur txoj blog ncej yuav ua li cas pab pawg ib txoj lw lus thiab tam sim no kuv tabtom wondering: vim li cas ho tsis peb ib txwm qhia ib pawg tej qhov cim tseg?

Leej twg tuaj nrog tus cai thiab peb yuav ua nws cov ntawv vim li cas?

Kawg cov neeg siv yuav paub tej yam tsis yog nyob rau hauv rooj plaub yog lawm. Tsawg nrog ib pawg tej qhov cim tseg, lawv yuav nias tswj-printscreen, daim ntawv/muab tshuaj rau ib tug thiab tuaj xyuas nws. Uas yuav qhia meej txo lub sij hawm thiab dag zog yuav tsum tau yuav kom daws tau qhov teebmeem.

</kawg>

Ntawv cim npe Technorati:

Hnub xya (Embarrassing) Funny: “Kuv npe hu ua Paul Galvin”

Ib Rev xyoo dhau los, kuv thawj kom kuv qhia ib cov neeg siv ntawm ib yam khoom uas hu ua tau. Tau yog ib tug neeg qhia txog cov tuam kawg. Nws yog analogous roughly SQL neeg rau zaub mov qhia txog qhov kev pab los sis siv lead ua. Thaum lub sij hawm, Nws yog tsim los khiav rau ntawm cov hlab ntsuab (e.g. Wyse 50 terminal) txuas nrog rau ib lub thawv Unix ntawm telnet.

Kuv lub neej ntawd teb lo lus nug uas pib ntawm "tau koj … " yog "muaj" yog qhov chaw uas txhua qhov teeb meem pib.

Tus neeg ntawd ib tshuaj lag tawm nyob rau yav qab teb California thiab xwb li tus qhwv tau ib qho loj ERP siv raws li tau muaj Lub QAD MFG/PRO. Lub hom phiaj yuav siv tam sim no hu ua rau qhov xyaum hwj huam kawg cov neeg siv ntawm lub ntsiab yam khoom.

Kuv tsis yog ib tug neeg ntawm no uas loj thiab muaj cuab kav tsis kawm leej twg los ua ntej. Txawm li cas los, Nrhiav tau tus nab npawb ntawm lwm cov hoob kawm thiab tau ceev rau kuv txhais ko taw, li ntawd, kuv twb tsis txhawj xeeb thiab. Dennis, cov qhabnias txij real full-time, yuav tsum muab kuv nws txoj kev kawm ntaub ntawv. Rov ntsia tom qab rau nws tam sim no, Nws yog absurd heev heev. Kuv tsis paub tias cov khoom zoo, tau tsis tau thawm xyoo kawm rau nws thiab muaj yeej ib txwm tsis qhia nws. Yam lag luam twg kuv muaj leej twg los ntawm nws kawm?

Rau cov nyom yam logistically, Kuv twb hais kom koj tos nyob Chicago raws li ib feem ntawm ib muag tos khu raws li. Lub tswv yim yog ya tawm hauv New Jersey, mus rau Chicago, raws li ib teev uas muaj prospect thiab ces mus rau California.

Qhov tshij, Kuv tau mus Chicago thiab rau txiv leej tub muag rau kuv pab tau ua tej yam yuam kev thiab tsis paub tseeb hais tias lub rooj sab laj. Li ntawd, Kuv kuj thiab lub prospect tsis muaj. Txaus. Kuv av. lawm thiab tseem hnov CA. Qhov chaw nyob txoj kev no, Kuv paub tias tus neeg muaj kev kawm tsawg tshaj 24 sij hawm ua ntej kuv tuaj txog ntawd "Paul Galvin" yog qhia rau cov hoob kawm, Dennis tsis. Tus neeg hlub Dennis. Lawv xav paub "uas yog tus neeg no Paul Galvin?" "Vim li cas thiaj yuav tsum tau peb ntseeg nws?" "Vim li cas thiaj yuav tsum tau peb them rau nws?" Dennis obviously tsis sau npe yuav rau kuv "muab cov xov xwm phem thaum ntxov" philosophy. Txaus.

Kuv txog ntawm lub tshav dav hlau thiab incredibly ruam vim, Kuv yuav tsum ntsuam xyuas kuv nra. Kuv muab nws rau LAX tab sis kuv lub nra ua tsis. Rau kuv, poob nra zoo heev li mus cov 7 theem ntawm kev tu siab. Nws thiaj li kuv ua rau lub tsev so, muaj tsis muaj lub nra, nkees, tshaib plab thiab wearing kuv (lawm los, crumpled heev) ce ua lag ua luam. Nws yuav siv sij hawm ntev mus taug kev los ntawm Newark — mus O'Hare — rau ib tug neeg — rov qab mus O'Hare — thiab thaum kawg yuav LAX.

Kuv thaum kawg nrhiav kuv zaum hauv lub tsev so chav, munching rau ntawm ib lub bar snickers, sab lim thiab nyiam rau nruag pem lub zog mus luam theej duab los ntawm cov kev cob qhia khoom tawg yooj yim dua kom kuv txhob saib lub nroog Yeiuxalees kiag pem lub taub hau rau cov chav kawm ntawv. Qhov no yog taw tes rau kuv uas tsis muaj me ntsis lub sij hawm.

Kuv sawv tau ib hnub tom ntej, cas kuv tiag kom du tawm kuv ce kom kuv saib tsis nyiam Willy Loman ib hnub phem thiab taws rau lawm rau tus neeg. Li no, feem ntau yog hais, nyob hauv ib tug neeg nws tau zoo, paub cai thiab qab ntxiag heev. Qhov no sawv ua zoo ib stark kom nws npau taws heev emails/voicemails ntawm lub hnub dhau los. Nws ua kuv txog 3 mais mus tsev tom qab lub tsev kom txwv ib sectioned so cheeb tsam hauv lub giant tshuaj warehouse uas peb yuav muaj cai hoob kawm tau peb hnub tom ntej. Tus 15 los sis 20 cov menyuam maj mam dhos, feem ntau lawv tseem expecting Dennis.

Kuv ib txwm pib kuv lub hoob kawm los ntawm kuv tus kheej plaug, muab tej keeb kwm yav dhau los thiab sau ntawv rau kuv cuag ntawm lub Rooj Tswjhwm Saib cov dawb. Thaum kuv hais tias, "Good ntxov, kuv npe yog Paul Galvin", Kuv sau kuv npe, email thiab xov tooj tuaj rau ntawm lub Rooj Tswjhwm Saib dawb rau cov tsiaj ntawv loj loj li ntawd sawv daws yuav pom meej. Kuv chaw nyob Disease fact tias kuv yuav hloov Dennis thiab kuv paub tseeb tias lawv hais tias kuv yog ib tug qha, yam. Kuv tau sawv daws luv luv qhia kuv yog vim lawv lub npe thiab lawv nyiam li cas after tawm hauv cov chav kawm ntawv uas kuv tau kws txiav ris tsho yam rau lawv cov kev cai thaum kuv cog qoob loo. Cov khoom li ib txwm.

Peb muab qhwv uas thiab hluav taws tuaj rau projector. Kuv mus lwv kuv pab ntxiv yog cuag thiab … Kuv twb sau nws mem. Kuv tau txaj muag ces. Hauv kuv lub qhov muag tus siab, nws zoo li no: Yog qhov no "Paul Galvin" ib tug neeg, kev hloov xeem feeb rau peb nkawv Dennis. Nws looj yog rau ib tug crumpled tuaj ua lag ua luam ce thiab unshaven. Nws twb cia li sau ntawv nws lub npe loj loj ntawv ntawm peb pawg dawb hauv mem. Tus twg pom!

Nws cov twb kaj siab lug, Txawm li cas los. Qhov no yog ib lub tshuaj, thaum kawg no. A grizzled veteran ho rho ib yam dab tsi tawm ntawm txee thiab, tej zaum yog ua txhaum txog EPA kev cai, cleared lub log. Kuv yuav tsum tswj 1/2 nruab hnub ntej cov chav kawm ntawv thoob plaws hauv lub chav thiab lawv tau muab kuv xyuas zoo kawg. Kuv "pinch hitter cemented no" lub koob npe nrov ntawm kuv lub tuam txhab. Kuv lub nra los txog thawj hnub, li ntawd, kuv muaj presentable ntau npaum li cas hnub ob thiab peb.

Raws li kuv tau soj ntsuam qhov muag liab liab qab hauv tsev, Kuv twb ntsia "tshooj lus kawm". Muaj ib contemplate kom txaus. Kev sib txuas lus yog qhov tseem ceeb. Qhia cov neeg tau txog cov kev hloov hauv txoj kev npaj. Tsis txhob puas saib koj lub nra rau lub tshav dav hlau yog tias tejzaum nws zam tau. Nqa spare "khoom" Thaum koj nrhiav tau koj lub nra thiab nws tsis ua. Kuv xav tias cov zaj lus qhia tseem ceeb tshaj plaws kuv kawm, Txawm li cas los, yog qhov no: yuav ntsuam xyuas tus marker hauv sab xa kaum ntawm ib pawg tswj hwm dawb ua ntej sau ntawv, nyob rau hauv cov tsiaj ntawv loj loj, "Paul Galvin".

</kawg>

Ntawv cim npe Technorati: ,

Kev xaav: SharePoint vs. tus loj Hadron Collider

Vim ib co oddball United Airlines flights kuv muab rau lub mid 90's, Kuv cas twb nrog rau ib qho kev txia "tsis siv mais" ua li lub teb dawb magazine subscriptions. Ntawd yog li cas kuv twb tuaj subscribing rau Scientific American magazine.

Li software / noj yug haus rau cov neeg, peb raug cov lag luam yuav tsum muaj ntau nyob hauv peb hauj lwm. Tus ntau tshaj, peb hlub ntsib cov kev cai thiab qhov tseeb, Nws yog tej zaum vim peb xav tias cov hauj lwm no yog qhov zoo tshaj plaws nyob hauv lub ntiaj teb. Kuv puav xav yog vim dab tsi nyob hauv lub ntiaj teb yuav kuv tau nrog kuv tus kheej yog hais tias kuv yuav tsum tau yug ntawm lwm lub sij hawm nyob hauv keeb kwm. Txaus ntshai li cas nws yuav mus tsis tau tawm on yam hauj lwm uas kuv tau ua tam sim no, Thaum no lub sij hawm thiab qhov chaw nyob hauv ntiaj teb no yav dhau los? kuv xav li: zoo nkauj heev tas zog.

Xyoo, tej yam uas yuav tsum tau muag kuv tau yooj yim heev rau yus. Txoj SharePoint khoom, lub tsev cov qhov web xyuas txog kev coj raws li cov qhov web-hauv tshuab, txoj BizTalk orchestrations thiab cov zoo li. Peb tau txhua yam (hopefully) saib tau hais khov kho rov rau peb tej hauj lwm thiab hais, "muaj, uas yog ib tug nyuaj los daws kom tau, tab sis thaum kawg kuv pwned ntawd sumbitch!" Tsis tau zoo, nyaav heev tshaj nthuav thiab fun await.

Kuv tej xav tias kuv xav tau kev, hauv no hwm, Yog nqus zoo nkauj thiab kuv zoo siab zoo nkauj uas nws (tab sis yog kuv paub kuv tus poj niam yuav tsis nkag siab 1/20th ntawm nws). Tab sis lub lim tiam no, Kuv tau nyeem ib tsab xov xwm txog cov Loj Hadron Collider nyob hauv kuv Scientific American magazine thiab muaj ib yam ntawm cov humbling tsawg moments pom tau qhov chaw uas kuv hais tias txawm loj kuv "heev" raws li txoj cai hauv cov voj los sis deep cas kuv xav tias kuv cov dej uas, muaj cov giants tiag nyob rau lub txawv kiag li worlds.

Cov neeg nyob hauv lub LHC pab neeg muaj tej teeb meem thorny heev uas tswj. Saib lub hli. Kuv tsis tshua xav txog lub hli (tab sis yog kuv mus txawv heev txog nws vim kuv kawm nws yuav npleem tau lub ntiaj teb txoj kev sib hloov, uas tsis tau muaj ib tug zoo tshaj plaws rau peb tib neeg nyob rau lub sij hawm ntev). Tab sis npog, LHC pab neeg no puas muaj kev txhawj. LHC tus xab li muaj li tias lawv yog cuam tshuam dab tsi rau lub hli (Earth-rotation-slowing-and-eventually-killing-All-Life) lub ntiajteb txawj nqus. Uas yog ib tug heck ntawm ib tug yuav tsum tau mus ntsib — tsim tseeb ntsuam dua li lub hli cuam.

Kuv yog pondering tau qhov teeb meem thaum kuv nyeem cov kab lus no: "Thawj qib yuav tau txais thiab tsom xam cov ntaub ntawv los ntawm ib tug subset xwb ntawm tag nrho cov ntes cov cheebtsam, ntawm nws yuav rho uas tawm txheej xwm pheej raws raug rho tawm yam xws li puas tus nquag muon yog spotted ya tawm ntawm ib lub loj loj los ntawm cov nqaj axis." Tiag tiag … ? Tsis txhob ua si rau qhov hais tias yam uas sandbox thiab tsis yuav.

Lwm zaus kuv yuav tawm nrog ib co phooj ywg, Kuv yuav tsa ib tug ci rau tus zoo neeg khiav hauj lwm rau lub LHC, vam tias lawv tsis ntse luv rau Higgs boson particle thiab foom phem rau lub hli. Kuv hais koj tsis zoo li qub. Nws yuav ua tau heev qhov ci 🙂

</kawg>

Ntawv cim npe Technorati:

Nreeb hneev taw: System Center Capacity Planner rau SharePoint

Raug rho tawm kuv nyuam qhuav haujlwm txog lub peev xwm npaj cuab tam that's npau taws heev txhua tus heev hnub no.

Nrhiav tau nws yooj yim mus use thiab ceev ceev caum tus qauv ib tus thov kev pab txhawb kuv ua hauj lwm rau ntawm no lub caij ntuj sov dhau los.

Muaj ib co trepidation, Kuv pressed tau khawm zaum kawg thiab nws pom zoo ib yam yog zoo li cas peb muab peb tus neeg zoo nkauj (peb yeej txawb rau neeg rau zaub ib ob tsab ntawv teev npe mov rau yav tom ntej mus zoo siv). Kuv noj uas yog ib qho zoo thiab qoob loo kuv rau hauv koj lub cuab tam yuav tsub kom.

No mas, cov khoom zoo nkauj haib npaum li cas zoo dua starting muaj taw tes dua ib nplooj ntawv dawb paug.

Kuv xav tias cia koj nkag tau rau hauv tej yam txog cov ib puag ncig zoo. Cov neeg siv coob npaum li cas, cas koj tswvyim npaj lawv yuav siv lawv (publishing, tswv yim, yam), ncau ceg qhov chaw ua hauj lwm thiab connectivity / Network peev xwm ntawm lawv thiab tus niam neeg rau zaub mov. Khoom zoo.

Nws muab lus nug sab based thiab ces cia koj mus tweak cov tswvyim los txhawb ib tug qauv zoo nkauj ntau ntawm koj cheeb tsam.

Kuv hesitated daus vim kuv muaj coob li lwm yam uas saib nws, nyeem ntawv thiab ua tiag zom. Kuv zoo siab kuv tau.

Nws yog ib txoj kev yooj yim ob. Download tau lawv qhov chaw tau npaj thiab ces download tau lub SharePoint ua qauv. Nws sau nicely rau qhov rais XP.

Raws li kuv cov duab ceev, Kuv tsis pom dab cas nws yuav tsi rau:

  • Nrhiav: Tas nrho cov ntaub ntawv, tej zaum hom ntaub ntawv, haiv lus.
  • Excel neeg rau zaub mov: Pestsawg, yog kiag li?
  • Cov neeg rau zaub mov: Pestsawg, yog kiag li?
  • BDC: Pestsawg, yog kiag li.

Caum tus cov kuj muab qauv thiab kuv cia li tsis pom nyob rau hauv lawv lub 10 minute rov.

Kuv yeej twv yuav raug hu siv ntawm kuv cov neeg tom ntej.

Yog hais tias kuv twb tsis muaj kws pab tswv yim thiab xwb ua hauj lwm rau lub tuam txhab muaj tiag :), Kuv yuav xyaum ua kuv chaw kawm tam sim no thiab saib zoo li cuab tam tus qauv kom qhov khoom up against kev muaj tiag. Uas yuav zoo nkauj zoo huv si. Nws yuav ua rau muaj ib co infrastructure zoo sib tham.

</kawg>

Ntawv cim npe Technorati:

Kua: System.IO.FileNotFoundException rau “SPSite = tshiab SPSite(url)”

HLOOV TSHIAB: Muab kuv lo lo lus nug no rau MSDN no (http://forums.microsoft.com/Forums/ShowPost.aspx?PostID=2808543&SiteID=1&mode=1) thiab Michael Washam txog Microsoft lub teb nrog ib cos teb.

Kuv tsim cov qhov Web site los ua ib tug BDC hauv façade rau ib daim ntawv teev SharePoint. Thaum kuv siv no ntawm kuv txoj kev loj hlob nyob, nws ua haujlwm fine. Thaum twg kuv migrated no rau ib tug neeg rau zaub mov tshiab, Ces yuav kuv tsum no yuam kev:

System.IO.FileNotFoundException: Cov ntaub ntawv Web site ntawm http://localhost/sandbox kuj tsis tau pom. Muaj tseeb uas koj tau ntaus qhov URL thwj. Yog hais tias muab rau qhov URL yuav tsum tau neeg cov ntsiab lus uas twb muaj lawm, cov neeg khiav dej num uas yuav tau ntxiv rau ib tug tshiab hais URL kuas cov ntaub ntawv intended. nyob Microsoft.SharePoint.SPSite.ctor(SPFarm ua liaj ua teb, Pas requestUri, Boolean contextSite, SPUserToken userToken) nyob Microsoft.SharePoint.SPSite.ctor(Txoj hlua requestUrl) tom Conchango.xyzzy.GetExistingDocument(Txoj hlua minId, Txoj hlua maxId, Txoj hlua titleFilter) hauv C:\Cov ntaub ntawv thiab SettingsPaulMy DocumentsVisual Studio 2005ProjectsxyzzyBDC_DocReviewBDC_DocReviewDocReviewFacade.asmx.cs:kab 69

Nov yog kab 69:

siv (Kawm ntawv SPSite = SPSite tshiab("http://localhost/sandbox"))

Kuv sim txawv variations ntawm qhov URL, xws li siv cov neeg rau zaub mov npe tiag tiag, nws qhov chaw nyob hauv tus IP, trailing slashes nyob rau hauv qhov URL, yam. Kuv yeej tau qhov yuam kev.

Kuv siv Hauv Google los ntsuam xyuas nws. Ntau tus neeg fim no qhov teeb meem, los sis variations ntawm nws, tab sis tsis muaj leej twg muaj solved seemed.

Ntsis NTXHUAB tricksy ntxiv li ib txog kev ua yuam kev uas nws tsis muaj tshwm sim rau kuv mus xyuas cov 12 nas muv cav. Nws thiaj li, hais txog 24 teev tom qab Kuv colleague pom zoo kom ua li ntawd, Kuv ntsuam xyuas kom paub cov 12 hive cav thiab nrhiav tau qhov no:

Kev zam tshwm sim thaum uas ua kom kis tau rau lub zos ua liaj ua teb:
System.Security.SecurityException: Npe thov ntawv tsis muaj cai.
tom System.ThrowHelper.ThrowSecurityException(Kev pab ExceptionResource) tom Microsoft.Win32.RegistryKey.OpenSubKey(Txoj hlua npe, Boolean writable) tom Microsoft.Win32.RegistryKey.OpenSubKey(Txoj hlua npe) tom Microsoft.SharePoint.Administration.SPConfigurationDatabase.get_RegistryConnectionString() tom Microsoft.SharePoint.Administration.SPConfigurationDatabase.get_Local() tom Microsoft.SharePoint.Administration.SPFarm.FindLocal(SPFarm& ua liaj ua teb, Boolean& isJoined)
Nyob zoo noj rau ntawm cov los ua ke uas tsis tau tejyam:  MyComputer

Qhov no qhib tau hom tshiab ntawm kev tshawb fawb, ces nws txawm rov qab rau hauv Google. Uas coj kuv mus rau qhov no rooj sab laj ncej: http://forums.codecharge.com/Posts.php?post_id = 67135. Uas tsis tshua pab kuv, tiam sis nws puas tau pib ua kuv xav tias yog ib qhov teeb meem database thiab ruaj ntseg. Kuv soldiered thiab Andrew Connell rooj vag triggered thaum kawg lub xav tias kuv yuav tsum tau qhia tias yog leejtwg tus account thov pas tus mob lub database tsim nyog siv cov. Kuv xav tias nws twb tsis. Txawm li cas los, Kuv tus colleague mus thiab muab txoj app pas yog leejtwg tus account daim ntawv qhia txog kev yuav SQL.

Thaum nws ua ntawd hloov, txhua yam kev pib ua hauj lwm.

Yog zoo li cas ntxiv mus uas happened expressed li ib haiku paj huam:

Teeb meem tsa tes.
Koj viav vias thiab nco. rov sim dua.
Zoo! Tab sis yuav ua li cas? Ua li cas?

Nws tsis xav kom tawm tej yam uas nyob ib leeg li ntawd, preferring, muab tus yam tsawg kawg yuav tsum tso cai rau (thiab tej zaum with an eye to sau ib tug nkag teb chaws blog; Kuv tuav nws kom cov punch, muhahahahaha!).

Nws tshem successive permissions ntawm lub app pas yog leejtwg account kom txog … muaj tug tsis tau nws kev tso cai qhia tau meej heev rau app nyiaj pas dej ua ke yog leejtwg txhua. Cov Web site qhov tseem ua hauj lwm xwb fine.

Peb mus ua rebooted lub servers. Txhua yam tseem ua hauj lwm fine.

Li ntawd, mus recap: peb tau muab txoj app pas dej ua ke yog leejtwg tiag cov kev thiab mam li muab nws tseg. Cov Web site qhov pib ua hauj lwm thiab tsis txhob tso tseg tsis ua hauj lwm. Bizarre.

Yog leej twg paub vim li cas uas yuav tsum muaj haujlwm, thov cia ib saib.

</kawg>

Ntawv cim npe Technorati: