Cypheros Transportstream Forum

English-speaking Support => TS-Doctor 1.2 => Thema gestartet von: DragonQ am Juni 02, 2013, 16:15:51

Titel: 1.2.8x doesn't launch on Windows Server 2012
Beitrag von: DragonQ am Juni 02, 2013, 16:15:51
When I do a fresh install of TS-Doctor on Windows Server 2012, it stops responding during launch. It gets to 14% on the splash screen and stops.
Titel: Re: 1.2.8x doesn't launch on Windows Server 2012
Beitrag von: Mam am Juni 02, 2013, 17:03:42
Zitat von: DragonQ am Juni 02, 2013, 16:15:51
When I do a fresh install of TS-Doctor on Windows Server 2012, it stops responding during launch. It gets to 14% on the splash screen and stops.

Aaah, I know this 14% very well already  ;D
I dont know WHAT it does there exactly, but it accesses or checks something in your home directory then. Make sure it is accessible. My TSD does not stop there but crashes with a seg fault if something is not correct at starting time.
I would suspect some file in your homedir beeing locked in your case. TSD seems to be waiting for the lock to be released. Look for other running programs that could occupy something there during that time.
Maybe the BOSS here can better explain WHAT exactly is accessed then ?

Titel: Re: 1.2.8x doesn't launch on Windows Server 2012
Beitrag von: DragonQ am Juni 02, 2013, 17:20:27
Erm, what "home directory"?
Titel: Re: 1.2.8x doesn't launch on Windows Server 2012
Beitrag von: Mam am Juni 02, 2013, 17:33:35
Zitat von: DragonQ am Juni 02, 2013, 17:20:27
Erm, what "home directory"?

In my case it happens when it tries to access files in your private folder. I'm running a serverbased network here, therefore the "my files", "my music" and so on folders are redirected to a central server space.
if you just log in locally as adminstrator it should be somewhere around C:\Users\Administrator...
Titel: Re: 1.2.8x doesn't launch on Windows Server 2012
Beitrag von: zeros am Juni 02, 2013, 19:11:16
Hi!
You need to be logged in as an administrator. Not only admin rights but also need to be as administrator!
Titel: Re: 1.2.8x doesn't launch on Windows Server 2012
Beitrag von: DragonQ am Juni 02, 2013, 20:09:51
I am logged in as Administrator. It's a server...
Titel: Re: 1.2.8x doesn't launch on Windows Server 2012
Beitrag von: Mam am Juni 03, 2013, 05:50:34
Zitat von: zeros am Juni 02, 2013, 19:11:16
You need to be logged in as an administrator. Not only admin rights but also need to be as administrator!

This is not correct  :o
Titel: Re: 1.2.8x doesn't launch on Windows Server 2012
Beitrag von: zeros am Juni 03, 2013, 07:53:12
I'll write more specifically-
I have Windows 7. When I login with the user, who has admin rights but is not named "administrator", I can not install nor update!
I have to log in with name "administrator" and of course with administrator rights.

In my second computer with Windows XP- there I have a user name with administrator rights. Interesingly, there is not necessary for update the user named "administrator". But, of course, is needed admin rights to the user.

Perhaps this explains a bit what I was thinking.
Titel: Re: 1.2.8x doesn't launch on Windows Server 2012
Beitrag von: Mam am Juni 03, 2013, 11:44:43
Zitat von: zeros am Juni 03, 2013, 07:53:12
I'll write more specifically-
I have Windows 7. When I login with the user, who has admin rights but is not named "administrator", I can not install nor update!
I have to log in with name "administrator" and of course with administrator rights.
Yeah it explains your thoughts, but it is wrong.
Surely even under W7/8/2008R2/2012 you can work with administrave rights but different user. In W8 you are even forced to because many programs refused to run if you are loggedin as "administrator".
So I am afraid, you should check your settings of your W7 Box, maybe you have forced the UAC to the "max level" which will always take you to a different desktop for acknowledgment?
Such settings can break programs that run in a batch or an alike-one environment.
Titel: Re: 1.2.8x doesn't launch on Windows Server 2012
Beitrag von: DragonQ am Juni 09, 2013, 17:12:51
So....what could be the problem?
Titel: Re: 1.2.8x doesn't launch on Windows Server 2012
Beitrag von: Mam am Juni 09, 2013, 17:21:11
Zitat von: DragonQ am Juni 09, 2013, 17:12:51
So....what could be the problem?

