This days I did some migration work. For experimental purpose I configures my old MOSS 2007 demo machine to use ASP.NET SQL FBA including MySites and profiles for the FBA users.…
As you know the SharePoint Farm Account must have privileges to logon locally for getting “User Profile Service Application” to work. Today I created a PowerShell script that adds…
I created an alternated notification feature for SharePoint 2010. It’s a demo project for SharePoint 2010. I’ve done it for some practice in SharePoint development and just for…
It’s a nightmare to create users for FBA, isn’t it? – There are several tools out there, but some does not work as expected oder you need to install .NET 4 on a server just to run…
Today I started the “User Code Service” of SharePoint 2010 to enable execution of Sandboxed Solutions. Before activation I’ve created a new domain account for the service (\ ) ,…
The last days I’ve created a PowerShell script that enables you to import a whole file system folder into a SharePoint document library using the SharePoint Content Migration API.…
Today I tried to configure a new SharePoint farm. I got this error: “The process does not passess the ‘SeSecurityPriviledge’ priviledge which is required for this operation.” –…
When you install SharePoint Server 2010 by using the official slipstreamed version that includes SP1 you may get an error while installing SP1 for several language packs. “The…
In IIS there is a trick for redirecting requests to a new URL including original path and query string. This trick worked on IIS 6. Today I tried this with IIS 7.5 on Windows…
(Download link below!) If you set up a MS Learning Classroom with Hyper V and the images provided by MS at the MCT download page you need to deploy the VHD files (and the other VM…
SharePoint Server 2010 and Foundation too has a namespace “Microsoft.SharePoint.Utilities.Cab”. In this namespace there are all functions you need to create CAB=WSP files. I have…
Another error in the crawl log: Using Fiddler I figured out that the pages report an “incompatible browser” error if the SharePoint crawler opens that pages. It seems that the…
I got this error messages a thousand times: Solution 1: I added the root certification authority certificates and the intermediate certification authority certificates of all SSL…
Some weeks ago I startet a new private dev project. To reach one of the goals of the project I thought about the possibility to create Sandboxed Solutions at runtime. I’ve…
There are several tools out there to minify JavaScript files. – You don’t know “minification”? Look here: http://en.wikipedia.org/wiki/Minification\ (programming)) Common tools…
There is a common error in SharePoint 2010: On almost every (web frontend) server you can find this error in the Windows Event Log “Application”: Event Type: Error Event Source:…
At the weekend I tried to access a diffrent SharePoint Web (SPWeb) from inside server code (ASPX application page). Before I created interface classes to the “diffrent SharePoint…
In this “Walkthrough” I’d like to show you how to create a simple WCF Web Service for SharePoint 2010. This Web Service will provide two methods: Ping = Just as test.…
In my curent migration project I got this error in an Content Database upgrade log on the new SharePoint 2010 farm: Template MPS 0: Exception thrown while applying the global…
It’s possible to exclude SharePoint Lists from search results by excluding their types in the search scope definition. Therefore you need to define an search scope rule based on a…
Today I’ve had the error: Application Server Administration job failed for service instance Microsoft.Office.Server.Search.Administration.SearchServiceInstance (150CA1DD 02E3 47C0…
There are the “Fantastic Fourty” templates you all now… They are create for MOSS 2007 and there are no update available for SharePoint 2010… Because of a migration of MOSS 2007 to…
A customer of mine has the problem that he wants to remove a Web Content Type but SharePoint says the content type is still in use. Therefore I created a tool for enumerating all…
In my project RoboPowerCopy (http://robopowercopy.codeplex.com) I’ve implemented a basic set of classes and methods for use with files and directories with long paths. NTFS…
In some projects there was a need to run code on the client machine for interaction with SharePoint. If’ve realized this kind of applications as “ClickOnce” apps. It’s possible to…
I’ve created a new project that combines my two primary technical passions: SharePoint 2010 and PowerShell. The project “SharePoint PowerShell Timer Jobs” lets you create, modify…
In January 2011 I published a SharePoint Warm Up script based on PowerShell. Some days ago blog reader Tamas published an comment: https://blog.kenaro.com/2011/01/27/sharepoint…
The folks of Quest released PowerGUI 3.0 ! http://powergui.org It's a famous tool for PowerShell development. Useful for complex scripts like "RoboPowerCopy" : ) On live server…
Yesterday I changed the Access mode of a SharePoint Web Application to "Only SSL". On the Web Application are some browser enabled InfoPath forms. Some of them consume a…
Today I got the following error and did not find a clear description and solution for it: Error message: “Event "OnWorkflowActivated" on interface type…
This time a tiny neat walkthrough of how to add an Event Receiver at runtime in SharePoint 2010. Let’s say you have a SharePoint site that your colleagues already use. In this…
At first: This is a common problem. Using the "Organization Browser" Web Part on another page than on the MySite host web application results in an empty view. This means, the…
Today I got this error: I tried to deploy a simple form to the SharePoint location http://sharepoint.local. This location is a root site collection!!! I got the error: The…
This time it’s not a walkthrough. Only a description of what you have to do. – It’s “experimental”!!! The need is to deploy a conditional formatting in a list definition that was…
This is Part 2 of 2 that describes the steps 18 to 27 . You will find Part 1 here: https://blog.kenaro.com/2011/04/24/walkthrough create sharepoint 2010 workflow association form…
Because of some requests by my blog readers I’d like to show you how to create Workflow Association and Initiation (“Instantiation”) forms in Visual Studio 2010 for use with a…
This is not easy. It took me some days. – Now it works! Here I’ll show you how to create a List Form for a SharePoint List using InfoPath 2010. Therefore you need SharePoint 2010…
In this walkthrough I want to show you how to create a Sequential Workflow with Visual Studio 2010 for use in SharePoint 2010. – I will show how to create a custom Task Form for…
In this walkthrough I want to show you how to create a Sequential Workflow with Visual Studio 2010 for use in SharePoint 2010. – I will show how to create a custom Task Form for…
A customer of mine had a problem in a it’s SharePoint 2010 farm. An error occurred while creating a sub site of type Enterprise Wiki. The user that tried to create the sub site…
I had an error in the event log on every SharePoint 2010 farm server: This happens after migration of the old MOSS 2007 farm to SharePoint 2010. – On the new farm I used new…
First: You need a SharePoint 2010 platform. You can use Foundation because BCS = Business Connectivity Services former BDC = Business Data Catalog in SharePoint 2007 – included in…
I had to develop a Holiday Approval Workflow with SharePoint Designer 2010. – I used a “List Workflow”. – Bad mistake! – It’s not possible to copy this kind of workflow to another…
Every SharePoint farm needs a warm up After giving the IIS 7.5 Application Warmup a chance… I had to do it in another way… I created a warmup script in PowerShell. Here it is……
I’ve uploaded another private demo project. It was planned as part of an SharePoint solution I liked to create but I cannot finalize this project. So I publish this project as…
This is part 2 of my demo project about “How to create a custom list form…” – See this post for part one: https://blog.kenaro.com/2010/12/29/walkthrough create custom sharepoint…
I had to migrate a MOSS 2007 farm to SharePoint 2010. – After migration the SharePoint Help did not work. (It’s the button upper right on a SharePoint site.) A popup window…
You have installed the Office Web Apps on your SharePoint 2010 server. Now you are missing the menu entries “View in Browser” and “Edit in Browser”. You create a new Excel file in…
Today I got this error: (“The server could not complete your request. For more specific information, click the Details button.”) I clicked the “Details” button as commanded.…
I took me hours and hours to get to User Profile Service Application working. These are the steps I’ve done in some scenarios. Especial to migrate an SharePoint 2007 profile…
… on the SharePoint 2010 with german system language of my customer the message text was “Fehler bei PowerPoint Web App. Wiederholen Sie den Vorgang.” In the SharePoint log I…
Today I got this error while opening a Word document stored in a SharePoint library. This document should be opened in the Word Web App. – IT WAS A DOCUMENT IN A MIGRATED CONTENT…
The related articles on my blog are: Part 1: How To Activate SharePoint Ribbon Tab by JavaScript Code Part 2: Sample Visual Studio 2010 project for creating a custom SharePoint…
I’ve created a script for uploading user pictures to the SharePoint 2010 User Profile system. For me it worked very well. But: Use it at your own risk! Here is the script:
I want to create a custom field type in a SharePoint 2010 development project (which I want to publish as as “walkthrough” on this blog ) Therefore I need to inspect the source…
(This is part 1 of 2. See link below.) Today I want to show you how to create a custom list form for deployment within a custom list template developed in Visual Studio 2010.…
I’ve created a custom control for SharePoint 2010. This control let you connect two lookup fields so that the second lookup field contains only a subset of all values depending on…
I needed to change some properties of user profiles of my SharePoint 2010 farm. Of cource I wanted to do this with PowerShell! Before you can execute the following script, be sure…
In this walkthrough I want to show you the steps for creating a InfoPath form and use it with InfoPath Forms Services of SharePoint 2010. 1\. First I downloaded a downloadable…
There are some mysterios errors on my SharePoint farm. After reading tons of log files I found some hints to problems with the “Session State Service” of SharePoint 2010. I found…
“Is there a way to enumerate all SharePoint 2010 databases in PowerShell like the page /\ admin/DatabaseStatus.aspx" /\ admin/DatabaseStatus.aspx" http://<centra\ administration…
Sometimes you may need to create instances of generic classes in PowerShell. Like this (in C ): There is a generic class used in the code above: System.Collection.Generic.List. If…
For the execution of SharePoint PowerShell scripts I need to check the execution environment of my PowerShell session to be sure that PowerShell runs as x64 application. This was…
I got this error in the config tool of Forefront Protection 2010 for SharePoint: “The SharePoint service is running but the Forefront VSAPI Library is not registered” Here is what…
If you want to set the SharePoint 2010 Enterprise Search Service Application "Default Content Access Account" by using PowerShell you can use this script: $searchapp \= Get…
I have had the problem to set the SharePoint Sevice Account of "SharePoint Server Search" to a special user account during a automatic setup. In other words: I want to automate…
When you receive this error …and you have done the exchange of farm certificates than you forgot this step: (Technet: http://technet.microsoft.com/en us/library/ff700211.aspx) See…
If you want to install windows features by script you have to use one of the tool OCSETUP oder DISM. E.g. start /w ocsetup <component name or dism /online /enable…
I tried to create a new SharePoint Server 2010 farm by using PowerShell cmdlet “New SPConfigurationDatabase” in one of the first steps. I got this error: New…
After renaming my SharePoint 2010 from an old to a new URL I could not longer access any project from this server. The error message looked like this: “Could not retrieve…
If you develop a SharePoint Application with Visual Studio 2010, e.g. a Console Aplication, you may get an FileNotFoundException. For example in this code (program.cs): I’ve maked…
Here is a script I used to add some web.config modifications with PowerShell. In this case I want to add a custom authentication provider. The following script I used for setup…
After updating the SharePoint Foundation 2010 Server of our company to SharePoint Server 2010 I got this error in the Event Viewer: I could solve this error by re enabling the…
This was the situation: I have a SharePoint Foundation 2010 project in VS2010. There I deploy some SharePoint lists with custom views an custom form pages. In one case I wanted to…