jamii Archives: SharePoint Bugs

Quick Fix: "Aina ya maudhui ya jina la '$ Resources:ReportServerResources … haiwezi kudhibiti … maalum wahusika”

Nimekuwa kutumia muda kusafisha SharePoint 2010 tovuti na moja ya masuala kusafirishwa inahusiana na rushwa / kimakosa imewekwa SQL Server Ripoti ya Huduma suala hilo.  suala alianza wakati mmoja wa wafanyakazi wenzangu walijaribu kuokoa tovuti kama template na kisha kuunda kuunda tovuti mpya msingi template kwamba.  operesheni ila kazi nzuri, lakini wakati yeye alijaribu kujenga tovuti mpya, SharePoint kuonyeshwa zifuatazo makosa ujumbe:

Kosa

aina maudhui ya jina '$ Rasilimali:ReportServerResources,DataSourceContentTypeName;'Hawezi vyenye: \ / : * ? " # % < > { } | ~ & , mbili mfululizo wa vipindi (..), au maalum wahusika kama vile tab.

Hapa ni cap screen:

 

image

Mimi nilikuwa na kuangalia aina maudhui katika tovuti na kupatikana hii:

image

Bidhaa za aina hizo ni wazi mbaya.

Suala hili inaonekana kuja juu sana kwenye Internets na kuna haionekani kuwa makubaliano ya moja juu ya jinsi ya kulitatua.  Nimeona meza Handy kwamba mapped majina mabaya ya aina maudhui mema majina ya aina maudhui hapa: http://social.technet.microsoft.com/Forums/en-ZA/sharepoint2010programming/thread/cb03e866-8184-4943-acfe-cafffa1b8b7a.  Mimi manually updated yao thusly:

image

(BrightStarr katika jina ni wazi kuwa ni ya hiari, lakini haiwezi kuumiza Smile )

Hii kuruhusiwa mimi kuunda template mpya na hivyo hawakumvunja kitu katika maeneo mengine, ikiwa ni pamoja na baadhi ya Server PerformancePoint mambo ambayo kikundi tofauti kabisa ya watu walikuwa kazi.  Nilikuwa basi uwezo wa kujenga tovuti mpya juu ya template.  Mafanikio!

Sina uhakika hii ni 100% ufumbuzi, lakini got mimi na kila mtu kushiriki zamani hitilafu hii annoying.  Kama mimi kupata kitu kipya, Mimi itabidi baada ya update.  Woga yangu inatokana na ukweli kwamba majina haya lazima kuwa na makosa katika nafasi ya kwanza na kwa fixing jina kuonyesha, Mimi si kugusa jina ndani. 

</mwisho>

Kujiunga na blog yangu.

Kufuata yangu juu ya Twitter kwa http://www.twitter.com/pagalvin

SP 2010 CQWP, Document Maktaba na Watumiaji Anonymous

Muhimu update: Waldek Mastykarz has posted a workaround here: http://blog.mastykarz.nl/inconvenient-sharepoint-2010-content-query-web-part-anonymous-access/.
</mwisho update>

Wiki hii, my team and I were upgrading a customer’s public internet site from MOSS to SP 2010. The MOSS site uses the CQWP in several places.

Tulipitia utaratibu wa kina sana kuhakikisha usahihi, quality and all that good stuff. Despite that, we ran into a problem in the 11th hour that we didn’t expect or uncover until very late. Hasa, our CQWP wouldn’t render for anonymous users. It rendered find for the authors (ambao walikuwa watumiaji katika), lakini bila kuonyesha bidhaa kwa ajili ya watumiaji bila majina.

Sisi gani mengi ya utafiti na hizi ni vigezo na vitendo sisi alichukua kujitenga na tabia:

  • CQWP bila kutoa faini wakati ilikuwa kuunganisha bidhaa kutoka orodha ya desturi.
  • CQWP bila kutoa bidhaa kutoka maktaba / Makala.
  • Hiyo haiwezi kutoa bidhaa kutoka SiteCollectionImages /
  • We created a new document library and uploaded a few docs to it. We did not add any content types to the library – this was a simple out of the box doc lib with no customization. Existing CQWP could not read from it.
  • We created a new page and added a CQWP to it using all default values. it would not render for anonymous.
  • Sisi (kiasi fulani kwa haraka) kuanzisha SP mpya 2010 mazingira, sawa nje ya boksi tena na kuigwa kwa tabia hii.

Bottom line, it appears that CQWP in SP2010 can’t render content for anonymous users when the data source is a document library. Can this be true?

Hili ni kosa kuwa tuliona katika kumbukumbu:

Sehemu ya mtandao title: Content Query Mtandao Sehemu 653d91fb-2f83-4e6a-83af-1f39e8939f0a
07/30/2010 12:03:56.90 w3wp.exe (0x0F30) 0x1540 SharePoint Foundation Web Parts 89a1 High Error while executing web part: System.NullReferenceException: Kitu kumbukumbu si kuweka mfano wa kitu. at Microsoft.SharePoint.Publishing.WebControls.ContentByQueryWebPart.SetDocumentIconUrlAndOnClickString(SPWeb mtandao, DataRow mstari, Kamba strDefaultItemOpen, Boolean fSetDocIcon, Boolean fSetOnClick, Kamba fileRefColumnRef, Kamba progIdColumnRef, Kamba fsobjTypeColumnRef, Kamba permMaskColumnRef) at Microsoft.SharePoint.Publishing.WebControls.ContentByQueryWebPart.PreProcessForDocumentIconAndOnClickAttribute() at Microsoft.SharePoint.Publishing.WebControls.ContentByQueryWebPart.AddContentQueryData() at Microsoft.SharePoint.Publishing.WebControls.ContentByQueryWebPart.GetXPathNavigator(Kamba viewPath) at Microsoft.SharePoint.WebPartPages.DataFormWebPart…. 653d91fb-2f83-4e6a-83af-1f39e8939f0a

It just seems kind of impossible that CQWP wouldn’t work for anonymous users. If you know any more about this, tafadhali post comment.

</mwisho>

Kujiunga na blog yangu.

Kufuata yangu juu ya Twitter kwa http://www.twitter.com/pagalvin