K
K
kos_dev2017-07-24 13:21:58
C++ / C#
kos_dev, 2017-07-24 13:21:58

Why does self-written software not run on other computers or does it work incorrectly?

Hello, I have such a problem.
I wrote the software, it has two links, if it's important, to MySQL.Data and OpenQA.Selenium.
Everything works fine on the native PC, as it was intended, but if someone else starts it, the
software can start for 1 second and turn off or give an error "Program shutting down".
Tell me what I'm doing wrong. Visual Studio 2017 Language: C#.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
D
Dmitry Kovalsky, 2017-07-24
@kos_dev

No problem logs - you can only recommend a crystal ball. Does the application log its work? There can be tons of reasons, up to the fact that the machine on which the application is launched does not see the database server

R
Roman, 2017-07-24
@yarosroman

Alternatively, not all dlls are bundled with the application

D
Dmitry Eremin, 2017-07-24
@EreminD

In general, windows has its own event log. All application crashes are written there. Including yours.
You can go there, the cause of the error is described there.
I bet that there are not enough libraries or the paths to them are set somehow wrong (they are indicated explicitly or they now lie in a different path relative to the exe)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question