Andere Blogs


Oct 302013

Speed up SharePoint Update Installation

Installing Updates for SharePoint 2013 will take a long time, if you don’t disable some services prior starting the update process by executing the hotfix exe file. To simplify the installation, and speeding it up, you can use a PowerShell script to stop the necessary services, and start the update.

You need to copy the code, and save it as e.g. Install_SharePoint_Update.ps1 in the same folder as the exe file. Start the script from the “SharePoint Management Shell”. It will take care of the services for you.

Btw: You can start the script with PowerShell on a remote path. No need to copy the update file to your SharePoint Servers Winking smile

Published: 10/30/2013  6:10 PM | 0  Comments | 0  Links to this post
Tagged as: SharePoint

Oct 232013

SQL Access to Configuration DB required

In many cases you pass an URL string to connect to SharePoint. In my case I wanted to verify the URL by using this code:

  1: Uri requestUri;
  2: if (!Uri.TryCreate(absoluteUrl, UriKind.Absolute, out requestUri))
  3:   throw new ArgumentException(absoluteUrl + " is no a valid URL.");
  5: SPWebApplication webApplication = SPWebApplication.Lookup(requestUri);

And here comes the “but”. I did not know that the account, which is executing the code, needs permissions to the Configuration Database!

So either grant permissions, or use something like this:

  1: using (var site = new SPSite(requestUri.AbsoluteUri))
  2: {
  3:   SPWebApplication webApplication = site.WebApplication;
  4: }

Happy SharePointing…

Published: 10/23/2013  5:26 PM | 0  Comments | 0  Links to this post
Tagged as: Development, SharePoint

Oct 142013

Cleanup your VMs from old Updates

Windows Update leaves lots of files, which you don’t need anymore. The Disk Cleanup utility lets you remove those files.

Unfortunately the tool needs to be “installed” on Windows Server 2008 and 2008 R2. There is a Guide over here –>

Instructions for Windows Server 2012 are within the comments of the linked article.

Published: 10/14/2013  9:09 AM | 0  Comments | 0  Links to this post
Tagged as: Windows, VMWare

Sep 262013

Idle or Running?

Dear SharePoint Crawler. Are you currently working?


Published: 9/26/2013  11:40 AM | 0  Comments | 0  Links to this post
Tagged as: SharePoint