A Problem Occurred While Connecting to the Server


We’ve all gotten this error before.

ErrorOpening

This can mean any number of things. This article will describe a very specific situation that we discovered with one of our users.

Scenario

Library Settings Applicable to this Scenario

  • Require documents to be checked out before they can be edited? = YES

This setting can be found by navigating to the library > Library Settings > Versioning Settings

  •  Open in the client application

This setting can be set at either the site collection level or the library level

  • Site Collection = Site Actions > Site Settings > Site Collection Features
  • Library = Library Settings > Advanced Settings 

Issue

When a user attempts to open a document in the library noted above, they get the following messages.

New Open Behavior

Server Read-Only This document was opened from a server in read-only mode.

When the user clicks the Edit Document button they then receive this error

ErrorOpening

A problem occurred while contacting the server. If the problem continues, contact your administrator.

Cause

In this particular case, the cause was due to the site collection admin cutting and pasting the library into a manually created folder they had created in Explorer view.

Here are the steps they took to create the problem.

  • User navigated to the site in the web interface
  • Created 2 Document libraries named Library01 and Library02
  • Open the site in Explorer View
  • Right click and create new folder called Manually Created Folder (see image below)Before Library Move
  • Right clicked Library02 and selected Cut
  • Right clicked Manually Created Folder and selected Paste
  • Library02 now resides in the newly created Manually Created Folder

Reason

The reason this breaks the library is due to existing pointers in the content database that will still point to the original location.

Resolution

In order to repair this issue, you must reverse all changes performed

  • Open site in Explorer View
  • Navigate to the Manually Created Folder location
  • Right click Library02 and select Cut
  • Navigate up to the original location the library was created in
  • Right click and choose Paste
  • Right click the Manually Created Folder and choose Delete
  • The correct folder structure will look like the image below

Proper Structure

It’s easy to mistake a library for a folder within a library in Explorer View, and you may not notice any issues until you start using other features/settings within your library. The best advice is to just leave it alone unless you’re fully aware of what you’re doing. Luckily for this user, this was easily remedied and we haven’t seen any major issues because of it. Hopefully that will remain the case.

Troubleshooting Tip

Navigate to the Library Settings of the affected library. Now examine the URL of the library. Are there any directories in the URL that do not match up to a sub site in your site structure? If so, this is likely the folder that was created by the user

You Know You’re A Nerd When…


You know you’re a huge nerd when… You send jokes to your co-workers complaining about leadership via Lync using fake PowerShell commands.

Wow! It’s getting really nerdy up in here today. 🙂

Joke of the day today.

Set-SPExpert -Identity “Leadership” -Force -ErrorAction SilentlyContinue

Wow! That’s so bad.

Microsoft Ignite and Weight Loss Challenge and Other Stuff


I’m not entirely sure what day it is right now, it’s 1:40am and I just got back to my room. I came from a super awesome party at Ignite in which, for the first time, the longer line for the bathroom line was for the mens bathroom, not the womens. Honestly (and I dont know why I had to say honestly) there were no women in the womens bathroom, none and probably about 40 in the mens. Common sense would have foreseen this considering, this is a Microsoft conference, so yeah, there are pretty much no women here. Ladies, you’ve got the pick of the litter here, if you like overweight, pimply, socially awkward nerds who would rather talk about creating PowerShell modules than anything else that could ever have been considered interesting ever in the world (sorry ladies, I’m taken).

Our awesome party (cynical sarcasm) had a bit of a circus theme. There were some interesting characters walking around, but the most interesting was the young lady doing contortion things. I really don’t know how to say it any better. It’s an impressive skill, but when you’re asked to randomly walk around a party of nerd and you’re going to lay down on the floor doing your bendy things, you’re going to attract a weird crowd. I found myself wanting to go punch all the creepy, drooly guys who just had to take a picture of this poor woman who’s just trying to make some money to pay rent by performing a skill that anybody could likely see if they ever set foot in a gym in their life and simply walked by the stupid yoga studio. Yeah, I can’t do those things, but I also don’t need a creepy, I’m old enough to be your father, but you’re paid to do this type of picture. Yeah, it’s been a long week. It’s Tuesday, and really, really late, and I’m rambling. My only saving grace is nobody, and I do mean nobody will read this, ever.

The worst part about all of this is I met a dude that would be a perfect fit for our team and we simply don’t have any openings and won’t have any. He was awesome and just as cynical and awesome as me and we cannot have this guy on our team. Oh well.

Did I mention we had the most fulgar cab driver who I thought was going to kill us? And that’s not even mentioning the Uber driver who literally did almost kill us, about 4 times. Wow! If that’s how an Uber cab is, I should probably consider waliking more

That’s all I’ve got. Enjoy those zero of you who are also up around 2:00am to read this absolutlely stupid and unedited post. Literally, I see the red squiggly lines for all the spelling errors, and could… not… care… less than I do right now Wow! I’m so tired.

