[Mono-list] Failed to create shadow copy (CopyFile)

Senthilnathan nathanaccet at gmail.com
Tue Dec 30 03:55:55 EST 2008


Hi,

I too facing this problem. Please let me know if you have any solution for
this issue

I got the following exception message

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.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] 

Thanks & Regards,
K.Senthilnathan


Gonzalo Paniagua Javier-5 wrote:
> 
> No idea why it's failing for you.
> 
> You could start by applying the attached patch that will print the
> original file name and the shadow-copied file name. The directory for
> the shadow-copied file should be there, but may be there's some problem
> with permissions or the disk is full or ....
> 
> -Gonzalo
> 
> 
> On Tue, 2008-11-04 at 12:03 +0100, Christian Hobelsberger wrote:
>> I have just done a fresh checkout and recompiled everything again -
>> but still the same problem.
>> 
>> >  mono --version
>> Mono JIT compiler version 2.1 (/trunk/mono r117851)
>> Copyright (C) 2002-2008 Novell, Inc and Contributors.
>> www.mono-project.com
>>         TLS:           __thread
>>         GC:            Included Boehm (with typed GC)
>>         SIGSEGV:       altstack
>>         Notifications: epoll
>>         Architecture:  amd64
>>         Disabled:      none
>> 
>> In the browser it says:
>> Version information: Mono Version: 2.0.50727.1433; ASP.NET Version:
>> 2.0.50727.1433
>> 
>> So still no luck!? Any ideas?
> 
> 
> Index: appdomain.c
> ===================================================================
> --- appdomain.c	(revision 117902)
> +++ appdomain.c	(working copy)
> @@ -1349,6 +1349,7 @@
>  	if (!private_file_needs_copying (filename, &src_sbuf, shadow))
>  		return (char*) shadow;
>  
> +	printf ("Orig: %s\nShadow: %s\n", filename, shadow);
>  	orig = g_utf8_to_utf16 (filename, strlen (filename), NULL, NULL, NULL);
>  	dest = g_utf8_to_utf16 (shadow, strlen (shadow), NULL, NULL, NULL);
>  	DeleteFile (dest);
> 
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
> 
> 

-- 
View this message in context: http://www.nabble.com/Failed-to-create-shadow-copy-%28CopyFile%29-tp20305863p21214562.html
Sent from the Mono - General mailing list archive at Nabble.com.



More information about the Mono-list mailing list