www.ClassicTW.com
http://classictw.com/

TWGS in Windows 7 x64 (service)
http://classictw.com/viewtopic.php?f=45&t=31664
Page 1 of 1

Author:  mtdew [ Thu Jun 09, 2011 9:44 pm ]
Post subject:  TWGS in Windows 7 x64 (service)

Has anybody else had an issue setting up TWGS as a server in the latest (v2.00) release?

I can install the service (as admin) but it will not start. When I try and start it is gives me error 1053. I have uninstalled and reinstalled to no avail..... :(

Author:  John Pritchett [ Thu Jun 09, 2011 11:29 pm ]
Post subject:  Re: TWGS in Windows 7 x64 (service)

I have had reports of this. I am unable to reproduce this problem, but I have modified the way TWGS runs as a service, so I'd like to see if that makes a difference. I'll be releasing an update soon, so give that a try and let me know if it helps. If it doesn't, I'll take a deeper look at this.

Author:  John Pritchett [ Fri Jun 10, 2011 12:35 am ]
Post subject:  Re: TWGS in Windows 7 x64 (service)

I'm doing some research on this problem, and I found a reference to a generic problem with people having this error on services. Here's what was suggested:

"To resolve this problem, obtain the latest service pack for the Microsoft .NET Framework 1.1. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:
885055 (How to obtain Microsoft .NET Framework 1.1 Service Pack 1 ) How to obtain Microsoft .NET Framework 1.1 Service Pack 1"

I have no idea if it's related, but maybe worth a try just to rule it out?

EDIT: Further reading shows that this hasn't been an effective solution. But something I would like to rule out is whether or not you've tried running TWGSSERVE.EXE as an administrator? Even if you're logged in as an administrator, try running TWGSSERV.EXE explicitly as an administrator. Also, maybe run it in XP compatibility mode? Just some thoughts.

I'm fairly convinced that this is caused by TWGSSERV.EXE trying to start a service without sufficient rights. I wonder if it's possible to start the service from the service list rather than from TWGSSERVE.EXE?

Author:  mtdew [ Fri Jun 10, 2011 11:23 am ]
Post subject:  Re: TWGS in Windows 7 x64 (service)

I tried logged in as Administrator and run as administrator and neither one works. Now, twgsserv.exe will install as a service and run, but it will not show up in the taskbar. I also ran netstat -a to look for the ports, and they are not listed.

I have tried this as administrator, run as admin, and compatibility mode (WIN XP P3).

I also have tried running this from the services list. It says that it is started, but again nothing in the taskbar and no ports listed.

Author:  Singularity [ Fri Jun 10, 2011 12:26 pm ]
Post subject:  Re: TWGS in Windows 7 x64 (service)

If you're running it as a service, it never will show up in the task bar. When ran as a service, it has no GUI session to bind to and thus you will never get a task bar icon. Unless the app takes special care to provide a separate management GUI (most don't), service apps don't provide GUI controls.

What you want, it sounds, is to run it from the GUI. To do this, set your system to boot into the admin user and load twgs from the start folder. That is the way most of us run it.

Author:  John Pritchett [ Fri Jun 10, 2011 12:28 pm ]
Post subject:  Re: TWGS in Windows 7 x64 (service)

TWGS won't show up in the task tray for Windows 2008 and Windows 7. I wasn't able to get that functioning properly under those OSs, so it's been deferred until I have one to test on. But if you don't see the port listed, and you can't telnet in, then it's clearly not running.

I've been working with Micro to troubleshoot some things on his Windows 7 machine. We're using a service called join.me that allows you to create a url link and send it to me so I can open a virtual window on your desktop from a browser. Pretty easy to do. I'd like to find someone who's experiencing this problem who'd be willing to let me poke around and try to find a solution. We were not able to reproduce this issue on Micro's Windows 7 64 bit machine, so it's not a problem to everyone in general who's running Windows 7 and TWGS as a service. My only hope of reproducing the bug may be to observe it on one of my customer's machines.

Author:  Singularity [ Fri Jun 10, 2011 3:51 pm ]
Post subject:  Re: TWGS in Windows 7 x64 (service)

I have windows 2008 R2 running as a testbed machine for AD and sharepoint. I can turn it on, setup RDP, and you can install TWGS on it if you want. It's virtualbox, so I can take snapshots for restore.

Author:  John Pritchett [ Fri Jun 10, 2011 3:59 pm ]
Post subject:  Re: TWGS in Windows 7 x64 (service)

I haven't had any reports of this being a problem on 2008. Just Windows 7. If you can verify that you have the same problem installing as a service on 2008, then that would definitely help.

Author:  mtdew [ Fri Jun 10, 2011 4:02 pm ]
Post subject:  Re: TWGS in Windows 7 x64 (service)

I stand corrected. My mistake, it will not show up in the task bar (oops sorry). But I also looked for the ports and the ports were not open on my machine.

The program will install as a service, it says it has started, but it does not run or open up the ports. I have also tried using apptosvc from Basta Computing to start it as a service and that will not work either.

Author:  John Pritchett [ Fri Jun 10, 2011 4:05 pm ]
Post subject:  Re: TWGS in Windows 7 x64 (service)

When you started the server, you said you got a 1053 error, which means TWGS failed to identify itself as a service. It's probably something related to TWGS, but I've seen a lot of reports on the net about lots of services exhibiting this behavior. Something changed in the way services are started.

Author:  Timberwolf [ Fri Feb 17, 2012 10:04 pm ]
Post subject:  Re: TWGS in Windows 7 x64 (service)

Running win 7, I'm getting the same issue. Says I have to be logged in as an admin also. I'm already an admin.

Do I have to go back to my slower Win XP machine?

Author:  John Pritchett [ Fri Feb 17, 2012 11:27 pm ]
Post subject:  Re: TWGS in Windows 7 x64 (service)

No. This is an ongoing issue with Windows 7. Windows 7 won't run an application with admin rights unless you tell it to run with elevated privileges, even if you're on an admin account. So TWGS currently won't run on Win7 unless you run as administrator.

I actually made a change to the upcoming version where TWGS no longer tests for admin privileges, it just attempts to do whatever it needs to do that only an admin can do, and errors out with a message if it fails. This gets around the "you can only run as an admin" message when running under an admin account. The OS reports to TWGS that you're not an admin, but if you are an admin, TWGS has access to the needed resources, so all is well. Hopefully that'll cure this issue once and for all.

For now, if you set the "run as administrator" option on the TWGS Service icon, it should work.

Author:  Timberwolf [ Sat Feb 18, 2012 7:07 am ]
Post subject:  Re: TWGS in Windows 7 x64 (service)

Got it to run. Thanks.

Once I figure out all the new menus and options, I'll start my beta testing.

Author:  John Pritchett [ Sat Feb 18, 2012 12:40 pm ]
Post subject:  Re: TWGS in Windows 7 x64 (service)

I looked at getting the service to start without being run as "run as administrator" last night, and unlike TWGS itself, it won't install the service. So I guess the only solution is to provide better instructions in the error message, describing how to set the shortcut to "run as administrator". It would be nice if I could just install the shortcut with that setting enabled, but I can't figure out a way.

Author:  Timberwolf [ Sat Feb 18, 2012 6:56 pm ]
Post subject:  Re: TWGS in Windows 7 x64 (service)

Yeah. Just make more people aware of this and as long as there is always a work around like that, it should not be a problem.

Page 1 of 1 All times are UTC - 5 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/