Troubleshooting guides regarding anything tech.
This post describes a peculiar problem that a customer had. In their intranet, all of their employees had a managed metadata -typed managed property in SharePoint User Profile Service and a mapping from that property to RefinableString31. RefinableString31, in turn, was used on Search DisplayTemplates to show the textual value of the managed metadata field. Symptoms The mapping and displaying of the values worked beautifully – except for one user.…Continue reading RefinableString -managed property in SharePoint Online not populating for all items
Are you getting duplicate object values (or whatever those Objects output in .ToString())? Eh, so was I, after I edited the display template for String. Found a fix, though. Description Okay – I just ran into one of my more stupid mistakes since.. Well, since forever. I had made some quick and simple edits in String.cshtml display template (among quite a few other edits before building again and seeing what…Continue reading Duplicate object values in ASP.NET MVC Display Templates? Easy fix!
Have you ever run into this, very non-descriptive and weird SharePoint error message “Cannot uninstall the LanguagePack 0 because it is not deployed”? You could encounter it while running some PowerShell scripts – most typically when trying to update a wsp solution. I have, and luckily often easily solved! Symptoms Assume you’re trying to install, update or uninstall a SharePoint solution (.wsp package) using PowerShell-commands Install-SPSolution, Update-SPSolution, or Uninstall-SPSolution (respectively). The…Continue reading Powershell Error: Cannot uninstall the LanguagePack 0 because it is not deployed.
This post describes how to resolve a kind of cryptic and oddly misdescriptive error message about Parser Error on your ASP.NET application or (an On-Premises) SharePoint site. I ran into this after deploying wsp-packages to a SharePoint farm, but you can apparently get this on ASP.NET MVC sites, too. The error doesn’t actually tell you what’s wrong, so figuring it out took a while. Though hopefully, it helps you! Symptoms: Parser Error…Continue reading “Server Error in ‘/’ Application” or “Parser Error” – it’s actually a malformed web.config killing your ASP.NET-application or SharePoint
In this post, I describe how you can figure out if IE11 (Internet Explorer 11) has jumped into compatibility mode. You will run into this requirement every now and then when trying to figure out some SharePoint browser compatibility mess-up. This is quite frequent because in compatibility mode IE does its best to screw up your CSS. Compatibility view now and before Microsoft has been pretty keen on introducing new…Continue reading Identifying IE11 compatibility mode in SharePoint
This post is about fixing one of the most annoyingly unspecific errors that you can get when activating (Feature Framework) features on SharePoint – “File not found”. Whatever that might mean, right? Problem Ugh. A plain and simple “File not found” is one of the more annoying errors one can stumble upon when trying to activate a feature. It usually gets thrown at you quite quickly after hitting the activation…Continue reading “File not found”error when trying to activate a custom feature on SharePoint
This post describes how to fix possible issues with the Windows hosts file. I’ll first document how to find the damn file, and then go through a bunch of options on what to check and how to fix different possible issues. Opening the hosts -file First of all, the host’s file location is usually: C:\Windows\System32\drivers\etc\hosts (link may or may not work depending on your security settings and browser version, but…Continue reading Troubleshooting guide for Windows hosts file