Click here to Skip to main content
15,889,266 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am a newbie & created some programs using visual studio 2012

those programs work perfectly in my pc !!

the problem is when I try to open those prgrams in any other PC
it will crush when lunching & this is the problem detail
Problem signature:
  Problem Event Name:	CLR20r3
  Problem Signature 01:	<program name> .exe
  Problem Signature 02:	1.0.0.0
  Problem Signature 03:	527fdfe2
  Problem Signature 04:	<program name> 
  Problem Signature 05:	1.0.0.0
  Problem Signature 06:	527fdfe2
  Problem Signature 07:	2f
  Problem Signature 08:	21
  Problem Signature 09:	System.InvalidOperationException
  OS Version:	6.1.7601.2.1.0.256.1
  Locale ID:	7169
  Additional Information 1:	0a9e
  Additional Information 2:	0a9e372d3b4ad19135b953a78882e789
  Additional Information 3:	0a9e
  Additional Information 4:	0a9e372d3b4ad19135b953a78882e789

Read our privacy statement online:
  http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409

If the online privacy statement is not available, please read our privacy statement offline:
  G:\Windows\system32\en-US\erofflps.txt


I can't find the cause of the problem. There are no errors or warnings in the application and I have error handling on the form startup event.

all the pc ( where I have done my tests ) have net framework 4.5 installed perfectly

Please help :/
Posted
Updated 10-Nov-13 23:47pm
v2
Comments
Pheonyx 11-Nov-13 5:51am    
What do you do in your load up code?
For example, what code is in the main form constructor?
Member 10393517 11-Nov-13 6:15am    
Public Class Form1
Dim a As String
Dim url As String
Dim count As Integer = 3

Public WithEvents timer As Timer = New Timer()
?
Pheonyx 11-Nov-13 6:24am    
Have you checked the event log on the machine it crashes on?
Member 10393517 11-Nov-13 6:36am    
Log Name: Application
Source: .NET Runtime
Date: 11-11-2013 11:36:18
Event ID: 1026
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer: fq-PC
Description:
Application: <program name>.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.InvalidOperationException
Stack:
at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.DoApplicationModel()
at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run(System.String[])
at <program name>.My.MyApplication.Main(System.String[])

Event Xml:
<event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<system>
<Provider Name=".NET Runtime" />
<eventid qualifiers="0">1026
<level>2
<task>0
<keywords>0x80000000000000
<timecreated systemtime="2013-11-11T10:36:18.000000000Z">
<eventrecordid>5361
<channel>Application
<computer>fq-PC
<security>

<eventdata>
Application: <program name>.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.InvalidOperationException
Stack:
at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.DoApplicationModel()
at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run(System.String[])
at <program name>.My.MyApplication.Main(System.String[])




AND

Log Name: Application
Source: Application Error
Date: 11-11-2013 11:36:20
Event ID: 1000
Task Category: (100)
Level: Error
Keywords: Classic
User: N/A
Computer: fq-PC
Description:
Faulting application name: <program name>.exe, version: 1.0.0.0, time stamp: 0x5280ada6
Faulting module name: KERNELBASE.dll, version: 6.1.7601.18015, time stamp: 0x50b83b16
Exception code: 0xe0434352
Fault offset: 0x0000812f
Faulting process id: 0xb20
Faulting application start time: 0x01cedec9db1303a4
Faulting application path: G:\Users\fq\Downloads\<program name>.exe
Faulting module path: G:\Windows\system32\KERNELBASE.dll
Report Id: 19c79c2b-4abd-11e3-8bad-001e33f24f60
Event Xml:
<event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<system>
<Provider Name="Application Error" />
<eventid qualifiers="0">1000
<level>2
<task>100
<keywords>0x80000000000000
<timecreated systemtime="2013-11-11T10:36:20.000000000Z">
<eventrecordid>5362
<channel>Application
<computer>fq-PC
<security>

<eventdata>
<program name>.exe
1.0.0.0
5280ada6
KERNELBASE.dll
6.1.7601.18015
50b83b16
e0434352
0000812f
b20
01cedec9db1303a4
G:\Users\fq\Downloads\<program name>.exe
G:\Windows\system32\KERNELBASE.dll
19c79c2b-4abd-11e3-8bad-001e33f24f60

Pheonyx 11-Nov-13 7:57am    
Couple of questions

1) Is your development machine 32bit of 64bit?
2) Is your test machine 32bit or 64bit?
3) What CPU are you compiling your project to? Any/x86/x64 ?

1 solution

Hi,
please make setup of the project then you will come to know the any dependency file which your missing in other PC's like third part dll reference etc.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900