TMG-L Archives

Archiver > TMG > 2005-06 > 1117666829


From: Robin Lamacraft <>
Subject: RE: [TMG] Project Location Not Sticking
Date: Thu, 02 Jun 2005 08:30:29 +0930
References: <1e3.3ce409d9.2fcd9b81@aol.com>
In-Reply-To: <20050601221543.ANC8050.ibm62aec.bellsouth.net@M675>


Cheryl,

I think that you are running into a problem that is of Microsoft's making
not TMGs.

I have had a similar experience on W2000 in network. If you use networked
files (whether you use a Map letter Drive K:\ or a direct UNC
hostname\sharename path \\hostname\docs), the operating system returns
different values for these if you are actually referencing this path from
within the same computer or accessing it via the network on another
machine. What TMG stores in the app.ini file is the path value returned to
it by the operating system. If you *always* access the file over a network
then the operating system will return a consistent value (that includes the
mapped drive letter or hostname\sharename). However, if you reference that
file via that path but it is on the same machine as your application then
the operating system outsmarts you and returns the *actual* path on that
machine (translating the mapped letter or hostname\sharename to its
physical path).

Hence I would advise you to store you files on a separate computer and
always reference them over a network, or not try to use the last used. This
problem also occurs with paths set in preferences depending on when you set
their values.

Robin Lamacraft (Adelaide, Australia)

At 17:15 1/06/2005 -0500, Cheryl Rothwell wrote:
>Ok, I moved the projects folder to the same computer, not another one on the
>network. As I said, that worked fine before but I wanted to eliminate any
>network issues. I also have not opened any other project since the move to
>eliminate any issues there. The folder name has no spaces. It appears to me
>it is updating the last used. It still does not remember where the project
>is.
>
>Here is the first of the .ini file which I think covers the last used
>question.
>
>[Startup]
>ReloadOnStart=No
>ShowHintsform=No
>SplashDelay=2
>WelcomeBack=2
>Welcome=2
>CheckUpdateLast=2453519
>CheckUpdateDays=0
>
>[Database]
>Prefix=
>project1=c:\TMGFiles\PROJECTS\Cheryl\CHERYL__.PJC
>project2=
>project3=
>project4=
>project5=
>project6=
>project7=
>project8=
>project9=
>LastUsed=c:\TMGFiles\PROJECTS\Cheryl\CHERYL__.PJC
>Project10=
>
> I also note this line in the .ini - PRJRoot=c:\TMGFiles\PROJECTS\ so it
>knows where it is.
>
>That little box on the welcome screen where you check if you want to see the
>welcome screen and be asked which project each time rechecks itself somehow.


This thread: