Subject Re: [firebird-support] Re: Failing to create Firebird DB file
Author Yuliya Shulman
I got the following from the customer:

*****
Problem identified - sort of.... I re-ran the install
one more time after the failed one this morning, this
time monitoring it with SysInternals "Process
Monitor".

I happened to filter down the events to a point where
I could see the failed file access attempts, and
noticed the that it was trying to use a bogus
temporary directory under
"C:\WINNT\system32\YSTE~1\TEMP". If I create the
"YSTE~1\TEMP" subdirectory under the Windows directory
C:\WINNT\system32, the installation does indeed
succeed.

I'm guessing the "YSTE~1" is an 8.3 name for system32,
but I don't know why it wouldn't just use the existing
system32 name itself. Can someone please comment? I
do not consider this issue resolved (just worked
around) until we understand why this is happening.
This may be an issue we'll hit on other systems in our
development environment.
*****

I looked at the accompanying screenshot of the Process
Monitor; the file on which CreateFile fails is
C:\WINNT\system32\YSTE~1\TEMP\fb_152.lck Do you have
any insight as to why it can be happening? Our
software is installed on thousands of computers and
I've never seen this problem before.

Thanks,
Yuliya


--- Adam <s3057043@...> wrote:

> --- In firebird-support@yahoogroups.com, Yuliya
> Shulman
> <yuliyashulman@...> wrote:
> >
> > Yes, we had the customer check all the
> permissions.
> > It's the same code that works for every other
> customer
> > on every other computer. We use full path when
> > creating the database; the executable that creates
> it
> > runs as a service, so we can't use current
> directory
> > anyway. Do you think adding "localhost:" before
> the
> > path may help?
>
> It may help, it uses the TCP/IP protocol instead of
> local protocol if
> you do that. It is a simple thing to try.
>
> > What about NTFS encryption? What do you mean?
>
> If you have encrypted the folder, then only the user
> that encrypted it
> will have access to it, not even LOCALSYSTEM can
> read/write to it
> unless you add '<COMPUTERNAME>$' to the list of
> users that can
> transparently access the file.
>
> Adam
>
>
>
>
>
>
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>
> Visit http://www.firebirdsql.org and click the
> Resources item
> on the main (top) menu. Try Knowledgebase and FAQ
> links !
>
> Also search the knowledgebases at
> http://www.ibphoenix.com
>
>
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>
> Yahoo! Groups Links
>
> (Yahoo! ID required)
>
> mailto:firebird-support-fullfeatured@yahoogroups.com
>
>
>
>




____________________________________________________________________________________
Want to start your own business?
Learn how on Yahoo! Small Business.
http://smallbusiness.yahoo.com/r-index