My migrated project deployed successfully, its stored in "D:\MyApp\" . It runs properly within that folder.
However, when I move the deployed files to "C:\Production" folder, it fails to execute and generates Windows event log application error.
What's wrong?
--------------- Application Error Event Log (Event 1000) ----------------------------------------------------------
Faulting application name: myapp.exe, version: 1.0.0.1, time stamp: 0x59c46ae9
Faulting module name: PBVM170.dll, version: 17.0.0.1681, time stamp: 0x59c46c13
Exception code: 0xc0000005
Fault offset: 0x001df5f7
Faulting process id: 0x7ec88
Faulting application start time: 0x01d352e43da2b8ea
Faulting application path: C:\Production\myapp.exe
Faulting module path: C:\Production\PBVM170.dll
Report Id: edbfe350-af04-4601-9277-009a3bb71efe
Faulting package full name:
Faulting package-relative application ID:
----------------------------------------------------------------------------------------------------------------------------------
Once again, you must clarify your env, what version of MSSQL? There are many versions available but drivers change accordingly.
PB 2017 supports the SQL Server (up to 2016) native client (ver 11.0) as well as ODBC.
Please verify the DB connection using one of the above and compile again the project.
Cheers,
Marco
I doubt its related to MSSQL driver, as the same executable runs without error on the same machine connecting to the same MSSQL just located on deployed folder.
Edit: I am sorry I moved those deployed EXE and PBD once again and the application starts successfully today. I didn't change any setting as I recalled.