服务与坠毁事件名称[CLR20r3] [英] Services crashed with event name [CLR20r3]

查看:814
本文介绍了服务与坠毁事件名称[CLR20r3]的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在的.Net C#,基本上定期发送电子邮件,创建服务。

I have created a service in .Net c# that basically send emails periodically.

该服务工作正常在我的 32倍 XP 机器,但是当我部署 64建基于一个又一个'64'的Windows Server 2008 R2 机,服务启动,几秒钟后,并在事件只是停止日志它有这个

The service works fine on my x32 XP machine but when i deploy the x64 build on an another 'x64' based Windows Server 2008 R2 machine, the service starts and just stops after few seconds and in event log it has this:

Fault bucket , type 0
Event Name: CLR20r3
Response: Not available
Cab Id: 0

Problem signature:
P1: sentEmailDraft.exe
P2: 4.2.0.0
P3: 538d3cf1
P4: mscorlib
P5: 2.0.0.0
P6: 4ca2b851
P7: 20f4
P8: d4
P9: System.TypeInitialization
P10: 

Attached files:

These files may be available here:
C:\ProgramData\Microsoft\Windows\WER\ReportQueue\AppCrash_sentEmailDraft._87f56e55f14a51a946ed1a1f9f2a3a31cf693a17_1839149a

Analysis symbol: 
Rechecking for solution: 0
Report Id: b3695789-f45c-11e3-b6c6-005056be2c69
Report Status: 4

我发现了一个类似的讨论<一href="http://www.sevenforums.com/software/323079-program-has-stopped-working-problem-event-name-clr20r3.html"相对=nofollow>此处,并试图解决方案,但没有工作对我来说。

I found a similar discussion here and tried the solution but didnt work for me.

任何人都可以请建议什么?

Can anyone please suggest something?

推荐答案

我有类似这样的服务启动一次,然后迅速停止之后的一个问题。第二台计算机只有安装了.NET Framework 4.0客户端配置文件,而应用程序依赖于功能/那只有present在完整的.NET Framework 4.0组件。可能是值得一试,因为完整的.NET Framework 4.0是默认的,当你创建一个新的项目。

I had a problem similar to this once with the service starting and then quickly stopping afterward. The second computer only had the .NET Framework 4.0 Client Profile installed, while the application relied on features/assemblies that were only present in the full .NET Framework 4.0. Might be worth checking since the full .NET Framework 4.0 is the default when you create a new project.

这篇关于服务与坠毁事件名称[CLR20r3]的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