Have a great night everyone.

Oh, I also did ok, well, just not terrible with my eating today. And done.

Microsoft Ignite Activity Overload


I am so excited. On Sunday I get to hop on a plane headed for Chicago for the Microsoft Ignite conference May 4th-8th. Of all the nerd inspired things one could do, going to a Microsoft technology conference has got to be at the top of the list.

I’m learning pretty quickly, though that nerds apparently know how to party, or at least to appear to know how to party. I’ve not been to a conference of this size, so having to pick and choose my after-hours entertainment from the slew of options available to me is a bit daunting, but a nice problem to have.

I, and my employer are hoping I’ll come away from this 5 day experience with some valuable knowledge, skills, and contacts regarding SharePoint, Office 365, OneDrive for Business, Skype for Business, Windows PowerShell and so many other technologies.

I’m not sure if I have any readers that are also going to Ignite, but if you are, what sessions are you looking forward too and what after-hours stuff are you hoping to do? I’m really hoping I’ll bump elbows with someone important who has extra tickets to one of the Wild vs. Blackhawks playoff games as I’d love to see my team when I’m in Chicago.

For those of you not a member of the nerd world of enterprise technologies, what are your recommendations for things to do in the great Windy City of Chicago USA next week? Any great restaurants you can recommend? We’re going to be downtown in the Michigan ave area so I’m looking for great ideas there?

If any of you are going, I’d say we should meet up and have a drink, but let’s be honest, are we really going to do that? Do you really want to meet me? Of all the people out there, I’ll be honest, it’s not going to be that awesome meeting me… ha ha or is it? If you’re willing to go to a midnight viewing of the new Avengers: Age of Ultron (2015) movie with me, then I’ll meet up with pretty much anybody, or you have tickets to the Hawks game, just don’t plan on murdering me please, that would be a pretty big downer.

Error Opening SharePoint 2013 Site in SharePoint Designer 2013


I recently ran into a user who was getting the following error message every time they attempted to open their SharePoint 2013 site via the web interface in SharePoint Designer.

This action couldn’t be performed because Office doesn’t recognize the command it was given.

The pop-up message will look like the image below.

Untitled picture

The user had both SharePoint Designer 2010 and SharePoint Designer 2013 installed on their PC, which should not be an issue specifially as you can have both on the same computer without issues. You may find when you upgrade a particular SharePoint 2010 farm that your users will need to clear their SharePoint Designer cache in order for the new 2013 designer to work. The cache was not the issue here though.

Resolution

We found that the simple solution to the error was to re-install SharePoint Designer 2013 on the users workstation.

That simple action fixed the issue. The user had tried a repair of Designer which did no help, so a full uninstall then install was needed.

Hopefully this helps you if you run into this issue.

Gimme All Your Cache!


Those of us who have the wonderful job of managing a SharePoint farm know, installing patches can be a bit like playing roulette. This is especially true when installing Cumulative Updates, but not limited to.

Those of us who manage a SharePoint farm with multiple servers have definitely seen our fair share of messages like the one below.

Obviously, the first thing you need to verify, is that the noted patch is actually on all the servers. If it is, often we are then directed by sites, even mine, to manually run some combination of the PSCONFIG.exe command manually via powershell. This typically works because we’re forcing SharePoint to skip important version checks etc.

I highly recommend before you jump to any powershell that you follow the instructions on the site below.

SharePoint 2010 – Clearing the Configuration Cache

What this site is doing is clearing your configuration cache on each server before you attempt to run the SharePoint Configuration Wizard on any of your servers. The instructions specifically indicate they are for SharePoint 2010, but they work for SharePoint 2013 as well.

I’ve found I’ve even had issues running the PSCONFIG.exe manually and I still cannot get the config to finish. Clearing the cache is what works. You may need to reboot your servers, and you may even need to clear the cache twice, but soon, it will likely resolve the issue. So if you’re sitting stuck at 10% for forever, kill that PSCONFIG.exe task in the Task Manager and clear your cache. But don’t thank me, thank , the author of the above article.

Weight Loss Challenge – Day 9


It’s the end of day 9. Bet you thought I was going to miss today didn’t you? Today was a pretty bad day. Not because of diet or exercise. Work was overbearing. It started with an Implementation that didn’t get finished until 2:00am because my Internet went down at home at the most inopportune time.

So, I got up at 6:00am, to come to find our Office Web Apps service was not working. Long story short. By 2:00pm, I had that issue resolved, and low-and-behold, I hadn’t eaten lunch, and my breakfast was tiny.

Technically then, my diet was going great. I didn’t ever get to eat lunch today. I had a large supper, which filled me to the point of not being able to put anymore in me, and I was still 200 calories short of my daily allotted allowance of calories.

Bad work day, great challenge day. Time to look at the bright side. I see today as a win.