For some time now, when reinstalling SharePoint Server (2019 or Subscription Edition), I have noticed that after creating the ConfigDB and Central Administration content database,…
Currently I investigate a problem. A SharePoint Server 2019 page showed me an Internal Server Error 500. SharePoint Server 2019 is installed on Windows Server 2022. The August…
Resently I installed a new SharePoint Server Subscription Edition but in this case only with the latest security update (https://support.microsoft.com/en us/kb/5002191). When I…
This is the link to the SharePoint User Information List: https://sharepoint.example.com / catalogs/users/simple.aspx The bold part must be replaced by the SharePoint site…
Today I could solve a wired problem. It belongs to User Profile "AD Import" on SharePoint Server 2019. The profile overview of a person stated two different information: At the…
My customer tries to save a sub web "as template" using " / layouts/15/savetmpl.aspx ". He gets an "Access Denied" ("This site has not been shared with you") page. It took me a…
On every SharePoint or IIS server I need the following script: Short Version, e.g. for Windows Task Scheduler powershell command “get childitem path c:\inetpub\logs\logfiles…
During configuration of a new SharePoint 2019 farm I got an error in PowerShell Cmdlet New SPConfigurationDatabase . The given key was not present in the directory. I found some…
It has been described lots of times before. It's just for the records... This code sets the used TLS version for secure HTTP connections to version 1.2…
A little bit outdated. I know. But customers not always have the latest server versions running. Today a customer asked me how to create a self signed SSL certificate with…
I got this error: Search Service Application: Crawl Log Error Breakdown <table <tbody <tr <td Access is denied. Verify that either the Default Content Access Account has access to…
Today I did some SharePoint 2016 = 2019 migration tests for a customer. I set up the new farm weeks ago, but today I saw the following error for the first time in the SharePoint…
In Microsoft Edge the default behaviour of "new tab" is it to open a customizable page with Microsoft Bing and other content. The content can be disabled but there is no way to…
I have had this exception on SharePoint 2013 pages on several servers after they are running a for one or two days: "An error occurred during the compilation of the requested…
Today I got an error on my development farm after I updated SP 2013 to SP1 level. I also removed Visual Studio 2012 from the box and installed Visual Studio 2013. In fact I did…
In the last couple of months I got several times the following error: The Managed Metadata Service Application was not accessible in the Central Administration. I checked all know…
Today I had to figure out how to query a SharePoint 2013 REST service from another domain. It took a while to find the correct settings. ; ) There was no list on the internet so I…
I have had a strange error today in my dev lab environment. First I recognized that I could not select users from the People Picker: Sorry, we’re having trouble reaching the…
In my last post I wrote about a supported approach to create a user profile sync connection in SharePoint 2010 using PowerShell and Internet Explorer automation. In the meanwhile…
Before we start… 1\. It’s not supported to create a User Profile Sync connection by script or code using the server object model. We will NOT do this here! 2\. The script in this…
This is just a short note on this topic. I could not find a script in the net. I’m not sure this is part of some SharePoint “config frameworks” like “AutoSPInstaller”. I do not…
Yesterday I had a problem on a new SharePoint 2013 farm that took me some hours to solve it. Problem: I was not able to customize forms (again) using InfoPath on lists after…
Today I got an error while creating a Search Service Application for SharePoint 2013: PS C:\\ $SearchSA = New SPEnterpriseSearchServiceApplication –Name “Enterprise Search Service…
In 02/2011 I created a PowerShell script to set / get / remove SQL Server aliases: https://blog.kenaro.com/2011/02/09/enumerate add update and remove sql server aliases by using…
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…
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 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.” –…
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…
(Original article: https://blog.kenaro.com/2011/06/21/ps2exe tool for converting powershell scripts to standalone exe files/) I have implemented some new switches for PS2EXE: \…
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…
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:…
For development and some related tasks I use PowerShell, of course. – I store the PowerShell scripts in my projects as part of them. They are part of the source code and they are…
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…
During a migration project from MOSS 2007 to SharePoint 2010 we got a strange error that took some hours to resolve. For an automated migration tasks I tried to create a…
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…
On a SharePoint Online site there is no “official” link to the Site Collection Administration page. But you can access them by typing the URL in the browser: http://<your.domain…
Today my second guest blog article on “Hey, Scripting Guy!” was published: http://blogs.technet.com/b/heyscriptingguy/archive/2011/08/21/clean up your powershell environment by…
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…
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…
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…
I’ve created a PowerShell script for adding, updating, enumerating und removing SQL Server aliases. – You can use the script to create/remove/enumerate both 32bit und 64bit…
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 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…
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…
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…
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…