Just started getting these errors. RavenDB v2.5.2910
Error occurs when adding/changing indexes on first launch via IndexCreation.CreateIndexes() as well as adding/changing indexes via Raven Studio.
I looked in the CompiledIndexCache folder and see the C# class that is generated, but apparently when Raven tries to compile to an Assembly, csc.exe is crashing.
I haven't made any configuration changes on the server. I've tried restarting RavenDB (it's running as a Windows Service). I haven't tried rebooting (hope it doesn't come to that).
Anyone else see this issue?
Thanks!
Event Log
Faulting application name: csc.exe, version: 4.0.30319.18408, time stamp: 0x5231171a
Faulting module name: KERNELBASE.dll, version: 6.2.9200.17046, time stamp: 0x53b4864c
Exception code: 0xc0000142
Fault offset: 0x00000000000e2000
Faulting process id: 0x2530
Faulting application start time: 0x01cfc16f5edb1aa8
Faulting application path: C:\Windows\Microsoft.NET\Framework64\v4.0.30319\csc.exe
Faulting module path: KERNELBASE.dll
Report Id: 9c9d1b0c-2d62-11e4-941b-00155df68a09
Faulting package full name:
Faulting package-relative application ID:
Exception
[IndexCompilationException: Could not find file 'C:\RavenDB\Raven\CompiledIndexCache\613622936.vBQ%2bgqqRnj3PxMYele9rJA%3d%3d.nodebug.dll'.]
Raven.Client.Connection.HttpJsonRequest.HandleErrors(WebException e) in c:\Builds\RavenDB-Stable\Raven.Client.Lightweight\Connection\HttpJsonRequest.cs:517
Raven.Client.Connection.HttpJsonRequest.ReadJsonInternal(Func`1 getResponse) in c:\Builds\RavenDB-Stable\Raven.Client.Lightweight\Connection\HttpJsonRequest.cs:355
Raven.Client.Connection.HttpJsonRequest.ReadResponseJson() in c:\Builds\RavenDB-Stable\Raven.Client.Lightweight\Connection\HttpJsonRequest.cs:239
Raven.Client.Connection.ServerClient.DirectPutIndex(String name, OperationMetadata operationMetadata, Boolean overwrite, IndexDefinition definition) in c:\Builds\RavenDB-Stable\Raven.Client.Lightweight\Connection\ServerClient.cs:1001
Raven.Client.Connection.<>c__DisplayClass5e.<PutIndex>b__5d(OperationMetadata u) in c:\Builds\RavenDB-Stable\Raven.Client.Lightweight\Connection\ServerClient.cs:927
Raven.Client.Connection.ReplicationInformer.TryOperation(Func`2 operation, OperationMetadata operationMetadata, OperationMetadata primaryOperationMetadata, Boolean avoidThrowing, T& result, Boolean& wasTimeout) in c:\Builds\RavenDB-Stable\Raven.Client.Lightweight\Connection\ReplicationInformer.cs:515
Raven.Client.Connection.ReplicationInformer.ExecuteWithReplication(String method, String primaryUrl, OperationCredentials primaryCredentials, Int32 currentRequest, Int32 currentReadStripingBase, Func`2 operation) in c:\Builds\RavenDB-Stable\Raven.Client.Lightweight\Connection\ReplicationInformer.cs:461
Raven.Client.Connection.ServerClient.ExecuteWithReplication(String method, Func`2 operation) in c:\Builds\RavenDB-Stable\Raven.Client.Lightweight\Connection\ServerClient.cs:179
Raven.Client.Connection.ServerClient.PutIndex(String name, IndexDefinition definition, Boolean overwrite) in c:\Builds\RavenDB-Stable\Raven.Client.Lightweight\Connection\ServerClient.cs:927
Raven.Client.Indexes.AbstractIndexCreationTask.Execute(IDatabaseCommands databaseCommands, DocumentConvention documentConvention) in c:\Builds\RavenDB-Stable\Raven.Client.Lightweight\Indexes\AbstractIndexCreationTask.cs:200
Raven.Client.DocumentStoreBase.ExecuteIndex(AbstractIndexCreationTask indexCreationTask) in c:\Builds\RavenDB-Stable\Raven.Client.Lightweight\DocumentStoreBase.cs:93
Raven.Client.Indexes.IndexCreation.CreateIndexes(ExportProvider catalogToGetnIndexingTasksFrom, IDocumentStore documentStore) in c:\Builds\RavenDB-Stable\Raven.Client.Lightweight\Indexes\IndexCreation.cs:61
Raven.Client.Indexes.IndexCreation.CreateIndexes(Assembly assemblyToScanForIndexingTasks, IDocumentStore documentStore) in c:\Builds\RavenDB-Stable\Raven.Client.Lightweight\Indexes\IndexCreation.cs:32
Fuse.Web.MvcApplication.TryCreatingIndexesOrRedirectToErrorPage() in d:\Projects\Fuse\Fuse.Web\Global.asax.cs:112
Fuse.Web.MvcApplication.InitializeDocumentStore() in d:\Projects\Fuse\Fuse.Web\Global.asax.cs:99
Fuse.Web.MvcApplication.Application_Start() in d:\Projects\Fuse\Fuse.Web\Global.asax.cs:38
[HttpException (0x80004005): Could not find file 'C:\RavenDB\Raven\CompiledIndexCache\613622936.vBQ%2bgqqRnj3PxMYele9rJA%3d%3d.nodebug.dll'.]
System.Web.HttpApplicationFactory.EnsureAppStartCalledForIntegratedMode(HttpContext context, HttpApplication app) +9905705
System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +118
System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +172
System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +336
System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +296
[HttpException (0x80004005): Could not find file 'C:\RavenDB\Raven\CompiledIndexCache\613622936.vBQ%2bgqqRnj3PxMYele9rJA%3d%3d.nodebug.dll'.]
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +9885060
System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +101
System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +254