SharePoint
SharePoint
It has been a while since we installed the Adobe PDF IFilter for MOSS 2007 or Search Server 2008. This is in part because Foxit Software (http://www.foxitsoftware.com) released a 64-bit PDF IFilter for SharePoint before Adobe did and because clients have been gravitating towards 64-bit SharePoint Server Farms for a while now. In any case, I had to revisit the installation for a new client and came across a couple of things I thought would be good to share. First, the IFilter installation document found here: http://www.adobe.com/special/acrobat/configuring_pdf_ifilter_for_ms_sharepoint_2007.pdf instructs you to verify that...
One of our clients requested our assistance after MOSS a infrastructure update failed. As a result, our client’s intranet site collection had now completely lost both its search box and the Search Center site was now hidden. Although it was possible to navigate to the Search Center site through the “View All Site Content” link, an error occurred when displaying search results. Of course, the error was a standard SharePoint error message that didn’t explain what was really happening. In addition, the Farm’s Search Settings page in the Central Administration SSP also threw an “Unexpected Error”.
After changing the appropriate web.config...
Recently while working on a client SharePoint project I encountered the following error code and message while executing a CAML update statement against a list: <Results xmlns=\"http://schemas.microsoft.com/sharepoint/soap/\"><Result ID=\"1,Update\"> <ErrorCode>0x81020014</ErrorCode> <ErrorText>One or more field types are not installed properly. Go to the list settings page to delete these fields.</ErrorText><z:row ... xmlns:z=\"#RowsetSchema\" /></Result></Results>
Frankly, the error message wasn't very helpful and I didn't see the issue right away but then I saw it -- I had used the wrong internal column name. The actual internal name in this case had a trailing 1 at...
Every so often I find it necessary to force a SharePoint web part page into edit or design mode using query string parameters. Originally posted on one of our internal development blogs, I decided to share this because it does come in handy from time to time. SharePoint Query String Parameters Query String Parameter Values DisplayMode ...
One of the thing that has always bugged me about the SharePoint 2007 Outlook Web Access (OWA) web parts ever since I saw them was that that some of the web parts lack basic functionality and thus are inconsistent in their functionality. The purpose of this post is to shed some light on what these web parts do or cannot do and give users an understanding of how to get around the lack of functionality. Before I continue, I should remind readers that these OWA web parts are intended to be used in a My Site and that users of...
Here’s a control that shows the first non-blank SharePoint field. I created it for Solien’s web site when I added the PageTitle field. By using this control, if content authors leave the PageTitle field blank the contents of the Title field are shown instead. By inheriting from Microsoft.SharePoint.WebControls.FormComponent we gain access to the Item property. using System.ComponentModel; using System.Web.UI.WebControls; namespace Solien.SharePoint { ...
Here’s how to add a new field to an existing page layout in Microsoft Office SharePoint Server 2007. Our current page layout uses the Title field both for the HTML title element shown browser’s title bar and for the header shown in the content. We want to separate these so that the HTML title can be different. We’ll be modifying the SolienInnerPage.aspx and SolienInnerPageNoLeftNav.aspx page layouts. Here’s an outline of the work we’ll need to do: Find the associated content type for the page layout Add a new site column...
You may have experienced it before. You set up and configure a MOSS 2007 site for anonymous access, but an anonymous user can’t add an item to a list. You click save in the list’s anonymous access permissions settings but no matter how many times you do it, the “Add Items” permission for Anonymous Access won’t take.
If you experience this, check your Policy for Web Application settings in the Central Administration. Make sure there is not a Deny policy on the web application where you see the issue.
Recently, while working on a few new web parts, I encountered an issue with adding these web parts to a page. I started getting the following error: A potentially dangerous Request.Form value was detected from the client (ctl00$PlaceHolder1$ctl00$ctl00$RichHtmlField="<P align=center> <P..."). I tried removing other web parts and content from the page but it resulted in the same error message pointing to a different control. It turns out that while working on getting the .NET 3.5 working with MOSS 2007, I lost a section of the web.config: ...
You know the scenario: You are a farm administrator but you cannot access to the Shared Service Provider (SSP) site collection to administer the SSP – Access Denied. Here is how to give yourself access to the SSP: 1) Go to the Site Collection Administrators interface. Link via Central Administration | Application Management | SharePoint Site Management. 2) Change the Site Collection by selecting the Web Application and root URL for your SSP. 3) Set the Secondary Site Collection Administrator to the account you are using to access the SSP. That’s it. Now navigate to...
A couple of weeks ago while working on a SharePoint customization it became necessary to use a SharePoint Job Definition. As the customization progressed I noticed that the job execution was not executing new code modifications made to the job definition.
At first I thought the issue had something to do with the development environment since I had previously encountered some odd debugging and build behaviors in the same environment.
I inspected the new custom assembly using Reflector. The assembly was correct. Then I inspected the SharePoint Solution to make sure the same custom assembly was being packaged up as expected. ...
Recently we provided one of our clients an expanded description of how Microsoft Office SharePoint Server (MOSS) 2007 My Sites work. We thought we would post a portion of that information to help others understand what out-of-the-box (OOTB) My Sites are and how they work.
Before we dive in let’s start with some of the common SharePoint terminology and concepts directly associated with My Sites:
Site Collection
A Site Collection is a collection of sites such as a Team Site, Document Workspace, Meeting Workspace, Site Directory, etc. A site collection is a tree of sites with sites nested below other sites.
One important...
We’ve seen the following error several time on several different servers while trying to save a copy of a SharePoint Site Template (.stp file) from the Site Template Gallery:
The XML page cannot be displayed
Cannot view XML input using style sheet. Please correct the error and then click the refresh button, or try again later.
--------------------------------------------------------------------------------
An invalid character was found in text content. Error processing resource 'http://SERVER_URL/_catalogs/wt/SITE_TEMPLATE...
MSCF
No amount of refreshing will help and since the Site Template was created by SharePoint using “Save site as template”, there isn’t a quick way to correct the error. Besides, the error message...
One of the MOSS 2007 features that ASP.NET developers often miss when writing a custom solution for WSS 3.0 is the QueryString (URL) Filter web part. We often use the query string to define the filter for displaying lists or forms. This web part gives users the flexibility to define the query string key value without affecting the functionality of the solutions.
For some of the custom solutions we have built for WSS 3.0, we have implemented our own QueryString Filter web part to provide similar functionality and flexibility. With this web part, we can easily pass information from query...
A couple of days ago I received an email from our MOSS farm indicating that a user had exceeded their warning level for storage. When I tried to visit the user's My Site the site would not render properly. What I wanted to know was what was taking up so much space but I had to deal with getting the site to render properly first. That was a simple fix – increase the user’s my site storage limit via the Site Collection Quota and Locks in the MOSS Central Administration. I customized the user’s quota by adding 5...
At some point or another you may need to change the name of a SharePoint document library. This is a pretty straightforward change that can be done quickly using SharePoint's web user interface (UI). But what if you need to change a document library's URL?
Although you can change the URL of a site within a site collection using the SharePoint web UI, there isn't an interface to peform a similar action on a document library or list. So how do you accomplish this type of change?
One way is to create a new document library with the URL you want...
A couple of weeks ago, we received a request for help from one of our clients. Our client could no longer access the SSP (Shared Service Provider) Administration Site on their MOSS 2007 installation. Attempts to access the SSP resulted in 401.1 errors in the web browser.
This issue was vaguely familar but I could not recall the fix for the problem. After some troubleshooting it became clear that the problem was access to the SSP Admin site on the server itself and that the SSP host web application was configured with a custom host header. The SSP Admin site could be accessed remotely from another...
The SharePoint Search Indexes A Microsoft Office SharePoint Server (MOSS) can run two search services. One is the Windows SharePoint Services Search service (SPSearch) and the other is the Office SharePoint Server Search service (OSearch). In the MOSS context, SPSearch indexes the SharePoint Help information while the OSearch crawls and indexes the portal content as well as any other content source that requires indexing such as a file share. As a result, in MOSS 2007 there could be two indexes depending on which services have been started. In...