Posts

Showing posts from April, 2009

SharePoint Designer, Master Pages and Versions = Headache

How can something so simple can so much pain? Scenario: You open Designer to edit your page. When it finishes loading the Design view says Master Page is invalid and you need to fix it so you can see your page. So you follow the instructions and try to reconnect to the Master Page. Nothing works. Resolution: If your Master Page has not been published and you have the security level to see minor drafts, then you will be effected by this. You have to publish a Major verison to get your page to show correctly. Key is don't allow Minor versions!

Raw XML - Seeing what's returned in your request

One thing that might help you at some point is being able to see the raw XML that is coming back in your request. In SharePoint you don't have an easy way to view it. Here is a simple way to get the data in your web part. First, go to your page and get into edit mode. Another option is to open it in Designer and edit the XSL source there, just quicker in the web. Second, copy this code into your XSL area for your web part. <?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet version="1.0" xmlns:xsl=" http://www.w3.org/1999/XSL/Transform "> <xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes"/> <xsl:template match="/"> <xsl:copy-of select="*"/> </xsl:template> </xsl:stylesheet> Save or exit edit mode and reload your page. After your page loads right-click and view source. Your XML will be visible in the page that pops up. Enj...

Check your WSS install!

This entry is provided by Melissa Wilson Assar, a colleague of mine. Melissa writes: "Recently after installing WSS, I checked the event logs to make sure everything was running smoothly. I noticed that there was an error that continualy occured in the Application logs. I checked another WSS install and the same error occurred there. It seems to only be happening with WSS installs. The following error occurred in the Application Event Logs: Event Type: Error Event Source: Windows SharePoint Services 3 Search Event Category: Gatherer Event ID: 2424 Date: 12/8/2008 Time: 11:20:02 AM User: N/A Computer: SP1 Description: The update cannot be started because the content sources cannot be accessed. Fix the errors and try the update again. Context: Application 'Search', Catalog 'index file on the search server Search' For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp . I checked the system event logs and found this error: Event...