Tuesday, February 13, 2018

Stupid exception: Device is not ready – System.IOException .net

When installing a Sitecore implementation from an development server environment to my laptop I ran into an absolutely stupid error.
And it's great to have this kind of errors pop up from time to time even if you have been in the development world for so long and are still unable to fix it immediately.

So, what error did I get?

Device is not ready – System.IOException .net

That is right... Nothing at all related to Sitecore.
But then you start to doubt that as my stacktrace showed to Lucene

[IOException: The device is not ready.
   System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) +1091
   System.IO.Directory.InternalCreateDirectory(String fullPath, String path, Object dirSecurityObj, Boolean checkHost) +1413
   System.IO.Directory.InternalCreateDirectoryHelper(String path, Boolean checkHost) +92
   Sitecore.IO.FileUtil.EnsureFolder(String path) +128
   Sitecore.ContentSearch.LuceneProvider.LuceneIndex.CreateDirectory(String folder) +100
   Sitecore.ContentSearch.LuceneProvider.Sharding.LuceneShard.Initialize() +52
   Sitecore.ContentSearch.LuceneProvider.LuceneIndex.InitializeShards() +507
   Sitecore.ContentSearch.LuceneProvider.LuceneIndex.Initialize() +381
   Sitecore.ContentSearch.ContentSearchConfiguration.AddIndex(ISearchIndex index) +411

Sooo, at that moment you start to re-check about everything. Rights and access, IIS configuration on the applicationpool.

I had gone as far as grant Everyone access to make sure rights&access had nothing to do with this error.

And then it obviously hit me:
Something must have been copied over linking to an external drive that is not available or accessible from my device. And since I no longer have a D drive in my machine that made perfect sense :)

So finally the problem turned out to be exactly that:
<sc.variable name="dataFolder" value="D:\inetpub\wwwroot\Project\Data"/>

--> I'll skip the part here where due to admin rights and a bad text editor (or the usage thereof), this soap continued for a while (as it mimicked the save execution, but didn't save it, nor did it return the D:\ reference in the search results anymore.... but as I said... Let me skip that part.

Stupid error but I just had to write this in order to vent some frustration :)

Wednesday, January 31, 2018

Sitecore MVP Awards 2018

What a way to go into the new year that 2018 still is!

Sitecore just announced the names of the new MVP's for 2018 and I have the honor of carrying the title for yet another year!
I would like to congratulate all my fellow MVP's for their great achievements and contributions over the last year. This award is the sugar coating on top, but it is the underlying work, investment of ideas and insight that should take all the credit!.

Let's put it with a quote from Pieter Brinkman, Sitecore Senior Director of Technical Marketing:

The Sitecore MVP awards recognize and honor those individuals who make substantial contributions to our loyal community of partners and customers
You can find all the information on the other MVP's and the MVP program here in more detail:


This makes for a great basis for the comming efforts in 2018:
  • Focus on enlarging our knowledge and offering where possible
  • Sitecore Commerce
  • SXA all the things
  • Deeper diving into Powershell 
  • SUGCON 2018 
  • Sitecore Symposium 2018 in Orlando

In short, there is a lot ahead of us, and I think that acknowledgment from Sitecore has just armed all the MVP's out there to go and get it :)

See you somewhere on any of the Sitecore events, the various Usergroups and/or any of the online and offline platforms that help us share and care!
Don't be afraid to shout out!