Posts

Showing posts from November, 2014

Exception Info: Lucene.Net.Index.MergePolicy+MergeException

While trying to convert items into buckets, my w3wp process started crashing randomly. Looking at the Event Viewer I saw the following error:
Application: w3wp.exe Framework Version: v4.0.30319 Description: The process was terminated due to an unhandled exception. Exception Info: Lucene.Net.Index.MergePolicy+MergeException Stack:    at Lucene.Net.Index.ConcurrentMergeScheduler.HandleMergeException(System.Exception)    at Lucene.Net.Index.ConcurrentMergeScheduler+MergeThread.Run()    at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)    at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)    at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)    at System.Threading.ThreadHelper.ThreadStart()
I assumed the issue was related to indexes but rebuil…

TDS Build Error Unable to copy file "\bin\**\*.*" to "\Website\*.*". Illegal characters in path. C:\Program Files (x86)\MSBuild\HedgehogDevelopment\SitecoreProject\v9.0\HedgehogDevelopment.SitecoreProject.targets

Image
Working with Sitecore 7.2 and TDS 5.0 I recently started noticing the following error after syncing or using Sitecore Rocks to update TDS using the TDS connector:

Error Unable to copy file "<project path>\bin\<profile name>**\*.*" to "<inetpub path>\Website\*.*". Illegal characters in path.C:\Program Files (x86)\MSBuild\HedgehogDevelopment\SitecoreProject\v9.0\HedgehogDevelopment.SitecoreProject.targets

Solution: Always end the Build Output Path with '\'in the TDS project properties.
Here is the funny part, I tried fixing it by making the same change to the MS Build script used by TDS but then it would take forever to load the TDS project in VS.
Contacted Hedgehog support for the resolution and that is what they came back with.