Posts

Showing posts from 2015

SharePoint Search - Content Processing Pipeline Failed to Process the Item

Image
SharePoint 2013 Search Crawls Stop Crawling All Content Recently the search system stopped successfully crawling content.  ASPX pages were crawled, but no content was being indexed. Opening up the crawl log showed thousands of errors with this message:
The content processing pipeline failed to process the item.  (Index was out of range.  Must be non-negative and less than the size of the collection.  Parameter name: index; SearchID = [GUID]) Note: the resolution is in the resolution section for those who cannot or refuse to read. What does this mean?  Honestly initially it made no sense.  So I learned a valuable lesson: I misguidedly spent the next 2 days trying the usual fixes like resetting the index, rebuilding the 2013 search components, and lastly what EVERYONE does: they fix it with a sledgehammer (in this case rebuilding the search service application).

But what if rebuilding the search service application is a horrible pain?  We have thousands of query rules, 30 result source…

SSRS Open URL in New Window

Image
For many that are not aware, SSRS is excellent at displaying SharePoint list data.  Whether in Native or SharePoint-Integrated mode, SSRS connects directly to a SharePoint site and will enumerate all the lists and libraries.

We recently used pie charts to display the major statuses for a business process.  We wanted to set a hyperlink on the chart that would send the user to the list view that shows the data items in the chart.  A requirement was to open this hyperlink in a new window/tab.  Well the Action section allows you to add a URL to a page, but by using a expression you can run JavaScript, very powerful.

Steps:
Rick-click on the chart area and choose 'Series Properties'.Click on 'Action' section.Click on 'Go to URL', and click on the Expression button.Enter this expression in this format (replace url.com with your web address): ="javascript:void(window.open('url.com','_blank'))"

Example:

Note: Feel free to use variables and expres…

HTTP to HTTPS URL Redirect IIS

Using the IIS URLRewrite module 2.0 to configure SharePoint to only accept requests on HTTPS (Secure) and redirect all HTTP (unsecure) requests to the HTTPS address. 1. Install URL rewrite Module 2.0   https://www.microsoft.com/en-us/download/details.aspx?id=7435
2. Add HTTP binding (with hostname if necessary) to the IIS site.
3. Add this to web.config of the website in IIS you want to rewrite.  Just after <system.webserver>

<system.webserver>
    <rewrite>
        <rules>
            <clear />
            <rule name="Force HTTPS" enabled="true">
                <match url="(.*)" ignoreCase="false" />
                <conditions>
                    <add input="{HTTPS}" pattern="off" />
                </conditions>
                <action type="Redirect" url="https://{HTTP_HOST}{REQUEST_URI}" appendQueryString="true" redirectType=&…

SharePoint User Profile Sync Service Start Issues

The most difficult to start service can drive you crazy.  These are some things I have encountered and how I fixed them:

The most important step is knowing how to trace while you are starting the service.
Tracing Steps:
Open ULS Viewer for the farm server you are trying to start the service onOpen the Live feed from the logs.  File -> Open from -> ULSFilter by: Category = User ProfilesStart the UPS Sync Service.You will begin to see eventsFor each error, there will be some research necessary.  Fix the error, then re-attempt starting the service. Error: UserProfileApplication.SynchronizeMIIS: Failed to configure MIIS post database
This was an error in a PowerShell profile that was created for All Users.
Resolution:

Open Windows ExplorerNavigate to: C:\Windows\System32\WindowsPowerShell\v1.0Remove any file like: profile.ps1The profile is used by the UPS Sync Provisioning and a custom profile will cause a command to fail.

SharePoint 2013 Development Toolbox

reposting... Tools for your SharePoint 2013 development toolboxhttp://zimmergren.net/technical/tools-for-your-sharepoint-2013-development-toolbox
BY  · JANUARY 18, 2014 Author: Tobias Zimmergren
www.zimmergren.net | www.sharepointdiscussions.com | www.pointbird.com |  @zimmergren Introduction Some of my students, clients and community peers have asked about my favorite tools for working with SharePoint. So with that in mind, I quickly noted down some of my favorite tools that every developer should have in their toolbox. I’ve written posts about this before but as times and technology moves forward, new tools and techniques are evolving. I may post about the tools I recommend for IT-Pros at some point, but right now let’s stay on track with the dev-focus.

SharePoint Designer 2013 Approval Workflow with Comments

Image
Adding Comments to a SharePoint 2013 Approval Workflow I needed the ability to capture comments from Approval Tasks in a workflow.  This has changed greatly in 2013 workflows.  Everything is more modular and as such must be built somewhat from scratch.
SharePoint 2013 workflows can become corrupt.  This may have been fixed by a patch, but please refer to a previous post before creating any 2013 workflows in Designer: http://www.ericjochens.com/2014/12/sharepoint-2013-workflow-observations.htmlSharePoint 2013 does not have a built-in approval workflow, nor does a built-in task item include comments.  I solved this by building my own approval workflow, and using a custom content type to include a comments field.A SharePoint 2013 Workflow will not store the Task ID when a task is created, so you cannot do a lookup into that task list to grab comments or any other field.  I solved this by creating a separate workflow in the task list to read the Related Items column, and update the origin…