Cannot Run my Application on another Computer.
hello experts,
i created application which i intended test on computerb. when copied debug folder my computer computer b , executed on computer b a error pop-up came stating cannot run applications.i tried possible methods find cause of problem including reinstalling framework 4.0 client profile in computer b application created in 4.0 client profile , including debugging of program files,change of framework version 4.0 3.5 .
on checking in eventvwr came across 2 errors coming application first 1 having source in ".net runtime" , in application.
error that copied eventvwr
this 1 came having source : .net runtime
application: cpms.exe
framework version: v4.0.30319
description: process terminated due unhandled exception.
exception info: system.io.filenotfoundexception
stack:
at cpms.program.main()
2.)below application error
faulting application name: cpms.exe, version: 1.0.0.0, time stamp: 0x4d883db6
faulting module name: kernelbase.dll, version: 6.1.7600.16385, time stamp: 0x4a5bdaae
exception code: 0xe0434352
fault offset: 0x00009617
faulting process id: 0x650
faulting application start time: 0x01cbe857fa5d3cb9
faulting application path: .........\desktop\debug\cpms.exe
faulting module path: c:\windows\system32\kernelbase.dll
report id: 3930f23b-544b-11e0-8946-e06995015447
but application run smoothly in computer having visual studio installed in , not works in computer not having visual studio installed in it.
hi whitemist,
welcome msdn forum!
it strange “this application run smoothly in computer having visual studio installed in , not works in computer not having visual studio installed in it”. don’t think root reason. know, when installing vs, .net framework installed. saw cpms.exe based on .net framework v4.0.30319. necessary install same version of .net framework in target computer. otherwise, suggest can build app x86 option app load dll system32 folder.
more information /platform.
paul zhou [msft]
msdn community support | feedback us
get or request code sample microsoft
please remember mark replies answers if , unmark them if provide no help.
.NET Framework > Common Language Runtime Internals and Architecture
Comments
Post a Comment