ಎಸ್ಪಿ 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, ಬೂಲಿಯನ್ 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-83rd-1f39e8939f0a

It just seems kind of impossible that CQWP wouldn’t work for anonymous users. If you know any more about this, ಒಂದು ಕಾಮೆಂಟ್ ಪೋಸ್ಟ್ ದಯವಿಟ್ಟು.

</ಕೊನೆಯಲ್ಲಿ>

ನನ್ನ ಬ್ಲಾಗ್ ಚಂದಾದಾರರಾಗಿ.

ನಲ್ಲಿ ಟ್ವಿಟ್ಟರ್ ನನ್ನನ್ನು ಅನುಸರಿಸಿ http://www.twitter.com/pagalvin

7 ಮೇಲೆ "ಆಲೋಚನೆಗಳುಎಸ್ಪಿ 2010 CQWP, ದಸ್ತಾವೇಜು ಗ್ರಂಥಾಲಯ ಮತ್ತು ಅನಾಮಧೇಯ ಸದಸ್ಯರು

  1. Pingback: ಎಸ್ಪಿ ನಮೂದಿಸುವ ಟ್ವೀಟ್ಸ್ 2010 CQWP, ದಸ್ತಾವೇಜು ಗ್ರಂಥಾಲಯ ಮತ್ತು ಅನಾಮಧೇಯ ಸದಸ್ಯರು «ಪಾಲ್ ಗಾಲ್ವಿನ್ ತಂದೆಯ ಶೇರ್ಪಾಯಿಂಟ್ ಸ್ಪೇಸ್ -- 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 ಉತ್ತರ ರದ್ದು

ನಿಮ್ಮ ಈಮೇಲ್ ವಿಳಾಸ ರ ಆಗುವುದಿಲ್ಲ. ಅಗತ್ಯವಿರುವ ಜಾಗ ಗುರುತಿಸಲಾಗಿದೆ *