2
The best possible debugging for you is to write to console at different steps.
so that you know which steps are executed and where is the error.
2
Most probably there is some error(crash) when you run the exe file but it is just closing it as the error in not handled.
can you write your login in try - catch block and write error to console in catch section?
do you use app.config file for storing database connection string? have you copied that file along with the .exe file?
the more detail you provide the better.
1
https://support.microsoft.com/en-in/help/4014018/new-hybrid-configuration-wizard-crashes-with-error-code-0xe0434352
1
whether the used dll is stored i the target pc or not .That should be in the reference folder that you are taken in your pc
1
Hi Nilesh,
I am not using app.config file and my connection string is embedded in the code.
When I check windows error log I got this below.
Fault bucket , type 0
Event Name: CLR20r3
Response: Not available
Cab Id: 0
Problem signature:
P1: ExportRedwoodData.exe
P2: 1.0.0.0
P3: 5dfbaa3a
P4: System.Data
P5: 4.7.2623.0
P6: 5a1f6c08
P7: 147e
P8: 24
P9: System.Data.SqlTypes.SqlType
P10:
Attached files:
These files may be available here:
C:\Users\Ravi.WRAP-S-P21\AppData\Local\Microsoft\Windows\WER\ReportArchive\AppCrash_ExportRedwoodDat_8bec6f2da698367e68ea5944961a5be3b810255f_6a0b8ef8_a19635f9
Faulting application name: ExportRedwoodData.exe, version: 1.0.0.0, time stamp: 0x5dfbaa3a
Faulting module name: KERNELBASE.dll, version: 6.3.9600.18895, time stamp: 0x5a4b125e
Exception code: 0xe0434352
Fault offset: 0x00015608
Faulting process id: 0x536c
Faulting application start time: 0x01d5b9c7e88e7f1e
Faulting application path: C:\Users\Ravi.WRAP-S-P21\Documents\Debug\ExportRedwoodData.exe
Faulting module path: C:\Windows\SYSTEM32\KERNELBASE.dll
Report Id: 26934234-25bb-11ea-80d7-44a842396e3a
Faulting package full name:
Faulting package-relative application ID:
