NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: John Fligg on December 02, 2011, 05:36:28 PM
-
I have added the SelfService controls to my server app. Running on my desktop machine the service starts and all is fine. However I decided I wanted to check the stats. As there is no server window available I ran the server exe manually and the stats window appeared. But there were no threads shown.
I guess that makes sense as when I launched the server it was not monitoring the original launch via self service (if that makes sense).
Anyway I tried an external self service approach but that did not work either.
So how can I have the server app as a service AND also make sure that the stats screen is available at any time? I;m obviously missing something obvious.
Thanks
John
-
I think that the only way you will see any "stats" is if someone is accessing your webserver via a browser. The stats do not not have anything to do with the actions of the EXE itself.
Don
-
>> So how can I have the server app as a service AND also make sure that the stats screen is available at any time? I;m obviously missing something obvious.
you would need to make a NetWebForm, and populate that with the performance properties from the server class.
Probably something you want to do down the road a bit.
cheers
Bruce
-
OK here's a weird one.
Ever since making my app a service I am getting from time to time strange compilation issues.
The compilation will fail with cannot delete webapp.exe, file access error. File open.
However the service is not running and is disabled.
The ONLY way I seem to be able to resolve this is to start up in safe mode, delete the exe and start over. It lasts for a while then rears it;s ugly head again.
BTW I am only performing generate and make and not trying to run the app from within the IDE.
John
-
I've got a guess..
Are you using WinEvent to minimize to tray or something along those lines?
If so, and you have not identified an icon, the EXE will run but you will not see it. It can only be seen via the task manager.
Don
-
No - I checked the rask manager and it was not running.
But lately seems to have been OK touch wood.
I think it is something to do with the Clarion IDE holding onto something but not sure. I think I will just ignore it for now being as it is behavng at the moment <g>
John
-
Actually it may be IE9. All of a sudden this morning all my apps refused to run on 'localhost'. I tried different ports and IE9 would always say Could not find page.
So I reset all the settings and working again now.
John