I had issues similar to this last year. My files are hosted on
Filemaker
Server 8, Windows 2000 Server. Clients are Filemaker 8.5 and 9.
I noticed that records were ending up in the "found set" of lookups
that
should not have contained them. Closer examination revealed the
dreaded
records with "?????". Oh Man!
This was near a time when we where experiencing some commercial
power issues
due to local weather conditions.
The power went down, at night, and I was unable to get to the
server to put
it down nicely before the UPS power ran out.
The situation began to get worse, as I was beginning to experience
inconsistent results for my web and local FMPRO client users AND
crashing of
the Filemaker Server service.
The Filemaker Server was now hanging about once a week. When that
happened, I was never able to truly close the files properly.
Typically, I
had to reboot the server to regain control over the Filemaker Server
service. Argh!!!
I took a copy of the files and opened them up locally on my
notebook to see
if the corruption existed there as well. I also ran Winfried's
FMDIFF
program against the files to see if the problem would show up.
Luckily, it
was isolated to only one file.
I am guessing that file was corrupted due to not being closed
properly.
I was unable to remove the corruption by dealing with adjacent
records,
saving a copy (or compressed copy), or dropping indices.
To fix the problem, I took the following steps, which I have used
successfully, twice:
1. Back up the solution. Clean or Corrupt... Back it up and put it
somewhere safe where you can't change it.
2. "Inventory" the tables in the corrupt file, making a note of the
number
of records in each table as well as serial fields' next value. If
you have
Filemaker Pro Advanced, it is best to run a Database Design Report
as it
will give you a good inventory of your solutions' tables.
3. File | Recover the database. Note that I was unsuccessful
until I did
this. But... A recovered file is not the best place for your live
data...
So we continue on...
4. Save Compacted Copy of the Recovered file.
5. Now open the compacted copy and look at the Database Structure.
If the
"recover" did indeed have to recover something, you may find some
additional
tables which may contain data which was "lost".
6. Use your last good, error free baseline, saved as a Clone with No
Records. This will become the new home for your data. If you do
not have
a backup as such, you are going to have to use the "recovered" file
AND may
have to do some minor surgery if you lost tables, fields or layout
objects.
Oh... And you may not sleep well for a week. Unless you are in
complete
denial... You will back up your data and create new, clean
baselines for
each release from this day forward (right?).
7. Import data from Compacted Copy into each table (in my
solution, there
were six in the file) paying close attention to making sure that
auto-increment fields were updated appropriately.
8. I Re-ran FMDIFF (since it does ACTUALLY indicate where there are
structural errors) on the files to verify that they were "clean"
9. Replace the bad file in the solution (locally) with the new,
clean file.
10. Opened the solution locally. Sanity check the solution to be
sure
that the traces of corruption noted earlier are indeed gone.
11. Replace the corrupted file on the server with the new minty-
fresh clean
version and reopened.
12. Test the server based solution to ensure that the effects of the
corruption are gone.
I am pretty sure that I needed to have something send me an SMS if the
server rack at that site goes offline for whatever reason (it took
5 hours
for the re-import of the 250,000 records with all their indexed
fields and
such).
The other possibility is a utility that, after 'x' minutes on UPS, the
Filemaker service is told to disconnect users, close files and shut
down
nicely.
At any rate... I am just sharing what works for me. I have been very
pleased with the results. Once I rid my solution of the corruption
(??????), it has remained stable ever since.
Regards...
Bob Minteer
On 1/29/08 12:45 PM, "Sue" <[EMAIL PROTECTED]> wrote:
Filemaker is driving me crazy this week.
In a database we have been successfully using for a couple of years,
I am suddenly finding a record with ? in all fields. The record
turns up when I search for records for just one employee. I am not
able to enter data into any fields on this record--I get an error
message saying Before typing click into a field, hit tab, or create a
new record--all of which suggests the record does not exist.
When I select Delete record, I get a message saying are you sure you
want to delete,
I choose yes. The number of found records decreases by one.
Then I search for the employee name again, and the phantom record is
still there.
It is always the same record number (152) in the 162 records that
exist for the employee.
There may be other phantom records for other employees, but so far I
have not found any. Searching for ? in any field does not find
the exis
Has anybody got any clue what is going on??
FMPRO (advanced) 9.0v1 on FmPro Server 9
Thanks,
Sue