List of all posts

This page contains a list of all published posts on my blog site. It’s a pretty long list, and it’s just going to become longer ūüôā You may want to select some of the categories from the menu to get less results or maybe use search!

Actually, using search is a GREAT idea! Go ahead and do that. You can find it from the right hand side bar of the page. I’ve tried to tweak it in a way, that it’ll actually return relevant results.

 

All posts from newest to oldest

 

  • Speaking at SPS Twin Cities! April 9, 2018 Exciting announcement to make – I’ll be speaking at SharePoint Saturday Twin Cities (SPS TC for short) on 14.4.2018!¬†It’s¬†one of the biggest¬†SPS¬†events worldwide,¬†and¬†I’m honored¬†my session¬†was accepted on the¬†developer track. I’m really hyped to share some of the cool stuff I’ve been working on!¬†Looking forward to an awesome SPS TC again!I’ve attended SharePoint Saturday Twin Cities once before, in 2017, while living in Wisconsin. The event was so well-organized and warmhearted, that I really wanted to go again… Only this time, I ended up submitting a cool session I’ve been working on. There’s already over 500 people registered to the event ...
    Read more!

  • Opening a web part page in maintenance mode March 27, 2018 Can’t access a web part page because of a broken web part? Yeah, that’s a classic issue – and it’s nicely ported into Modern world, too! In these cases, web part page maintenance mode comes in handy!There’s a query parameter available for accessing it. For whatever reasons, it’s different for Classic and Modern mode, though. Why make things easy if you can make them dificult, right? ūüôā¬†Instructions for Modern ModeModern SharePoint is a whole new user experience. It’s more than a fresh look, it’s designed from the ground up to work on mobile devices, and it addresses dozens of nagging ...
    Read more!

  • Troubleshooting: Anonymous access on a public SharePoint site collection failing March 22, 2018 Ah, everyone’s favorite, classic topic! Debugging SharePoint On-Premises configuration issues is the best thing since sliced bread, right? This post is about allowing/enabling Anonymous Access to a site collection – a simple configuration, that “simply works” like once every ten times you try it.SymptomsA lot of different ways to hit your head on this one. In any case, your on-premises SharePoint doesn’t allow anonymous access to a site where you are trying to allow it. Most typically, they’ll just encounter 401 error when accessing the site, or they might be missing some of the content or styles, resulting in partially ...
    Read more!

  • Hackathon win: Resolving Managed Metadata Madness March 20, 2018 I won a hackathon! They had fun topics, it was a cool challenge, a well organized event, and had cool prizes. Since this is the first hackathon I ever took part in, I thought I’d post something about my experience and the solution(s) I figured out.DescriptionFor a TLDR-version of just the winning solution, click here!¬†I recently took part in a fun hackathon organized by DevPost for Microsoft. Earlier, I posted some info about my hackathon entry,¬†How to Resolve Managed Metadata Madness in SharePoint?¬†I had played around with Flows and Cognitive Services before, but this was the first time I merged ...
    Read more!

  • How to show a Classic SharePoint page in dialog mode (without SharePoint’s full-blown chrome) March 12, 2018 Classic SharePoint actually has a very handy piece of functionality, using which you can hide most of the SharePoint chrome (like header and navigation), and hence make the page a lot more sleek. This is especially useful for showing the contents in a dialog window – which SharePoint also supports natively through JavaScript! This post describes how.How to show any (classic) SharePoint page in dialog mode?Pretty easy – it’s handled via a url parameter!¬†Yeah, weirdly enough at least once something’s easy with SharePoint. Just grab the address of whatever page you’re on, and append a url parameter “IsDlg=1” in the ...
    Read more!

  • How to get rid of Foxit Drive in Foxit Reader March 2, 2018 If you’re like me, you’re not using Adobe Reader, but rather switched to Foxit Reader years ago, and never looked back. Foxit has a great PDF printer, it’s a great reader, but not perfect. The default save location is “Foxit Drive”, and it pops up any time you try to save your document, and at least for me interrupts my workflow. This post describes how to get rid of it, and make Foxit Reader even better!Description of the issueOkay, so Foxit Reader is pretty great, but they’ve got their difficulties, too. Being freeware, they kind of need to get revenue ...
    Read more!

  • Solving error “AADSTS90013: Invalid input received from the user” March 1, 2018 I stumbled upon a customer, that complained about some pages in their intranet throwing weird errors with authentication. Those pages seemed to have one thing in common – there was a Yammer embed (or a SharePoint script webpart with Yammer embed script in it, to be precise) there. The error code they got was “AADSTS90013: Invalid input received from the user”.Okay – this is going to be extremely specific, and probably won’t solve the issue for all of you out there! But this is what worked for this customer:Solution: Check Yammer embed for issues in authentication configurationIn this case, there ...
    Read more!

  • Don’t remove the root site of your classic SharePoint Site Collection! February 27, 2018 A quick heads-up – if you remove the root site of your classic SharePoint Site Collection, that site’s going to be troublesome to deal with. Whereas you can always restore a normal site from the site collection recycle bin, the root site you can’t. You actually can’t access the recycle bin after removing the root site, nor can you make magic happen with PowerShell commandlets anymore.The Recycle Bin would be located at a url like this:¬†https://<yoursite>/_layouts/15/AdminRecycleBin.aspx, but after the site is removed, it won’t be there.¬†If you actually just wanted to get rid of your site collection by removing the ...
    Read more!

  • How to output console or PowerShell transcript to a file in Windows February 1, 2018 Every now and then, you run into a situation, where you’ll need to somehow output the transcript of a console app run. I’m actually going to argue it happens a lot more often than one would think – in my case, any time a customer requires a webjob or a function, that one would normally deploy to Azure, being ran on the servers of the customer.ProblemSomething breaks or the app crashes, and the error is logged to event log… But just the error, not the whole transcript. You’d like to get it all, to figure out what’s actually going on, ...
    Read more!

  • How to fix “- – the web site does not support SharePoint Online credentials. The response status code is ‘Unauthorized'” error January 18, 2018 While running some SharePoint Online -PowerShell commandlets, or connecting to a SharePoint Online site from your app, you get a following (or similar) error about your SharePoint Online credentials being unauthorized for something you should definitely be authorized to do: Cannot contact web site 'https://<tenant>-admin.sharepoint.com/' or the web site does not support SharePoint Online credentials. The response status code is 'Unauthorized'. 123  Cannot contact web site 'https://<tenant>-admin.sharepoint.com/' or the web site does not support SharePoint Online credentials. The response status code is 'Unauthorized'.  And that’s not all – by digging into the full error message, you find the underlying internal error: C# MSDAVEXT_Error=917656; Access+denied.+Before+opening+files+in+this+location%2c+you+must+first+browse+to+the+web+site+and+select+the+option+to+login+automatically. 123  MSDAVEXT_Error=917656; Access+denied.+Before+opening+files+in+this+location%2c+you+must+first+browse+to+the+web+site+and+select+the+option+to+login+automatically.  What awakens ...
    Read more!

  • How to solve “Unified Groups aren’t supported.” -error January 16, 2018 When trying to use some functionality, that relies on Unified Groups, you’re getting errors in the console, similar to this: “Unified Groups aren’t supported.”¬†In truth, this most likely means, that Unified Groups (that’s the internal/technical name for¬†Office 365 Groups) is not enabled for¬†this particular user. That breaks a bunch of different features for them, since the Graph API for Groups of course won’t work. This post describes one way to fix this issue!How to solve this?There’s a fair chance this is caused by missing licenses. Try to access the account’s Outlook by browsing to this address (Office Web Access):¬†https://outlook.office.com/owa/If you ...
    Read more!

  • How to Resolve Managed Metadata Madness in SharePoint? January 12, 2018 Using Azure Functions and Cognitive Services Text API to enrich a Flow that fills Metadata for new items in a Modern SharePoint Team Site. That’s, in a nutshell, the solution I submitted to a recent online hackathon. Quite a mouthful, isn’t it? The whole solution (and a public vote, if you’re interested!) is available here:¬†https://devpost.com/software/resolving-managed-metadata-madness-in-sharepoint¬†– this blog post will describe the solution and the reasoning behind it.PrefaceSome time ago my manager asked me to take a few weeks off, since I had accrued quite a lot of overtime during the hectic months working for Valo. I got bored quite quickly, ...
    Read more!

  • Using “DetectedLanguage” to return only localized results from SharePoint Search index January 9, 2018 Localization and targeting of content in multilingual SharePoint installations is always an issue. SharePoint offers a multitude of ways profile content based on user language (or other properties), but none of the solutions are fool proof. This post describes how to fetch only localized results from SharePoint Search index, which solves at least some of the issues.Description¬†SharePoint Search index can be used in quite a few different ways. Probably the most typical way is by searching on SharePoint, or using webparts like Content Search or Content Results. However, one can also build custom functionality, custom client-side liftups, webjobs, single-page applications, ...
    Read more!

  • How to form links to Planner tasks January 7, 2018 Office 365 Planner is a neat tool for task management. However, when you, for whatever use case, need to form urls that point you towards a single task (or a bucket, or a plan for that matter), you might run into trouble with how the url is formed. Custom domains actually make it a bit complicated, but luckily there’s a workaround!Description of the issueIf you have multiple domains in your Azure AD, your Planner might end up using your custom domain in its urls. However, if you need to develop some multi-tenant code, that works with any tenant and whatever ...
    Read more!

  • Call to sites Graph API requires “owner” permissions for site collection regardless of app permissions December 19, 2017 Okay – yet another weird issue, and a hacky workaround. I was developing an app that was calling a SharePoint site through Graph API, using jQuery $.ajax call (developed in TypeScript), and ran into surprising 401 errors. I did find a workaround, but am also working on an actual fix.DescriptionTo get SharePoint site ID, which is needed when accessing SharePoint lists, the calls seemed to fail for my test accounts. Everything was working fine for my developer account, which was a global admin, so the first thing I was suspecting was of course permissions…The first offending test account was a ...
    Read more!

  • The Shortest Debugging Article For SharePoint’s Taxonomy Fields Ever December 12, 2017 Are you getting an error like “The SPListItem being updated was not retrieved with all taxonomy fields” when you try adding or modifying values in a TaxonomyField of a list item in SharePoint? Then read ahead, I’ve got a quick and dirty solution!ReasonAfter quick googling and some frustration, I figured the probable reason for the issue. SharePoint went and broke the link between the internal Note-field and the actual TaxonomyField you’re supposed to be using. And this causes SharePoint to return slightly confusing errors.In my case, my app actually just got a simple JSON response¬†{“The SPListItem being updated was not ...
    Read more!

  • Alternative Languages in SharePoint forcing the (cumbersome) use of localized Managed Properties December 7, 2017 Localization and multilingual environments in SharePoint are an endless source of interesting issues and blog post topics. In one case, we had a tenant created originally in English, and a site collection created in Finnish. In this particular case, SharePoint somehow messed up the language settings, and ended up requiring the use of localized managed properties on the search center of that site collection. That ended up being unexpected, unituitive and unusable for the end-users.Description of the issueTypically, when you use SharePoint Search, you can use managed properties to search for values in certain fields or columns of any items ...
    Read more!

  • Web part title changes not reflected to some users in multilingual SharePoint environment December 5, 2017 ‚Äč‚ÄčWhen changing the web part title on a web part on a classic SharePoint page, changes seem to be saved for you. In reality, they are only reflected to some users.. And some users, on some devices, see the old title, whereas some see the new one. It’s a confusing situation and difficult to debug.Why do web part titles get changed seemingly randomly?Imagine this: You have a SharePoint¬†environment, where you have multiple different languages set up. You also have users with multiple different workstation configurations – including multiple different languages. Different users, however, quite randomly see different revisions of web ...
    Read more!

  • 4 ways to fix error AADSTS65001 (The user or administrator has not consented to use the application) November 20, 2017 Fixing issues with Azure AD authentication for Enterprise applications can be tricky. This article contains multiple different fixes to an issue, where granting admin consent has somehow failed. Not all of the different solutions will work for all situations, though! That’s why I included a couple of different options to try… ūüôāWhy do you even get issues with Admin Consent (like AADSTS65001)?Imagine this: You’re trying to add or use an app, but the requires such permissions from your tenant, that only an administrator can grant.Typically to add this kind of an app, you’ll have to be a global administrator. If ...
    Read more!

  • How to use the Azure AD associated with your SharePoint Online November 3, 2017 With the usual configuration of Office 365 and Azure, there might be multiple Azure AD (AAD) instances associated with your subscription. When creating registrations to whatever SharePoint-related apps that you might be using, if you create the registration to the wrong Azure AD, it can’t access the data in your SharePoint. Or at least without further configurations, it probably won’t get any data from your Office Graph API or whatever else you might want to use.¬†How to find the instance of Azure AD associated with your SharePoint OnlineIt’s simple, luckily!¬†This guide will show you how to select the right AAD ...
    Read more!

  • New version of Microsoft.IdentityModel.Clients.ActiveDirectory (ADAL.NET) is out – good time to update! October 27, 2017 ¬†There’s now a new version of the assembly Microsoft.IdentityModel.Clients.ActiveDirectory available – plenty of reasons to update right away! Let me offer you one hot take on the matter.Why bother updating?In an earlier post I described an issue I had with¬†Microsoft.IdentityModel.Clients.ActiveDirectory.Platform not getting copied during the build in a referencing project. In 3.17.0, which the developers published this month, they fixed the issue! The new package actually contains separate DLLs for different platforms.In essence this means, that from C#/.NET -developer’s standing point, the team has assimilated the¬†Microsoft.IdentityModel.Clients.ActiveDirectory.Platform assembly, among other platform DLLs, into¬†Microsoft.IdentityModel.Clients.ActiveDirectory package itself. Hence, you’ll need no more funky ...
    Read more!

  • A quick (and handy!) hack to force referenced assembly to getting copied to a project October 23, 2017 Visual Studio failing to copy a referenced assembly to a project in build might lead to surprising runtime errors. This post will explain one method of fixing these issues, using¬†Microsoft.IdentityModel.Clients.ActiveDirectory as the example – as earlier versions of that assembly had this issue!ProblemAfter build, you might get this kind of error: C# Could not load file or assembly 'Microsoft.IdentityModel.Clients.ActiveDirectory.Platform, Version=3.13.1.846, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified. System.IO.FileNotFoundException at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) at System.Reflection.RuntimeAssembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly ...
    Read more!

  • The effect of using Managed Navigation instead of Structural on SharePoint Online September 22, 2017 Have you ever noticed that your SharePoint site just gets slower and slower? That’s probably because the performance of Structural Navigation is absolutely horrible, especially vs. Managed Navigation. This blog post includes our findings about the issue, and I also include some explanation of the reasons behind the difference and a simple comparison to Search-based navigation.Structural NavigationThe first option would be structural navigation, which is more or less the traditional, easy solution. Without anything else done, this is enabled as the default option on classic SharePoint sites.By far the most customizable and tweakable optionEasy to edit for editors/adminsGood performance on-premises, ...
    Read more!

  • Solving Microsoft Teams Licensing Error “errorCodeTeamsDisabledForTenantForbidden” September 13, 2017 This post explains how to fix the “errorCodeTeamsDisabledForTenantForbidden” error when trying to add guest users to Microsoft Teams channel. This issue might arise when a user is invited to a channel in your organization’s Microsoft Teams for the first time. Fixing it usually just requires a flip of a switch, but might also include some waiting.SymptomsYou get an error screen like this, when trying to join a Teams channel as a guest user.No fear, though – likely an easy fix!ReasonThis is pretty simple: Teams usage is not enabled for guest users. The usage of certain services can be enabled for ...
    Read more!

  • SharePoint-Teams -integration using a tab September 11, 2017 This post describes one possible scenario for SharePoint-Teams -integration, how to achieve that, and what kind of issues there might be.Teams? What’s that?At Blue Meteorite, we at the Valo team have been leveraging Teams since early 2017 as our main communications channel. For us, it complements Yammer, email and Skype for Business quite nicely, although to be fair, it’s not always 100% clear which channel would be optimal for a certain piece of communication… ūüôāThe Redmond Magazine calls Teams Microsoft’s response to Slack, and for someone who has used both, the source of inspiration is rather obvious. Built for “high-velocity ...
    Read more!

  • How to solve errors about missing PnP Cmdlets on PowerShell September 10, 2017 This blog posts briefly describes how to solve some of the most typical errors about missing PnP Cmdlets when using Windows Powershell (or SharePoint Online Management Shell).SymptomsWhen trying to run some PnP-related cmdlet, you get an error similar to ones below: PowerShell Connect-PnPOnline : The term 'Connect-PnPOnline' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.At C:\Users\koskela\Downloads\Import-Valo-With-Content\Import\New-Valo.ps1:46 char:5+ Connect-PnPOnline -Url $AdminUrl+ ~~~~~~~~~~~~~~~~~ + CategoryInfo ...
    Read more!

  • Fixing the “For security reasons DTD is prohibited in this XML document.” issue July 14, 2017 This post describes a couple of ways to fix the issue¬†“For security reasons DTD is prohibited in this XML document”. At least for me, it appeared when trying to access SharePoint Online using Powershell or a console program using OfficeDev.PnP (which in turn uses CSOM).ErrorWhen running any piece of code, whether in PowerShell, .exe console or anything else than in the code behind relies on .NET Framework, you get an error like this: PowerShell For security reasons DTD is prohibited in this XML document. To enable DTD processing set the ProhibitDtd property on XmlReaderSettings to false and pass the settings into XmlReader.Create ...
    Read more!

  • Unorthodox configuration: How to use VLK and Click-to-run Office Apps side-by-side (Visio and Office 2016 as an example) July 4, 2017 Ever had issues with different versions of Office programs not living in harmony together? Me too! This post describes how I was able to fix the issue and get Visio and Office 2016 of different installation types to play well together.PrefaceThis blog post was inspired by my need to have Office 365 ProPlus (2016 versions) and Visio running side-by-side on my laptop. That turned out to be a lot more complicated than it arguably should be, so I documented the steps for further use. These instructions are written for that particular scenario (installing MS Visio on a machine with pre-existing ...
    Read more!

  • Preventing Outlook (and other programs) from stealing focus April 24, 2017 This post describes how to stop Windows applications from stealing focus from each other. In a practical sense, no piece of software should be able to “jump” to the top and activate your cursor in it, after the steps in this blog post have been applied.DescriptionAfter some recent batch of Windows updates my Outlook desktop client started stealing focus whenever there was a new email coming in. Like most people, I get a lot of email, and after a while my humor completely ran out with Outlook jumping in, stealing my keystrokes and doing whatever those keystrokes were bound to ...
    Read more!

  • USA 5: Working for Valo Intranet – and what’ve I been up to last few months April 12, 2017 I haven’t actually written that much about my daily work on this blog. I’m currently mostly involved with the Blue Meteorite’s North America team, and specialized in partner acquisition and support. Most of my time is spent either onboarding new partners, or supporting the old ones in their Valo Intranet deployments. And boy, is that not a lot of fun to do! Never before have I been able to work with so many talented people from so many different organizations, and that’s been both challenging and rewarding.I actually wrote a few words about it on Valo Intranet’s wwebsite.. And thought ...
    Read more!

  • Using SharePoint Search Query Tool March 13, 2017 If you’re working on SharePoint deployments, and aren’t familiar with SharePoint Search Query Tool, you’re probably doing something wrong. Or you’ve gotten a really troublefree tenant and simple requirements.. ūüôā At least for technical issues, it’s the #1 tool for debugging what’s in the index and what isn’t. This blog post describes how to use it to investigate SharePoint Online Search index issues.This blog post is about using SharePoint Search Query Tool to investigate search index issues in SharePoint Online. First of all, you can get the tool from here:¬†https://sp2013searchtool.codeplex.com/.ContentsLogging in tricksFetching all managed propertiesOther tips Logging in to strange or ...
    Read more!

  • One web developer’s story about the downfall of web hosting (EIG / Site5 review) – part 2 March 9, 2017 I was able to actually get most of the money EIG got from me back from them by opening a Visa claim. In this short post, I’ll try to explain how you can stop your money from being funneled to EIG’s greedy hands, if your hosting provider was taken over by them.What happened to Site5 (and others that were savaged by EIG)?I was a customer of Site5 pretty happily for a long time, until Endurance International Group (EIG) took them over, wrecked their infrastructure, likely moved all of the customer data outside EU (which is against our laws) and let ...
    Read more!

  • Easiest way to debug Seed-method in EF Code-first migrations in Configuration.cs when running Update-Database March 7, 2017 This post describes the easiest way to debug the issues that may stop your Seed-method in Configuration.cs from going through. The solution here shows you, how you can get a little bit more information out of the process, without attaching the debugger (there’s another blog post for that!)DescriptionEntity Framework’s code-first migration’s are a beautiful and easy way of managing database schema changes and populating some preliminary data there. Personally I also sometimes use the method for adding some enrichment to data or or custom property values mapping that would otherwise require an additional/external console program.Problem: running the Seed-method is by ...
    Read more!

  • Using Google Analytics with SharePoint February 21, 2017 This post describes why it’s beneficial to use a user analytics tool in your intranet. I use Google Analytics as an example of such tool, and different deployment options for SharePoint intranets are covered briefly.Why would I use Google Analytics with my SharePoint intranet?In general, it’s absolutely necessary for you to know your users, if you want to deliver an enjoyable user experience. One key aspect of knowing them is knowing what they do, while they use your system or service. SharePoint being a web-based software, it’s quite logical to use one of the many user analytics suites available for ...
    Read more!

  • Fixing the “Could not load file or assembly … or one of its dependencies” error February 15, 2017 This post describes how to fix the “Could not load file or assembly ‘<assemblyname>’ or one of its dependencies. An attempt was made to load a program with an incorrect format.” error.¬†ProblemEspecially while installing a new dev machine, and building your project for the first time, you may end up getting the following exception: PowerShell Could not load file or assembly '<assemblyname>' or one of its dependencies. An attempt was made to load a program with an incorrect format. 123  Could not load file or assembly '<assemblyname>' or one of its dependencies. An attempt was made to load a program with an incorrect format.  No ...
    Read more!

  • Site Mailboxes deprecated on SharePoint Online – use Office Groups instead February 6, 2017 Microsoft is deprecating, or even removing one of the widely used features in SharePoint sites – Site Mailboxes. For the end-user this might no mean much, but still requires some additional work from the administration side. In this post, I’m trying to give a rough outline, on what you (as an administrator/content producer) should do.So, what exactly is happening?I just noticed the following in our SharePoint Online tenant administration: We're removing Site Mailboxes in SharePoint Online We're removing Site Mailboxes in SharePoint OnlineMC92090Julkaistu : 31. tammikuuta 2017Vanhenee : 15. syyskuuta 2017Beginning March 2017, new SharePoint Online organizations will no longer have access ...
    Read more!

  • USA, 4: You really, REALLY need a car to get around. Hence, Cadillac! February 5, 2017 This is the fourth post depicting me and my wife’s excursion to the USA. We are in the country to study, travel, business and leisure. Short version of the post: we went and got a car, because we didn’t have any other options.So, what’s up?We’ve been in the country for a couple of weeks. If there’s one thing, that’s become painfully clear, it’s the fact that you really need a car to get anywhere in this country. The only stores in Whitewater are Walgreens and Walmart, the latter being the worst kind of supermarket, where everyone goes by car. Even ...
    Read more!

  • USA, 3: Epic and local IT industry excursions January 27, 2017 This post is about our first excursion with the international student group to see Epic System’s HQ. During the first days I also walked around the town a bit in search of wall plug adapters, and accidentally made contact with the local IT industry.Getting my weird EU tech working in the StatesI took some tech with me to States – namely a laptop, its dock and a couple of mobile phones. I didn’t want to purchase transformers and charger for all my devices, so I took a couple of converters with me from Finland, and thought I’d buy a few ...
    Read more!

  • Fixing Lenovo T460S Wifi connectivity issues (removing the evil versions of Intel Dual Bank Wireless-AC 8260 driver) January 24, 2017 I recently received a new work laptop – Lenovo T460S. A cute little thing with impressive performance and reasonably good battery life. However, what people frequently complaing about online in regards of this laptop, is its absolutely, horribly awful wifi. This, in turn, is probably caused by it’s bad wifi chip, Intel Dual Bank Wireless-AC 8260. And they’re right – it’s a load of crap.The laptop out-of-the-box, at least for me, requires a very strong wifi signal. You need to be close to the router and without any obstructions, or you’ll end up with a connection like mine – see ...
    Read more!

  • USA, 2: Traveling to Chicago O’Hare for Business and Leisure January 24, 2017 This is the second post about me and my wife’s excursion to USA and all the traveling we did. We’ll be spending 6 months in the country, to study, attend conferences, travel and compare the culture to Finland. Hopefully we’ll learn something about ourselves and the world along the way!Transatlantic flightThe trip from Kangasala to Whitewater was definitely not a fast one. Driving from Kangasala to Helsinki-Vantaa Airport in Finland took a few hours, we had to wait for the flight for a couple of hours, before a 4-hour flight to Keflavik (in Iceland).¬†While waiting on Helsinki-Vantaa, we met a ...
    Read more!

  • Getting Connect-MsolService (and other SharePoint Online cmdlets) to work January 20, 2017 In this post, I’ll try to archive everything you need to download and install to get commandlets like Connect-MsolService working. I’ve had to do it a couple of times when changing laptops, so it’s good to document them somewhere! ūüôāI’ll try to even keep this updated as things change.Required installations:Microsoft Online Services Sign-In Assistant for IT Professionals RTWhttps://www.microsoft.com/en-us/download/details.aspx?id=28177SharePoint Online Management Shellhttps://www.microsoft.com/en-us/download/details.aspx?id=35588Windows Azure Active Directory Module for Windows PowerShell (v1)http://connect.microsoft.com/site1164/Downloads/DownloadDetails.aspx?DownloadID=59185¬†Update 5.3.2018:¬†Microsoft actually moved this documentation, and apparently hid it behind authentication somewhere (might require Global Admin or similar on your tenant to even READ IT… That’s smart.)If you installed it before, ...
    Read more!

  • USA, 1: Initial Thoughts January 20, 2017 I’m staying in the United States of America for the first 6 months of 2017 for both work and leisure. In case you’d need to contact me during that time, that’s doable by normal means (Twitter/email). Just the timeframe’s a tad different due to my location being 8 hours from Finland (-6 UTC time zone). This blog post kind of sets the initial mood and expectations for the trip.Excuse me – who’s doing what?So – we are going to United States. But why?Well, that’s a valid question. I mean, who in their right mind would want to stay in the ...
    Read more!

  • One web developer’s story about the downfall of web hosting (EIG review) – part 1 December 30, 2016 Okay, so this is going to be a bloggish rant about EIG – Endurance International – a web “hosting” company that’s ruining the web for everyone. If you hate salty rants, browse something else, please.For a short version, check this out.I’ve been an independent web developer since around 2004, and even though maintaining and hosting websites is currently more of a hobby than anything else, I still do have a few dozen customers with one or more websites or other systems hosted by me. For more than 10 years I’ve been hosting both my and my customers’ websites on a ...
    Read more!

  • Remove-SPODeletedSite – Actually removing a SharePoint Online Site Collection December 2, 2016 This post describes the actual, working and fast¬†process of removing a site collection in SharePoint Online using the¬†Remove-SPODeletedSite commandlet in SharePoint Online Management Shell (a flavor of PowerShell).DescriptionSometimes you need to get rid of a site collection you’ve created in SharePoint Online. The most typical example perhap being removing the team site created for a group of people working together. That’s pretty simple and there are a few ways of doing that. For example, you might just go ahead, and delete the site from Site Settings (see below).Or maybe you’re a smart admin, and you go and remove it from ...
    Read more!

  • Launching a new debugger instance from code in Visual Studio November 16, 2016 This post describes a quick solution to launching a new Visual Studio instance for debugging the code. Where I’ve found this exceptionally useful, has been in debugging code-first migration’s (one of the ways for database initialiation in .NET) Seed-method. It is by default undebuggable, as when you are running Update-Database you can’t really use a -debug switch or anything, and there’s really no way to launch the debugger. Hence the best you can do is using -verbose to get more information.However, if you actually want to see what is happening in the code, here’s the solution.Solution: launcing the debugger programmaticallyOkay ...
    Read more!

  • Fixing error “No Entity Framework provider found for the ADO.NET provider with invariant name ‘System.Data.SqlClient'” November 12, 2016 This post describes the fix to error¬†“No Entity Framework provider found for the ADO.NET provider with invariant name ‘System.Data.SqlClient'”, which Visual Studio throws at your face when you try to run an application on any Windows-based system (or which you’ve dug out of event logs). Also, you’re probably using Entity Framework in your project.ErrorWhen debugging/running your code you get an error like this: PowerShell An exception of type 'System.InvalidOperationException' occurred in EntityFramework.dll but was not handled in user codeAdditional information: No Entity Framework provider found for the ADO.NET provider with invariant name 'System.Data.SqlClient'. Make sure the provider is registered in the 'entityFramework' ...
    Read more!

  • Using Dispatcher to update values in GUI elements from a background thread October 13, 2016 Quick tip: If you’re developing something like a WPF app and you’ll need to update values on the User Interface based on a long-running operation that runs in a background thread (like depicted here), you’ll probably need to use Dispatcher, or otherwise you’ll run into issues with the GUI elements being owned by another thread, and therefore forbidding access to them. This can result in an error like this: An unhandled exception of type 'System.InvalidOperationException' occurred in WindowsBase.dllAdditional information: The calling thread cannot access this object because a different thread owns it. 12345  An unhandled exception of type 'System.InvalidOperationException' occurred in WindowsBase.dll Additional ...
    Read more!

  • Disabling Delve/MySite redirection from SharePoint Site Collections October 4, 2016 In this post I instruct a simple way to stop SharePoint (either on-premises installation or SharePoint Online) from redirecting to MySites or Delve. The normal behavior is, that this happens when users click any name of a user anywhere in SharePoint. This is often not desired, and sometimes just confusing or impractical.ProblemIf your customers are like mine, a lot of them hate Delve or MySite or both. Or maybe they just are’nt willing to yet adopt Delve. Or maybe they just want to simplify the team site experience for their users and get rid of extra redirects away from the ...
    Read more!

  • Applying Entity Framework’s Code-First Migrations against a Database in Azure by running Update-Database September 16, 2016 This post describes how to run Entity Framework’s code-first migrations against a database located in the Windows Azure. This is done by running Update-Database commandlet with suitable switches, see below.The problem and symptomsOkay, so you’re developing your MVC+EF cool web app with a database in Azure, and you’re using code-first migrations. Cool! What’s nice with code-first-migrations is the fact they are run automatically even in the cloud the next time your app is running (as long as you publish your app with that little box ticked – something like in the screen capture below). But wait – what if there ...
    Read more!

  • Updating files in an App Part (SharePoint Add-in) September 12, 2016 Luckily, SharePoint Add-ins (or App Parts, like they were called earlier)¬†are slowly getting¬†killed and rooted out of all the sites they once were deployed to – and I don’t think anyone’s going to miss them. However, as so often happens with legacy implementations, there will still be thousands of sites, where SharePoint administrators and developers will be responsible for maintaining and developing the solutions further. This will occasionally require updating app parts, which is a process that kind of sucks. Here I’ll try to simplify the process.Problem(s)Not all the files in an app part are updated during the deployment and ...
    Read more!

  • Fixing “Connect-SPOService : Identity Client Runtime Library (IDCRL) could not look up the realm information for a federated sign-in.” -error September 2, 2016 SymptomsWhile running your SharePoint Online Management Shell scripts (yeah – PowerShell -scripts against the cloud) you can’t get anything done but instead fail at connecting to the SharePoint Online with the following error message: PowerShell Connect-SPOService : Identity Client Runtime Library (IDCRL) could not look up the realm information for a federated sign-in. 123  Connect-SPOService : Identity Client Runtime Library (IDCRL) could not look up the realm information for a federated sign-in.  Just for a handy reminder, this is the syntax of the cmdlet: C# Connect-SPOService 123  Connect-SPOService   (From http://technet.microsoft.com/en-us/library/fp161392.aspx)SolutionDespite what the error message says, the error is probably not that much ...
    Read more!

  • Exception of type ‘System.OutOfMemoryException’ was thrown. August 25, 2016 This post describes one of the more no-brainerish ways of fixing a ‘System.OutOfMemoryException’ exceptions being thrown in your MVC ASP.Net application using Entity Framework.ProblemWhile developing a web project, for example ASP.NET MVC with EF, sometimes when handling a lot of data or complex entities on your dev machine, you encounter this error: C# OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.] System.Text.StringBuilder.ToString() +35 System.IO.StreamReader.ReadToEnd() +123 System.Web.Optimization.BundleFile.ApplyTransforms() +74 System.Web.Optimization.DefaultBundleBuilder.BuildBundleContent(Bundle bundle, BundleContext context, IEnumerable`1 files) +472 System.Web.Optimization.Bundle.GenerateBundleResponse(BundleContext context) +127 System.Web.Optimization.Bundle.GetBundleResponse(BundleContext context) +45 System.Web.Optimization.BundleResolver.GetBundleContents(String virtualPath) +166 System.Web.Optimization.AssetManager.DeterminePathsToRender(IEnumerable`1 assets) +205 ...
    Read more!

  • Fixed: Cannot use JSX unless the ‘–jsx’ flag is provided August 2, 2016 This blog post is about fixing issues related to building a project with TypeScript files. Basically, if your jsx or tsx -files are not getting built to js-files (which is what the browser understands) in Visual Studio’s build, this post might solve the issue for you.DescriptionWhile converting a project using React.js to TypeScript (and, hence, to use .ts and .tsx files instead of .js and .jsx) I stumbled upon this error: MS DOS Cannot use JSX unless the '--jsx' flag is provided 123  Cannot use JSX unless the '--jsx' flag is provided  The project would not build a .tsx-file with ReactDOM.render(…) in it. This is ...
    Read more!

  • Tip: Scroll Solution Explorer to current file in Visual Studio 2012, 2013, 2015 and 2017 July 25, 2016 This quick post describes how to get the Solution Explorer to actually track your currently open file. For some reason, this extremely useful feature is disabled by default in Visual Studio. Enabling it helps you to keep your context, and see which part of your solution you’re in, while you’re developing a complex piece of software. Extremely useful!What and how?I always want the Visual Studio Solution Explorer to show me the context where I work at. Since in a typical software project, your code is going to be¬† – kind of follow me around while I jump from file to ...
    Read more!

  • Solving Azure Web Application’s first load perfomance issues July 19, 2016 Is your Azure Web Application suffering from absolutely horrible load times every time someone access it for the first time every 15 minutes or so? Mine was.I was developing a web-based service using EF6 and ASP.NET MVC 5, where all the assets were hosted in the Azure. Even though the app was reasonably lightweight and usually responded very fast, the first time someone accessed it in a while it took 20-60 seconds to load AND sometimes even timeouted (especially with mobile clients). Load testing revealed only the what I already knew: initial load times were horrendous, but after that everything ...
    Read more!

  • Solving the “Spatial types and functions are not available …” -problem June 7, 2016 This page describes mutiple ways on how to fix the exception¬†‘Spatial types and functions are not available for this provider because the assembly ‚ÄėMicrosoft.SqlServer.Types‚Äô version 10 or higher could not be found.‘ which comes up during debugging or publishing your program, app or service using DbGeography.SymptomsWhile running a console program or perhaps installing an ASP.NET MVC website on a machine, where SQL Server (apart from the one that comes with the Visual Studio) has not been installed, you may encounter the following error: C# Spatial types and functions are not available for this provider because the assembly ‚ÄėMicrosoft.SqlServer.Types‚Äô version 10 or higher ...
    Read more!

  • Fixing the error: “Column XX in table dbo.YY is of a type that is invalid for use as a key column in an index.” May 29, 2016 While using Entity Framework and code-first migrations, Entity Framework (EF) creates the indexes for you – but what if you need to create a custom one, explicitly based on certain field / column? Then you’ll have to tell EF which one to use as a key column. Usually, it’s easy – you just add the following annotation to the columns you’ll be using: C# public¬†int¬†AreaId¬†{¬†get;¬†set;¬†} public¬†string¬†EstateId¬†{¬†get;¬†set;¬†} 1234567   public¬†string¬†EstateId¬†{¬†get;¬†set;¬†}  (example stripped of extra code and other columns for clarity)And after adding the migration (Add-Migration… commandlet)¬†you get something like this: C# CreateIndex("dbo.Areas",¬†new¬†{¬†"AreaId",¬†"EstateId"¬†},¬†name:¬†"OfficialIds"); 123  CreateIndex("dbo.Areas",¬†new¬†{¬†"AreaId",¬†"EstateId"¬†},¬†name:¬†"OfficialIds");  But what if, when running Update-Database, you get an error like: C# Column XX in table dbo.YY is of ...
    Read more!

  • RefinableString -managed property in SharePoint Online not populating for all items April 5, 2016 This post describes a peculiar problem one 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.SymptomsThe mapping and displaying the values worked beautifully – except for one user. Her people search results profile wouldn’t show her office address no matter how long the customer waited for the content to be reindexed, even though the data did exist in Active Directory.The DisplayTemplate was ...
    Read more!

  • Tweaking the SharePoint list view search box to filter on managed metadata fields March 17, 2016 This post contains minor but nifty tweak to search box in SharePoint list views. Applies to 2013, and Office 365 (for now). Pretty basic stuff, but had to figure this out for a customer so can just as well document it here ūüôāOkay – so a customer needed to be able to filter view items in a SharePoint list by values in a keyword-field (managed metadata, with values added by editor users), and wanted to use the SharePoint’s searchbox.¬†The problem was, out of the box this field does not search from “Enterprise Keywords”-field (or any similar field). This searchbox does, ...
    Read more!

  • Duplicate object values in ASP.NET MVC DisplayTemplates? Easy fix. February 14, 2016 Are you getting duplicate object values (or whatever those Objects output in ToString())? Eh, so was I. Found a fix, though.DescriptionOkay – 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 displaytemplate (among quite a few other edits before building again and seeing what happened), as I added support for Enum values there. After that I started getting duplicate values for String-typed properties.¬†Apparently, mistakes were made.SolutionLuckily, this was easy to fix (but still worth documenting): I had added the code for handling Enum-values, and also changed ...
    Read more!

  • Fixing “An error occurred while updating the entries” while running code-first migrations in MVC 5 app February 7, 2016 This post describes an issue with EF’s code-first migrations, when mapping between DB’s DateTime and C#’s DateTime kind of fails, and results in Update-Database cmdlet failing. It’s more or less a prime example of a situation, where the error itself tells very little about the actual issue, and since debugging code-first migrations is kind of difficult (see the best tips for that here!), it’s cumbersome to investigate.SymptomsWhile running Update-Database in a code-first ASP.NET MVC5 + EF6 -project, you get a following (or similar) error:An error occurred while updating the entries. See the inner exception for details.The whole, pretty terrifying error ...
    Read more!

  • Fixing error “Cannot open server – – requested by the login. Client with IP address – – is not allowed to access the server.” in Azure deployments from Visual Studio January 30, 2016 This post describes how to work your way around the exception ‘Cannot open server – requested by login…’ The issue is caused by Azure’s somewhat annoying firewall logic, and¬†might stop you from accessing your databases from your development machine.SymptomsWhen trying to publish a web project to Azure from Visual Studio, you suddenly get the following (or similar) error message:“Cannot open server ‘xxx.xxx.xxx.xxx’ requested by the login. Client with IP address ‘xxx.xxx.xxx.xxx’ is not allowed to access the server. To enable access, use the SQL Azure Portal or run sp_set_firewall_rule on the master database to create a firewall rule for this ...
    Read more!

  • Using PowerShell to set ULS logging level to “extra verbose” to catch all the events in the logs January 21, 2016 This blog post describes how set the SharePoint’s ULS level to “Extra Verbose” (VerboseEx) using PowerShell. This is not possible using the browser UI, so some POSH magic is required! Luckily, it’s quite straightforward, but to avoid filling your hard drive(s) with huge log files, you should reset the level when you’re done debugging!Description of the solutionBy default, ULS logging is somewhat non-detailed. This means that a lot of data that could be used to debug issues is omitted. The UI cannot be used to set this level of logging to “Extra Verbose” – it is limited to verbose. In ...
    Read more!

  • Using PowerShell to modify anonymous access permissions on SharePoint On-Premises January 5, 2016 This post is about managing Anonymous Access on a SharePoint site (SPWeb) using PowerShell commandlets. It’s often a lot more feasible and even easier than using the browser interface!DescriptionAssume you have a site collection that’s published to the whole world. You’ll have anonymous access enabled at both web application and site collection -levels, and configured permissions at the root web -level. Now, let’s assume you want to disable anonymous access on a certain site deeper in the site structure. This way anonymous users could access your site at http://site.com and http://site.com/subsite, but not at http://site.com/subsite/deepsubsite. As an added bonus, that ...
    Read more!

  • Powershell Error: Cannot uninstall the LanguagePack 0 because it is not deployed. November 17, 2015 Thi s post offers a solution to the very non-descriptive SharePoint error message¬†“Cannot uninstall the LanguagePack 0 because it is not deployed”, which might appear while trying to update a wsp solution.SymptomsAssume you’re trying to install, update or uninstall a SharePoint solution (.wsp package) using PowerShell-commands Install-SPSolution, Update-SPSolution or Uninstall-SPSolution (respectively). Operation fails with the following (or similar) error: PowerShell Error: Cannot uninstall the LanguagePack 0 because it is not deployed 123  Error: Cannot uninstall the LanguagePack 0 because it is not deployed  I have actually seen this also in the form of “Cannot uninstall Language Pack 0 because it is not deployed”, but I ...
    Read more!

  • Malformed web.config killing your ASP.NET-application or SharePoint (“Server Error in ‘/’ Application” or “Parser Error”) October 20, 2015 SymptomsOnce you navigate to your site, you only get en error like this:Server Error in ‘/’ Application.Parser ErrorDescription: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.Parser Error Message: Index was outside the bounds of the array.The next few rows (source of the error) seem to vary wildly, but they’re something like this:Parser ErrorLine 3: <WebControls:XmlUrlDataSource runat=”server” AuthType=”None” HttpMethod=”GET”> Line 4: <DataFileParameters> Line 5: <WebPartPages:DataFormParameter Name=”RequestUrl” ParameterKey=”RequestUrl” PropertyName=”ParameterValues”/> Line 6: </DataFileParameters> Line 7: </WebControls:XmlUrlDataSource>SolutionMost likely a wsp deploy or something else ...
    Read more!

  • Visual Studio 2010 fails to show the design view of an aspx-page October 1, 2015 This post is about solving the issue with Visual Studio 2010 failing to show the design view of an .aspx-page. Luckily, it’s an easy and pretty classical fix.SymptomsWhile trying to view or edit an aspx-page in design mode in Visual Studio 2010, the window is just plain empty and there’s little you can do about it – selecting view markup or hitting F7 may not do anything and restarting the Visual Studio doesn’t help.SolutionThe Design view requires connection to the SharePoint site where you’ll be deploying the solution (or rather, any site). Set the Site URL property in the project ...
    Read more!

  • Quickest way to download all the wsp-packages in a SharePoint farm September 21, 2015 Downloading all deployed farm solutions (wsp-packages) from a SharePoint farm is pretty simple using PowerShell. No need to download individual packages through cumbersome interfaces!Solution PowerShell $FolderPath = "c:\backup\wsp" foreach ($solution in Get-SPSolution) { $id = $Solution.SolutionID $title = $Solution.Name $filename = $Solution.SolutionFile.Name $solution.SolutionFile.SaveAs("$FolderPath\$filename") } 12345678910  $FolderPath = "c:\backup\wsp"  foreach ($solution in Get-SPSolution)  {     $id = $Solution.SolutionID     $title = $Solution.Name     $filename = $Solution.SolutionFile.Name     $solution.SolutionFile.SaveAs("$FolderPath\$filename")  }  Got this one from the cool guys at C-Sharp Corner.
    Read more!

  • The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters. September 3, 2015 This post describes a few different ways of fixing the error “The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.” one can get when trying to package/publish a SharePoint solution, web site or Azure Webjob.UPDATE 11.4.2016:¬†I actually got this nasty exception on another occasion (Azure webjob publish), so I updated the text accordingly.SymptomsVisual Studio throws the following error when packaging a SharePoint solution to a .wsp file, OR when deploying or publishing your¬†web project (for example Azure Webjob). C# The ...
    Read more!

  • How to log in to SharePoint as a different user? August 7, 2015 SharePoint 2013 and 2016 don’t have that old and familiar “sign in as a different user” -option in the site menu, and for the time being, nor does SharePoint Online. However, sometimes it’s very useful functionality to have, so it’s a bit weird Microsoft chose to get rid of the option. This post outlines a method that I’ve found to work quite well for making SharePoint ask for credentials, so that you can use another account to then log in!Solution for logging in as a different userThere’s an url you can use to automatically log the current user out, and ...
    Read more!

  • Identifying IE11 compatibility mode in SharePoint July 22, 2015 This post describes how to figure out if IE11 has jumped in the compatibility mode and therefore screws up your CSS.Compatibility view now and beforeMicrosoft has been pretty keen on introducing new ways to handle browser compatibility and make IE behave in even stranger ways that it usually does by switching it to compatibility mode. There are a few reasons this could happen, but perhaps the most usual one in SharePoint’s case is that IE identifies the SharePoint site to be located in intranet zone, or it’s set to that zone or the list of sites to display in compatibility ...
    Read more!

  • Simplest way to create a thread on SharePoint July 2, 2015 This post describes the (probably) easiest and most straightforward way of creating a new Thread in your SharePoint (or any other .NET) server-side / desktop code.Solution: how to create a new ThreadLet’s face it – one should not create new Threads lightly when developing SharePoint solutions, but sometimes it’s difficult to avoid. Or sometimes it’s just the simplest way to get around weird framework limitations. This one time we were developing a pretty simple functionality, where we needed to create a few fields on a certain title when user activated a feature. However, because of the complexity of the environment, we ...
    Read more!

  • How to properly use SPWeb.AllowUnsafeUpdates? June 27, 2015 At times you may need to allow unsafe updates to SPWeb objects to get your code to run. This, in SharePoint C# code-behind is done by setting SPWeb.AllowUnsafeUpdates to true. However, as this is an exception to security settings, and should generally not be done, it’s a good practice to limit the change to as small a scope as possible – even though the setting is only persisted for the duration of the request (unless the SPWeb object was gotten from SPSite.GetWeb() or SPSite.Webs).What to do?I’ve found the easiest way to temporarily allow unsafe updates in a safe way but ...
    Read more!

  • “File not found”-error when trying to activate custom feature on SharePoint June 20, 2015 This post is about fixing on of the most non-spesific errors you can get when activating features on SharePoint “File not found”.Problem“File not found” is one of the more annoying errors one can stumble upon when trying to activate a feature.There are quite a few reasons that can cause this error, but after the obvious ones (some files failing to be included in the package, botched wsp deployment, errorenous urls in event receiver) one thing to check might be the¬†alternate access mappings. Solution to the “File not found” exceptionIn our case, we had an event receiver with a code similar ...
    Read more!

  • Attaching the Visual Studio debugger to the right IIS worker process June 13, 2015 Every now and then comes the time when you’d actually need to debug something, and then you’ll likely be using your Visual Studio to attach the debugger to one or more processes.Using CKSDev to attach to all IIS worker processes (w3wp.exe), or if you don’t use CKSDev, just pressing ctrl+p and selecting the processes from the list, is often a good enough solution. However, sometimes that makes your dev box sluggish, or maybe catches exceptions from code you’re not wishing to debug at the time, and it’d be handier to just attach to the one process you actually need. But ...
    Read more!

  • Programmatically creating SPFields with readable internal names June 5, 2015 This post is about a small programmatic workaround to creating new SPFields for SPLists in SharePoint with human-readable internal names. This is mainly an usability improvement for your editors, but they’ll probably appreciate it!Problem: non-readable internal names for SharePoint list fieldsWhen you create a new field on SharePoint, SharePoint accepts the following syntax: C# string internalName = list.Fields.Add("Field name - in a readable way.", SPFieldType.Text, false); 123  string internalName = list.Fields.Add("Field name - in a readable way.", SPFieldType.Text, false);  However, this will result in the internal name to be something like “Field_x0020_name_x0020__x002d__x” which is hardly readable, but rather quite horrible to look at, or use ...
    Read more!

  • Troubleshooting guide for Windows hosts -file May 31, 2015 This post describes how to fix possible issues with Windows hosts-file.Opening the hosts -fileFirst of all, hosts 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 you can always copy-paste it to your text editor.Editing hosts-file requires elevated privileges for the text editor process, so you’ll need to run it as an administrator.TroubleshootingThis has mostly been copied from: http://serverfault.com/questions/452268/hosts-file-ignored-how-to-troubleshoot1. Did you check that it works correctly?Changes to hosts should take effect immediately, but Windows caches name resolution data so for some time the old records may be used. Open ...
    Read more!

  • SharePoint Windows Authentication fails on other addresses than localhost May 28, 2015 This post describes how to fix Windows Authentication on a SharePoint server failing on other addresses than localhost.SymptomsYou get the standard Windows/Basic Authentication prompt when accessing¬†your SharePoint site, but the site won’t accept your credentials when your accessing the site using an address like http://website. However, using address like http://localhost works fine (but of course may cause other problems).You also get event log entries like this (most likely in System -category):The program w3wp.exe, with the assigned process ID, could not authenticate locally by using the target name HTTP/WEBSITENAME.CauseEven though you have an entry in hosts-file for the address, and you ...
    Read more!

Leave a Reply

Your email address will not be published. Required fields are marked *