I am running asp.net/mono on Ubuntu with lighthttpd/fastcgi. Somehow I suspect an assembly reference sneaked in that I cannot track down, and it's causing my application to fail (it works fine on windows under MS.NET).
When I try it under mono, I get:
Failed to create shadow copy (CopyFile).
Description: HTTP 500. Error processing request.
Stack Trace:
System.ExecutionEngineException: Failed to create shadow copy (CopyFile).
at (wrapper managed-to-native) System.Reflection.Assembly:LoadFrom (string,bool)
at System.Reflection.Assembly.LoadFrom (System.String assemblyFile) [0x00000]
at System.Web.Compilation.BuildManager.LoadAssembly (System.String path, System.Collections.Generic.List`1 al) [0x00000]
at System.Web.Compilation.BuildManager.GetReferencedAssemblies () [0x00000]
at System.Web.Compilation.BuildManager.GenerateAssembly (System.Web.Compilation.AssemblyBuilder abuilder, System.Collections.Generic.List`1 buildItems, System.Web.VirtualPath virtualPath, BuildKind buildKind) [0x00000]
at System.Web.Compilation.BuildManager.BuildAssembly (System.Web.VirtualPath virtualPath) [0x00000]
at System.Web.Compilation.BuildManager.GetCompiledType (System.String virtualPath) [0x00000]
at System.Web.HttpApplicationFactory.InitType (System.Web.HttpContext context) [0x00000]
Version information: Mono Version: 2.0.50727.1433; ASP.NET Version: 2.0.50727.1433
I am at a loss to how to debug this, as it's not giving me a hint of what assembly it's having problem with.
Any ideas?