For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.
We are going live in a few days, and up until 2 days ago everything
worked fine.
Rotem
--
Regards,
Alvin Bruney [MVP ASP.NET]
[Shameless Author plug]
Download OWC Black Book, 2nd Edition
Exclusively on www.lulu.com/owc $15.00
Need a free copy of VSTS 2008 w/ MSDN Premium?
http://msmvps.com/blogs/alvin/Default.aspx
-------------------------------------------------------
"Rotem" <rotem...@gmail.com> wrote in message
news:f41d6848-554d-41cb...@d1g2000hsg.googlegroups.com...
C:\Users\<YourUserName>\AppData\Local\Temp\
C:\Windows\Temp\
C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\
The problem appears to have gone away and I can now load my solution again.
Pretty wacky stuff.
You can read more about the solution i adopted over here
http://www.techdreams.org/microsoft/fixing-the-error-net-runtime-version-20507273053-fatal-execution-engine-error-net/370-20080926
Hope this helps you.
"Rotem" wrote:
> Hello
> I have developed a windows service. A few days ago we noticed it just
> stops functioning.
> I installed the .net 3.5 SP1 which should include all the patches up
> to now.
> There was no change. Once in a while, without any apparant reason or
> pattern, the application just stops working.
> The eventlog shows:
> Event Type: Error
> Event Source: .NET Runtime
> Event Category: None
> Event ID: 1023
> Date: 09/09/2008
> Time: 12:19:51
> User: N/A
> Computer: ROTEMS-LAP-HZ
> Description:
> ..NET Runtime version 2.0.50727.3053 - Fatal Execution Engine Error
By the way, I'm running Vista 64, VS2008 with ReSharper 4.1.
Uninstalling .net framework 3.5 SP1 solved the issue so I don't have to
delete those files any longer.
"Rotem" wrote:
> Hello
> I have developed a windows service. A few days ago we noticed it just
> stops functioning.
> I installed the .net 3.5 SP1 which should include all the patches up
> to now.
> There was no change. Once in a while, without any apparant reason or
> pattern, the application just stops working.
> The eventlog shows:
> Event Type: Error
> Event Source: .NET Runtime
> Event Category: None
> Event ID: 1023
> Date: 09/09/2008
> Time: 12:19:51
> User: N/A
> Computer: ROTEMS-LAP-HZ
> Description:
> ..NET Runtime version 2.0.50727.3053 - Fatal Execution Engine Error
I would not fail on the first time of executeion and when it did it would
close the app silently when running stand alone, or would lock VS in debug
mode.
I managed to track this down to the use of a call to RtlZeroMemory from
KERNEL32.DLL using System.Runtime.InteropServices like this:
[System.Runtime.InteropServices.DllImport("KERNEL32.DLL", EntryPoint
= "RtlZeroMemory")]
private static extern bool ZeroMemory(IntPtr Destination, int Length);
EncryptFile(....)
{
....
GCHandle gch = GCHandle.Alloc(sSecretKey, GCHandleType.Pinned);
ZeroMemory(gch.AddrOfPinnedObject(), sSecretKey.Length);
gch.Free();
}
I removed this code an the issue has not occured, after trying reinstalling
.NET 3.5 sp1 which did not solve the issue.
I would guess this issue has something to do with the call to the unmanaged
code in KERNEL32 from .NET
System.Runtime.InteropServices looks to be the culpret in this case