એસપી 2010 CQWP, દસ્તાવેજ પુસ્તકાલયો અને અનામિક વપરાશકર્તાઓ

મહત્વપૂર્ણ સુધારા: Waldek Mastykarz has posted a workaround here: http://blog.mastykarz.nl/inconvenient-sharepoint-2010-content-query-web-part-anonymous-access/.
</સુધારો સમાપ્ત>

આ અઠવાડિયે, 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.

અમે ચોકસાઈ ખાતરી કરવા માટે ખૂબ જ વિગતવાર પ્રક્રિયા મારફતે ગયા, 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. વિશિષ્ટ રીતે, our CQWP wouldn’t render for anonymous users. It rendered find for the authors (જે લૉગ ઇન હતા), પરંતુ તે અનામિક વપરાશકર્તાઓ માટે સામગ્રી બતાવશો હોત.

અમે સંશોધન ઘણો હતી અને આ અમે વર્તન અલગ લીધો પરિમાણો અને ક્રિયાઓ છે:

  • તે વૈવિધ્યપૂર્ણ સૂચિમાંથી સામગ્રી ખેંચીને કરવામાં આવી હતી જ્યારે CQWP દંડ રેન્ડર કરશે.
  • CQWP એ / પાના લાઇબ્રેરીમાંથી સામગ્રી રેન્ડર કરશે.
  • તે / 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.
  • અમે (કંઈક તાકીદે) નવી એસપી સેટ 2010 પર્યાવરણ, સીધા ફરીથી બોક્સની બહાર અને આ વર્તન નકલ.

નીચે લીટી, 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?

આ અમે લોગો માં જોયું કે ભૂલ છે:

વેબ ભાગ શીર્ષક: સામગ્રી ક્વેરી વેબ ભાગ 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: એક વસ્તુ એક ઉદાહરણ માટે ઓબ્જેક્ટ સંદર્ભ સુયોજિત નહિં. at Microsoft.SharePoint.Publishing.WebControls.ContentByQueryWebPart.SetDocumentIconUrlAndOnClickString(SPWeb વેબ, DataRow પંક્તિ, શબ્દમાળા strDefaultItemOpen, Boolean fSetDocIcon, બુલિયન fSetOnClick, શબ્દમાળા fileRefColumnRef, શબ્દમાળા progIdColumnRef, શબ્દમાળા fsobjTypeColumnRef, શબ્દમાળા permMaskColumnRef) at Microsoft.SharePoint.Publishing.WebControls.ContentByQueryWebPart.PreProcessForDocumentIconAndOnClickAttribute() at Microsoft.SharePoint.Publishing.WebControls.ContentByQueryWebPart.AddContentQueryData() at Microsoft.SharePoint.Publishing.WebControls.ContentByQueryWebPart.GetXPathNavigator(શબ્દમાળા viewPath) at Microsoft.SharePoint.WebPartPages.DataFormWebPart…. 653d91fb-2f83-4e6a-83 મા ક્રમે-1f39e8939f0a

It just seems kind of impossible that CQWP wouldn’t work for anonymous users. If you know any more about this, એક ટિપ્પણી પોસ્ટ કરો કૃપા કરીને.

</અંત>

મારા બ્લોગ પર સબ્સ્ક્રાઇબ કરો.

Twitter પર મને ખાતે અનુસરો http://www.twitter.com/pagalvin

7 પર "વિચારોએસપી 2010 CQWP, દસ્તાવેજ પુસ્તકાલયો અને અનામિક વપરાશકર્તાઓ

  1. Pingback: એસપી ઉલ્લેખ છે કે ટ્વીટ્સ 2010 CQWP, દસ્તાવેજ પુસ્તકાલયો અને અનામિક વપરાશકર્તાઓ «પીડી Galvin માતાનો શેરપોઈન્ટ જગ્યા -- Topsy.com

  2. Pingback: Inconvenient SharePoint 2010 Content Query Web Part and Anonymous Access - Waldek Mastykarz

  3. Dennis

    Just because I didnt see any links postet here yet, a few pointers:

    http://social.msdn.microsoft.com/Forums/en-US/sharepoint2010general/thread/892c9b5e-9ef3-4471-8825-6d632d046118
    http://social.technet.microsoft.com/Forums/en-US/sharepoint2010customization/thread/90223bf3-278f-4168-b124-3413489b936a
    http://www.sharepointoverflow.com/questions/3979/content-query-web-part-cqwp-fails-to-show-picture-items-from-a-document-picture/4008#4008
    http://blog.mastykarz.nl/inconvenient-sharepoint-2010-content-query-web-part-anonymous-access/

    A few workarounds, but there apparently is no FIX for this problem. The CQWP just doesnt work anonymously i suppose

એક જવાબ છોડો Kerron Braham જવાબ રદ કરો

તમારું ઇમેઇલ સરનામું પ્રકાશિત કરવામાં આવશે નહીં. જરૂરી ક્ષેત્રો ચિહ્નિત થયેલ છે *