简体   繁体   English

Winforms .NET 4.5应用程序在新计算机上崩溃

[英]Winforms .NET 4.5 app is crashing on a new machine

On my development machine I have VS2010 and VS2012, developed an application using VS2012 using .NET 4.5 and Chilkat component for .NET 4 and platform target is x32 things are working fine on development machine. 在我的开发机器上,我拥有VS2010和VS2012,使用VS2012开发了一个应用程序,该程序使用.NET 4.5和.lk 4的Chilkat组件,并且平台目标是x32在开发机器上运行正常。

Now when I moved this app on the Windows 7 Home Basic 32bit Virtual Machine application is crashing, after investigation found that when the app is trying to run the chilkat component it is failing but don't know what the hell is wrong because I am coping the 32bit dll along with the app in the bin folder but still complaining something else. 现在,当我在Windows 7 Home Basic 32位虚拟机应用程序上移动该应用程序时,崩溃后,经过调查发现,当该应用程序试图运行chilkat组件时,它失败了,但不知道到底是怎么了,因为我正在应对32位dll以及bin文件夹中的应用,但仍然抱怨其他问题。 Please help. 请帮忙。

This is the error I am getting. 这是我得到的错误。

Problem signature: Problem Event Name: CLR20r3 Problem Signature 01: testing.exe Problem Signature 02: 1.0.0.0 Problem Signature 03: 512e7778 Problem Signature 04: Testing Problem Signature 05: 1.0.0.0 Problem Signature 06: 512e7778 Problem Signature 07: 4 Problem Signature 08: e Problem Signature 09: System.IO.FileNotFoundException OS Version: 6.1.7601.2.1.0.768.2 Locale ID: 1033 Additional Information 1: 0a9e Additional Information 2: 0a9e372d3b4ad19135b953a78882e789 Additional Information 3: 0a9e Additional Information 4: 0a9e372d3b4ad19135b953a78882e789 问题签名:问题事件名称:CLR20r3问题签名01:testing.exe问题签名02:1.0.0.0问题签名03:512e7778问题签名04:测试问题签名05:1.0.0.0问题签名06:512e7778问题签名07:4问题签名08:e问题签名09:System.IO.FileNotFoundException操作系统版本:6.1.7601.2.1.0.768.2区域设置ID:1033附加信息1:0a9e附加信息2:0a9e372d3b4ad19135b953a78882e789附加信息3:0a9e附加信息4:0a9e372d3b4ad19135b953a78882e

Read our privacy statement online: 在线阅读我们的隐私声明:
http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409 http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409

If the online privacy statement is not available, please read our privacy statement offline: C:\\Windows\\system32\\en-US\\erofflps.txt 如果没有在线隐私声明,请离线阅读我们的隐私声明:C:\\ Windows \\ system32 \\ en-US \\ erofflps.txt

Thanks 谢谢

Chilkat .NET assembly is a mixed-mode assembly, meaning that the internal implementation is written in C++ and compiles to native code. Chilkat .NET程序集是混合模式的程序集,这意味着内部实现是用C ++编写的,并且可以编译为本机代码。

If I'm not wrong, it is created using Visual Studio 2010 (using VC++). 如果我没看错,它是使用Visual Studio 2010(使用VC ++)创建的。 That's why, the Microsoft VC++ 2010 runtime library need to be present on the target computer. 因此, 目标计算机上必须存在Microsoft VC ++ 2010运行时库。

There is no problem with the 2.0/3.5 .Net Frameworks because every windows OS computer already has the related VC++ runtimes already installed. 2.0 / 3.5 .Net Frameworks没有问题,因为每台Windows操作系统计算机都已经安装了相关的VC ++运行时。

Could you try to install following VC++ packages from Microsoft? 您可以尝试从Microsoft安装以下VC ++软件包吗? you can easy find download links on MS site, by your self.. 您可以自行在MS网站上轻松找到下载链接。

  • x86 Microsoft Visual C++ 2010 Redistributable Package x86 Microsoft Visual C ++ 2010可再发行组件包
  • x64 Microsoft Visual C++ 2010 Redistributable Package x64 Microsoft Visual C ++ 2010可再发行组件包

If the 2010 packages dont work please try 2008 packages : 如果2010软件包无效,请尝试2008软件包:

  • x86 Microsoft Visual C++ 2008 Redistributable Package x86 Microsoft Visual C ++ 2008可再发行组件包
  • x64 Microsoft Visual C++ 2008 Redistributable Package x64 Microsoft Visual C ++ 2008可再发行组件包

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM