Posts: 42
Threads: 20
Joined: Jul 2020
Reputation:
0
Hello,
i have build intraweb standalone apllication
i am on windows server 2019 datacenter, with all patch for test
the server is not charged only one or 2 users.
the version is IW 15.2.10
once a day my software shutdown alone, with no reason !
my application is an stand alone .exe application,
start with admin right,
have all right in this directory
my server of test have 16GB memory , on ssd drive
Question,
What is best way for application
1 / standalone .exe
or
2/ service windows
or
3/ isapi solution
thank's for your help
best regards
Posts: 185
Threads: 55
Joined: Jul 2019
Reputation:
2
Location: Luxembourg
Hi,
I'm using the Windows Service option. Developed the application and tested it as a Stand Alone exe-file, and once it was ok, put in on a server (the SQL database server actually) and installed it as a Windows Service.
It's working perfectly.
At first I did have strange problems, but they were all resolved, once I made sure all variables was defined within the secure Form scope.
Regards
Soren
Posts: 1,136
Threads: 37
Joined: Mar 2018
Reputation:
30
Location: Limassol, Cyprus
"once a day my software shutdown alone, with no reason !"
Not true. 99.9% of such cases, its bugs in user code that crash the server. I suggest you enable exception logging and see what his happening.
Posts: 42
Threads: 20
Joined: Jul 2020
Reputation:
0
08-08-2020, 08:40 AM
(This post was last modified: 08-08-2020, 08:41 AM by softdev85.)
Yes may be,
but the problem, is i have enabled the exception error and nothing !
May be i do mistake !
what you mean by:
At first I did have strange problems, but they were all resolved, once I made sure all variables was defined within the secure Form scope.
Posts: 185
Threads: 55
Joined: Jul 2019
Reputation:
2
Location: Luxembourg
When running the program as a single user, there were no problems, but as soon as it is run by more users simultaneously, unsure variables are being changed by different users, so you cannot be sure the value just added to a variable, is the same when you use it again.
Ex. The result of a select call to the database, would end up being the result of another users select request.
Posts: 42
Threads: 20
Joined: Jul 2020
Reputation:
0
Ok,
so, the variable must be déclared where ?
in usersession or sever controleur ?