My hope was that the Guru here tells us, which actions happen at 14%. So we could make a better educated guess then...
Titel: Re: 1.2.8x doesn't launch on Windows Server 2012
Beitrag von: Cypheros am Juni 11, 2013, 00:17:56
Language is being loaded and the main form is being initialized.
Titel: Re: 1.2.8x doesn't launch on Windows Server 2012
Beitrag von: Mam am Juni 11, 2013, 07:18:25
Zitat von: Cypheros am Juni 11, 2013, 00:17:56
Language is being loaded and the main form is being initialized.
Yikes, this sounds evil! Usually these tasks are hidden deeply in the runtime system of the used compiler/language used and beyond the scope of the programmer  >:(

So I am afraid we never manage to track these bugs down and fix them.  :'(

TOO BAD SNIFF, SNIFF!  :(

AHHH :-) at least for the poor guy who originally asked here I have an idea where to look for:

Check your installed Roles and Features! Maybe the TSD runtime environment depends on some graphical stuff, that is not installed on the server version by default?
I would look and try some features like "Designs" or "Desktop Experience" or what they do call it now (I only have 2008R2, so I can't check them out myself).

Install them, try to run TSD again, pray, pray more (actually I dont believe in these things but they dont make it worse either :-) ) and see what happens...

Good Luck!
Titel: Re: 1.2.8x doesn't launch on Windows Server 2012
Beitrag von: DragonQ am Juni 11, 2013, 12:00:05
I can't imagine I have any missing features, unless TS-Doctor's requirements changed recently. TS-Doctor used to work on this machine.
Titel: Re: 1.2.8x doesn't launch on Windows Server 2012
Beitrag von: Mam am Juni 11, 2013, 13:15:55
Zitat von: DragonQ am Juni 11, 2013, 12:00:05
I can't imagine I have any missing features, unless TS-Doctor's requirements changed recently.
Expect the unexpected  ;D
Nah, seriously, I don't think that TSD's requirements have changed dramatically recently.

Zitat
TS-Doctor used to work on this machine.

But... maybe... you've (un)installed some roles/features recently that have unknown/unaware dependencies so you did not notice the change in the first glance?

I mean, "languages" and "designs" is at least a thing to be worth checked.

Maybe its even a simple and stupid thing like a missing translation in the user interface for your language?
Try to rename your file and copy in a "well known working one" instead (in the case of the doctor its most likely "german" :-) )

Don't give up so easily  ;D
Titel: Re: 1.2.8x doesn't launch on Windows Server 2012
Beitrag von: DragonQ am Juni 11, 2013, 15:24:16
Zitat von: Mam am Juni 11, 2013, 13:15:55But... maybe... you've (un)installed some roles/features recently that have unknown/unaware dependencies so you did not notice the change in the first glance?

I mean, "languages" and "designs" is at least a thing to be worth checked.
I have never removed a role or feature, only added when necessary.

Zitat von: Mam am Juni 11, 2013, 13:15:55Maybe its even a simple and stupid thing like a missing translation in the user interface for your language?
Try to rename your file and copy in a "well known working one" instead (in the case of the doctor its most likely "german" :-) )
I'm just using the standard English installer that works on my desktop machine. I've even tried removing all TS-Doctor related files I can find after uninstalling, followed by reinstalling, but the same freeze/crash always happens.

Zitat von: Mam am Juni 11, 2013, 13:15:55Don't give up so easily  ;D
I'm not giving up, I paid for this software so I expect it to work, I just can't see what the problem can be.
Titel: Re: 1.2.8x doesn't launch on Windows Server 2012
Beitrag von: Mam am Juni 11, 2013, 17:45:56
Zitat von: DragonQ am Juni 11, 2013, 15:24:16
I'm just using the standard English installer that works on my desktop machine. I've even tried removing all TS-Doctor related files I can find after uninstalling, followed by reinstalling, but the same freeze/crash always happens.

Nono, that was not what I had in mind...  ;D
(sorry for my misleading limited english, but its just not my natural language  ;D )

