Qeb Archives: Tus kab SharePoint

Quick Fix: "Lub npe qha hom lub$ Resources:ReportServerResources … tsis xyaw … cov cim tshwj xeeb”

Kuv twb tau yos ib co tu tuaj ib SharePoint 2010 kawm ntawv thiab yog ib qhov teeb meem txog tu tej koom ib corrupt / incorrectly ntsia SQL neeg rau zaub mov daim ntawv qhia txog cov kev pab no.  Qhov no sawv thaum ib tus kuv lug txhawb cov miv sim kom tseg tau ib qhov chaw li ib template thiab ces tsim tsim tau ib qhov chaw tshiab raws li ntawd template.  Txuag tau rau lub lag luam ua haujlwm fine, tab sis, thaum twg nws sim ua kom muaj qhov chaw tshiab, SharePoint tso tawm kom pom kev ua yuam kev hais nram qab no:

Yuam kev

Cov hom kawm ntawd npe ' $Resources:ReportServerResources,DataSourceContentTypeName;' tsis muaj: \ / : * ? “ # % < > { } | ~ & , dua ob tug sib law liag (..), los yog kev cim tshwj xeeb xws li ib tug tab.

Ntawm no yog ib qho screen CAP ib tug:

 

image

Muaj ib hom kawm ntawd saib nyob rau hauv lub site thiab nrhiav tau qhov no:

image

Cov kawm ntawd txoj kev no tsis zoo hais meej.

No qhov teeb meem rau nkawd tuaj heev nyob rau lub Internets thiab muaj tsis kom zoo tau muaj kev pom zoo nkaus xwb thiaj li daws tau.  Kuv pom ib ke rooj uas mapped rau lub npe phem cov hom rau cov hom npe ntawm no: http://social.technet.microsoft.com/Forums/en-ZA/sharepoint2010programming/thread/cb03e866-8184-4943-acfe-cafffa1b8b7a.  Kuv manually tshiab lawv thusly:

image

(BrightStarr lub npe yog yeem obviously, tab sis nws tsis tau ua Luag nyav )

Qhov no pub kuv mus tsim ib cov template tshiab thiab tsis khis txhua yam nyob rau lwm qhov chaw, xws li ib co khoom PerformancePoint neeg rau zaub mov uas yog ib pab neeg txawv kiag li tau ua haujlwm rau.  Kuv twb ces tau los ua ib qhov chaw tshiab rau lub template.  Zoo!

Kuv tsis paub hais tias qhov no yog ib tug 100% tov, tab sis, nws tau kuv thiab koom tes sawv daws nrog yav tas los no annoying yuam kev.  Yog kuv nrhiav tau tej yam tshiab, Kuv mam li tswg ib qho hloov tshiab.  Kuv nervousness stems ntawm tus fact tias cov npe tsis raug lawm ua tus xub place thiab kho qhov lub npe zaub, Kuv yuav tsis kov lub npe nrog. 

</kawg>

Subscribe rau kuv blog.

Raws li kuv nyob Twitter tom http://www.twitter.com/pagalvin

SP 2010 CQWP, Kev qiv ntaub ntawv thiab cov neeg siv cov Anonymous

Tseem ceeb hloov tshiab: Waldek Mastykarz tau muab lo ib workaround ntawm no: http://blog.mastykarz.nl/inconvenient-sharepoint-2010-content-query-web-part-anonymous-access/.
</kawg hloov tshiab>

Lub lim tiam no, cov lus no kuv thiab kuv nyob upgrading tus neeg pej xeem hauv internet ntawm ntawm NTXHUAB rau SP 2010. NTXHUAB kawm ntawv siv cov CQWP nyob rau ntau qhov chaw.

Peb mus txog ib txoj kev kom ntxaws heev kom raug, zoo thiab cov khoom zoo tas li. Dua li ntawd, peb khiav mus rau ib qho teeb meem nyob rau hauv cov xuab moos 11th uas peb tsis xav kom los yaws mus txog lig heev. Yeej, peb CQWP tsis kav rau cov neeg siv anonymous. Nws mus xyuas rau tus sau phau ntawv (in thiaj li uas tau tso rau hauv), tab sis nws tsis qhia cov ntsiab lus rau cov neeg siv cov anonymous.

Peb tsis heev ntawm kev tshawb fawb thiab cov no yog cov tsis thiab tej yam uas peb tau muab cais tawm tus cwj pwm:

  • CQWP yuav kav zoo thaum nws rub tau cov ntsiab lus los ntawm ib daim ntawv teev kev cai.
  • CQWP yuav kav cov ntsiab lus los ntawm cov tsev qiv ntawv /Pages.
  • Nws yuav tsis kav cov ntsiab lus los ntawm /SiteCollectionImages
  • Peb yuav tsim ib lub tsev qiv ntawv daim ntawv tshiab thiab uploaded docs ob peb los rau nws. Peb yeej tsis ntxiv tej yam kawm ntawd lub tsev qiv ntawv – qhov no yog ib tug leb tawm ntawm lub thawv doc lib uas tsis muaj customization. Uas twb muaj lawm CQWP yuav tsis nyeem ntawm nws.
  • Peb yuav tsim ib nplooj ntawv tshiab thiab ntxiv ib lub CQWP rau nws siv tag nrho vim qhov tseem ceeb. nws yuav tsis kav rau anonymous.
  • Peb (nrawm nroos dog dig) teeb ib tus tshiab SP 2010 ib puag ncig, ncaj nraim mus rau ntawm lub box dua thiab replicated no coj cwj pwm.

Ntxaib, nws zoo nkaus li tias CQWP nyob SP2010 tsis kav cov ntsiab lus rau cov neeg siv anonymous thaum cov ntaub ntawv los yog ib daim ntawv qiv. Qhov no yuav muaj tseeb?

Qhov no yog qhov yuam kev uas peb pom nyob rau hauv qhov cav:

Web site qhov title: Chav lus nug Web Part 653d91fb-2f83-4e6a-83af-1f39e8939f0a
07/30/2010 12:03:56.90 w3wp.exe (0x0F30) 0x 1540 qhov chaw hauv Web SharePoint Foundation 89a1 siab yuam kev thaum executing qhov Web site: System.NullReferenceException: Kwv siv tsis tau teem rau kev lom los ntawm ib tug kwv. tom Microsoft.SharePoint.Publishing.WebControls.ContentByQueryWebPart.SetDocumentIconUrlAndOnClickString(SPWeb Web site, DataRow leej, Txoj hlua strDefaultItemOpen, Boolean fSetDocIcon, Boolean fSetOnClick, Txoj hlua fileRefColumnRef, Txoj hlua progIdColumnRef, Txoj hlua fsobjTypeColumnRef, Txoj hlua permMaskColumnRef) tom Microsoft.SharePoint.Publishing.WebControls.ContentByQueryWebPart.PreProcessForDocumentIconAndOnClickAttribute() tom Microsoft.SharePoint.Publishing.WebControls.ContentByQueryWebPart.AddContentQueryData() tom Microsoft.SharePoint.Publishing.WebControls.ContentByQueryWebPart.GetXPathNavigator(Txoj hlua viewPath) tom Microsoft.SharePoint.WebPartPages.DataFormWebPart…. 653d91fb-2f83-4e6a-83af-1f39e8939f0a

No xwb mas, tsi tsis yooj yim sua kom CQWP tsis ua hauj lwm rau cov neeg siv anonymous. Yog koj paub muaj qhov no, thov logged.

</kawg>

Subscribe rau kuv blog.

Raws li kuv nyob Twitter tom http://www.twitter.com/pagalvin