వర్గం ఆర్కైవ్స్: SharePoint బగ్స్

త్వరిత Fix: "కంటెంట్ రకాన్ని పేరు '$ వనరుల:ReportServerResources … ఉండకూడదు … ప్రత్యేక అక్షరాలు”

నేను ఒక SharePoint శుభ్రం కొంత సమయం గడిపిన చేసిన 2010 సైట్ మరియు శుభ్రపరిచే సమస్య ఒక అవినీతి సంబంధం / SQL సర్వర్ రిపోర్ట్ సేవలు సమస్య తప్పుగా ఇన్స్టాల్.  నా సహచరులు ఆ టెంప్లేట్ ఆధారంగా ఒక కొత్త సైట్ సృష్టించడానికి సృష్టించడానికి అప్పుడు ఒక టెంప్లేట్ వలె సైట్ సేవ్ మరియు ప్రయత్నించినప్పుడు సమస్య తలెత్తింది.  సేవ్ ఆపరేషన్ జరిమానా పని, కానీ ఆమె కొత్త సైట్ సృష్టించడానికి ప్రయత్నించినప్పుడు, SharePoint కింది దోషాన్ని ప్రదర్శించబడుతుంది:

తప్పు

కంటెంట్ రకం పేరు '$ వనరుల:ReportServerResources,DataSourceContentTypeName;ఉండకూడదు: \ / : * ? " # % < > { } | ~ & , రెండు వరుస కాలాలు (..), లేదా ఒక టాబ్ గా ప్రత్యేక అక్షరాలు.

ఇక్కడ ఒక స్క్రీన్ టోపీ వార్తలు:

 

image

నేను సైట్ లో కంటెంట్ రకాల వద్ద ఒక లుక్ కలిగి మరియు ఈ దొరకలేదు:

image

ఆ కంటెంట్ రకాల స్పష్టంగా అనారోగ్య ఉన్నాయి.

ఈ సమస్య ఇంటర్నెట్ల న చాలా పైకి వచ్చి ఉంది మరియు దీనిని పరిష్కరించడంలో ఎలా ఒక ఏకాభిప్రాయం ఏర్పడినట్లు కనిపిస్తుంది లేదు.  నేను ఇక్కడ మంచి కంటెంట్ రకం పేర్లు తప్పుడు కంటెంట్ రకం పేర్లు మ్యాప్ ఒక సులభ పట్టిక దొరకలేదు: http://social.technet.microsoft.com/Forums/en-ZA/sharepoint2010programming/thread/cb03e866-8184-4943-acfe-cafffa1b8b7a.  నేను మానవీయంగా thusly వాటిని నవీకరించబడింది:

image

(BrightStarr పేరు ఉద్దేశ్యం ఐచ్ఛికం, కానీ అది బాధించింది కాదు స్మైల్ )

ఈ నాకు ఒక కొత్త టెంప్లేట్ సృష్టించడానికి అనుమతి మరియు ఇతర సైట్లలో ఏదైనా విచ్ఛిన్నం లేదు, ప్రజలు పూర్తిగా భిన్నమైన గుంపును పని కొన్ని PerformancePoint సర్వర్ stuff సహా.  నేను టెంప్లేట్ ఒక కొత్త సైట్ సృష్టించడానికి చేయగలిగింది.  విజయం!

నేను ఈ ఖచ్చితంగా తెలియలేదు ఒక 100% పరిష్కారము, కానీ అది నాకు మరియు ఈ బాధించే లోపం గత భాగస్వాములైన వారందరి వచ్చింది.  నేను ఏదైనా కొత్త కనుగొంటే, నేను ఒక నవీకరణ పోస్ట్ చేస్తాము.  నా భయము ఈ పేర్లు మొదటి స్థానంలో మరియు ప్రదర్శన పేరు ఫిక్సింగ్ ద్వారా తప్పు ఉండకూడదు వాస్తవం నుండి వచ్చింది, నేను అంతర్గత పేరు తాకడం లేదు. 

</చివర>

నా బ్లాగ్ సబ్స్క్రయిబ్.

వద్ద ట్విట్టర్ లో నన్ను అనుసరించండి http://www.twitter.com/pagalvin

SP 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 (who were logged in), but it wouldn’t show the content for anonymous users.

We did a lot of research and these are the parameters and actions we took to isolate the behavior:

  • CQWP would render fine when it was pulling content from a custom list.
  • CQWP would render content from the /Pages library.
  • It would not render content from /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.
  • We (somewhat hastily) set up a new SP 2010 పర్యావరణం, straight out of the box again and replicated this behavior.

బాటమ్ లైన్, 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?

This is the error that we saw in the logs:

Web Part title: Content Query Web Part 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 web, DataRow row, String strDefaultItemOpen, Boolean fSetDocIcon, Boolean fSetOnClick, String fileRefColumnRef, String progIdColumnRef, String fsobjTypeColumnRef, String permMaskColumnRef) at Microsoft.SharePoint.Publishing.WebControls.ContentByQueryWebPart.PreProcessForDocumentIconAndOnClickAttribute() at Microsoft.SharePoint.Publishing.WebControls.ContentByQueryWebPart.AddContentQueryData() at Microsoft.SharePoint.Publishing.WebControls.ContentByQueryWebPart.GetXPathNavigator(String 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, వ్యాఖ్యను పోస్ట్ చెయ్యండి.

</చివర>

నా బ్లాగ్ సబ్స్క్రయిబ్.

వద్ద ట్విట్టర్ లో నన్ను అనుసరించండి http://www.twitter.com/pagalvin