What I thought was that it MIGHT happen that the language file (in your case for english) of the Doctor himself is either corrupt, or not correct for that particular version. So I suggested to either install or switch to german in the program (either through the installer or just with a tweak in the registry) just to see if it loads again, or still crashes.
If it loads, we have more clues where the bug might be and how to fix it.
(you know, sometimes you simply forget to localize a new sentence and then the reaction of the program trying to display this sentence is not predictable. A defensive programmer would hardcode the "normal" language and overlay it with localized string, if one was forgotten just the normal language is still visible, but no harm is done. But I dont know how the Master here did his localization stuff  :P )

Titel: Re: 1.2.8x doesn't launch on Windows Server 2012
Beitrag von: Mam am Juni 11, 2013, 22:50:56
Ok, I was a bit curious, so I've checked it out:
[attachimg=1]

As you already said, TSD RUNS flawlessly on Windows 2012, even as Administrator.

It did for you before , it ceased working when....

Yeah, WHEN? WHY? WHAT DID YOU DO?

Obviously its neither TSD, nor the OS. So it must be a setting or something.

(I've just installed a 2012 Server, no additional Roles/features. Installed TSD and let it update itself to the current beta version)

Titel: Re: 1.2.8x doesn't launch on Windows Server 2012
Beitrag von: DragonQ am Juni 12, 2013, 10:57:34
Zitat von: Mam am Juni 11, 2013, 22:50:56It did for you before , it ceased working when....

Yeah, WHEN? WHY? WHAT DID YOU DO?
I updated TS-Doctor. I have no idea what version it was on before since I hadn't used it in months but it asked to update and I let it. Then *poof* it broke. The German installer version doesn't work either.

I've tried copying all of the files from my desktop to the server (e.g. licence file, ComSkip files, etc.) and this time it stays at 14% for ages and then says "invalid executable".

The easiest (and possibly only) way to solve this is to know exactly what is happening at 14%. The only thing I can see it doing is creating an empty "Download" folder in "C:\ProgramData\Cypheros\TsDoctor" and then, just before it crashes, a "Settings.dat" file appears in the same folder.
Titel: Re: 1.2.8x doesn't launch on Windows Server 2012
Beitrag von: Mam am Juni 12, 2013, 12:38:38
Maybe you should remove it completely (I remember there is a threat in this forum somewhere that explains how to remove remains from registry and so on (yeah, and before you ask, I can't remember where it is, please search yourself)), get rid of all files, reboot and then do a fresh install with the current version.

Maybe it was the long time of no updates that broke it? I dont know if you can easily skip several versions and still get a living program afterwards.

So better play it safe, aaah clean :-)

Titel: Re: 1.2.8x doesn't launch on Windows Server 2012
Beitrag von: DragonQ am Juni 13, 2013, 17:56:05
Well a search for "registry" yields nothing.  :(
Titel: Re: 1.2.8x doesn't launch on Windows Server 2012
Beitrag von: Mam am Juni 13, 2013, 20:36:48
Zitat von: DragonQ am Juni 13, 2013, 17:56:05
Well a search for "registry" yields nothing.  :(
Well the search in this board is limited to "current folder and below", so its wise to go to the base of the forums before searching...  ;D

Anyway, I just searched and found it back. Of course the article was in german :-)

    OR
(I would add: "REBOOT!")

(I think TSDoctor_Ger.exe is TSDoctor_Eng.exe in your case??? )

This should ensure a real clean fresh installation. Cross your fingers, maybe it help?
Titel: Re: 1.2.8x doesn't launch on Windows Server 2012
Beitrag von: DragonQ am Juni 13, 2013, 22:35:06
Zitat von: Mam am Juni 13, 2013, 20:36:48Well the search in this board is limited to "current folder and below", so its wise to go to the base of the forums before searching...  ;D
Ah right!

I needed to restart for Windows Updates anyway, so I uninstalled, deleted the folders and registry keys, restarted and installed it again. So far, it works! Thanks for the help.
Titel: Re: 1.2.8x doesn't launch on Windows Server 2012
Beitrag von: Cypheros am Juni 13, 2013, 23:09:16
Jepp, Mam is the man (especially for Windows servers)  ;D