Run com+ application when no user is logged into server -
I have a com + app that runs through web applications (Initials). I have successfully deployed Win XP (for testing) and Win Server 2008, but it only works when a user is logged in.
Since the server is hosted on an external location (in the case of GoDaddy in my case), I can not just log in and can exit the server with the lock-in server.
I tried some of the solutions I have found on Google but have not done any work. One of the solutions was to start the COM application through a defined task, when the window starts, but it does not work. When I log back in and run a web application, the second example of the COM application is created with that user.
Another solution was to change the DCOM configuration settings - the interactive user in the Identification tab identified by the specific (administrator) user changed COM application properties. But the application did not work even in this case. (It was started but no one failed to compute.)
Is there anything else I can try? (Also tried to create a Windows service, but no clear instructions were found anywhere.)
TK
I was able to solve this issue myself.
Just in case of any such problem, you can do this: - Go to the list of users in the control panel and enable the option for the server when you want to log in automatically , The server restarts. (You must enter a password when you enable this option) - Restart the server machine
The above steps should be logged on to the user even when the server restarts.
Only caution here is that if you access the server with the same credentials as a remote logged in user, then when you close the connection, the user will be logged off again So, whenever you get remote access, restart the server.
Comments
Post a Comment