Logon and Network Errors,
Damaged and Disappearing Files
and Other Problems with WinCenter
There are a number of problems reoccuring when using WinCenter. Some of them can easily be avoided or are quite harmless, others require some attention to repair when they pop up.
Microsoft Office Help Problems
When using the Help function in one of the Office tools, it can take a considerable amount of time (several minutes) before the Help becomes available, especially the first time you use it.We have no idea why it takes that long and what is happening behind the scenes. As an Administrator, it is not a problem; as an ordinary user it takes a lot of time ... apparently, Microsoft's software is not very well suited to be used in a multi-user environment and/or with less than Administrative user rights.
In the good old days, help was just a collection of *.hlp files, which could be opened separately, from outside a specific application, but nowadays such *.hlp files seem no longer to be used by Office.
If you find a way to access the help more quickly, please let us know. Until then, you'll just have to be patient until Microsoft's software has taken it's time to serve you.
PowerPoint Network Problems
When we used Office 95 on the (old) WinCenter server, Word was having problems saving a file to a directory that was on an NFS mounted disk (i.c. your NIS home directory which is mounted as the H: disk).In Office 97 there were no such problems, at least not that we are/were aware of.
In Office 2000 it seems that PowerPoint has the same problem Word 95 had : when you save a file directly to a directory on the H: disk, it often is not written correctly and cannot be opened again in PowerPoint.
The solution is simple : first save the presentation to the L: disk. This is a local disk on the WinCenter server and the chance of having these problems there is smaller. After having it saved to the L: disk, you can copy it to your NIS home directory (H:) using the Windows Explorer or the copy command in a DOS command window.
The other Windows applications (including the Windows Explorer) seem not to have this problem with NFS mounted disks ... it is just PowerPoint that is misbehaving.
PowerPoint File Size and Compatibility Problems
Another problem with PowerPoint is big files; some suggestions for avoiding them to grow too big are :- turn off the Allow Fast Saves options and save them again
- import bitmaps not via copy and paste, but link to the files containing them
- do not convert from or use templates of older versions or versions from another platform; this often more than doubles the size
More information can be found on :
Logoff instead of Disconnect
This is actually not a problem for the user, but more for fellow users and the administrators ;-) When closing your WinCenter session, please make sure that you really logoff and not just disconnect from WinCenter. Disconnect will not actually log you off, but will suspend your session; all applications remain in memory and all files that are open stay open. In this way, you not only keep resources allocated such that other users cannot use them (as a matter of fact, you keep one of the available licenses occupied) , but you also risk losing files because they are not closed properly in case WinCenter crashes or must be rebooted for some reason.Because we have noticed people tend to forget they are logged in to WinCenter, we have put a time out on idle and disconnected sessions. In this way, licenses are made available again to other people. The time out for idle sessions currently is 12 hours, for disconnected sessions, 5 minutes. After that, the system logs you out, thereby loosing all unsaved data of course.
Office (Word) Preview
Office applications, most notably Word, have the option to preview the files that you see in the Open File Dialog Window. In this way, you not only see the list of files you can open, but you also see a thumbnail version of what is in them. This seems nice at first glance, and it probably is, in a Microsoft-only-world, but in a mixed environment, it can cause serious problems. Office applications assume some extensions to be theirs and they treat every file that has a known extension (e.g. .doc for Word) as one of them. So every file with a known extension will be tried to be previewed. If the file in question is not an Office file, but just happens to have an extension the Office application claims to recognize, the application, your own WinCenter session or the entire WinCenter server can hang, crash or otherwise be terminated improperly.It is therefore advised not to use the preview option. This can be done by clicking another option than preview on the Open File Dialog Window.
Office (Word) Save and Save As
A word of caution about manipulating (Office) files on mixed platforms : we have experienced that if you create a file locally on WinCenter (e.g. on the L drive) and then ftp or copy that file to a Unix directory, rename it there and then try to open it again, from WinCenter, using the H drive, you will have problems saving that file again.It seems to have something to do with the original file name being included in the file's contents and thus saving the file confuses the application : it sees a different path/file name in the contents of the file than the one it is to be saved with. If you save the file with a different name (File->Save As) then there is no problem.
The details are yet unknown, but it seems best not to switch back and forth the files between the H and L drive too much and if you do, always use Save As the first time you save the file on the new location.
This might also be a problem with files you receive from somebody else, since you have no idea how and where they were created. Also with such files, it is best to use Save As the first time. Note however, that you should only have to use Save As the first time. Afterwards, you can just save (File->Save) them safely.
This applies only, as far as we know at this time, to Microsoft Office files. Plain text files, created with notepad do not carry their file name internally and thus there should be no problem with them.
Word Temporary Files and Network Errors
These problems seem to have disappeared with the latest version of the NFS client on wincenter. They are documented here just in case they re-appear ;-)When Word is unable to save the document, it often returns an error message about network errors. Often, the resulting .doc file is no longer consistent and cannot be opened properly by Word again. Not all is lost however, you might still be able to recover your file. You cannot do this in WinCenter however; you need to go to a Unix prompt, in an xterm for example.
- Change your current working directory to the directory in which your Word document lives (cd <dir>)
- Do a long listing in it (ls -l)
- Look for files beginning with a ~, with the set-userid bit on (look for permissions like -rwS------) and with a .tmp extension
There is probably also a file beginning with a ~, but for the rest the same name as the document you are trying to rescue. This is an in-between save of your document. It most probably is damaged, such that you cannot open it in Word.
To be able to open these files in Word, you should make sure that the file name does not start with a ~, it does not have a .tmp extension and the set-userid bit should be turned off. Renaming a file can be done with the mv command, turning off the set-userid bit can be done with the chmod command. If you are unsure about the use of these commands, consult the on line man-pages (man mv and man chmod). Mostly a chmod u-s <file> should get rid of that nasty bit ;-)
Before changing these files, make sure you close your Word, such that it does not have one of them open, while you are changing it. Rename the files to a different name, such that you do not, by accident, overwrite the other candidates for rescue. You can now try to open the files you expect to contain a version of your document. Chances are, you find the last or one but last version ;-)
The whole problem lies with Word being extremely sensible to the network. We have not experienced similar problems with other applications, allthough it wouldn't be surprising should the other Office applications show the same defect. Also according to other sources, it seems that Word in particular and Office in general is not entirely accustomed to have files open across a network on other servers than Windows 95/NT.
Using an AZERTY keyboard
Mostly, wincenter can determine the keyboard you are using on your client, but sometimes this auto-detection fails.
Especially with azerty keyboards this might give some problems with some keys being misunderstood.
You can call the wincenter command with command line options for setting the keyboard layout to use:
-
wincenter -keybd <layout>.kbd
You can also try the language option:
-
wincenter -lang <language>
Or maybe a combination of the two will work for you.
You can easily test the result without having to log in (as a matter of fact, logging in might be a problem because you cannot type in your password ;-) by typing in the username field ... you can easily try a number of keys in that field and look at the result.
The result of somebody who tried extensively:
> Het is huilen met de pet op (windows???). > > Om het kort te houden: door te spelen (bv. fr was een aardige kandidaat), kan > je bepaalde dingen doen werken, maar andere werken dan niet meer. > > Misschien is fr al bij al nog de beste optie. De nummertjes vereisen shift > (da's ok), de meeste speciale tekens werken (dit in tegenstelling tot > vroeger). Alleen voor de letters wil ie per se weer qwerty (en dit zorgt voor > een kleine interferentie zodat toch een paar speciale karakters weer de mist > in gaan: een underscore heb ik tot nader order bijvoorbeeld > niet gevonden). > > Heb ook nog een dingetje van het net geplukt ( > ftp://ftp.ncd.com/pub/ncd/Archive/WinCenter/Keyboards/README), maar echt veel > bijgebracht heeft het me niet gedaan. > > Vrees dat ik met deze ongemakken ga moeten leren leven. Ze nemen natuurlijk > niet weg dat wincenter een fantastische (en snelle) oplossing is om toch op > m'n kot rational rose te kunnen draaien.
