VB.Net application which runs on one machine crashes on another although OS is excalty the same
Posted on 2016-10-06
I have developed a VB.Net application on a vitual machine running under Windows Server 2008 R2 Standard with SP1, and on that machine, that app runs without any single problem.
Now for the first time I compiled it and copied the corresponding files to a test server which is running under exactly the same OS version, and my app crashes right away badly and I can't even find out why, because the only option offered to me is to "close the program". And although the console windows appears, it's full of weird statements about where the app was, but I can't even look at the contents becaus when I click on that window then Windows gives me the choice between closing the app or searching for the error, which returns nothing, so I'm pretty stuck with the whole thing.
The compatibility check tells me that the app is incompatible (!) although I have 2 other very similar VB.Net apps running perfectly well on that server machine. The only difference is that these 2 apps are Windows forms apps, whereas the new one is a console app, but otherwise their functionality is very similar (the new app should replace the 2 old apps)..
1) any idea what it could be ?
2) any possibility for me to debug the app on the server ? I have no idea how that should be done (if it can be done at all..)
Thanks for your help