How to Fix a Corrupted PhoneSweep Profile
Sandstorm occasionally gets support calls involving unexpected
MySQL errors. These errors will develop after PhoneSweep has been
used successfully in the past on a computer, then suddenly and unexpectedly
an error will occur either during a PhoneSweep scan or upon startup of
the PhoneSweep application.
This document is designed to present a possible solution to fixing
these corrupted profiles. All attempts will be made to make this process
as simple as possible, so that the most inexperienced computer user will
be able to follow these instructions to remedy the problem.
There are three segments to this web page:
Determining if you have a corrupted profile
Before following these steps, it is necessary to determine if this
procedure is warranted. The best way to do this is to open PhoneSweep
with a different, new profile. If PhoneSweep successfully opens and
completes a scan with this new profile, but still won't successfully
run with the profile in question, then the old profile is probably
corrupt.
To open PhoneSweep with a new profile:
- Close the PhoneSweep application.
- Open an MS-DOS window.
- This is normally found via the
START menu, either directly under "Programs" or under "Programs ->
Accessories". It may be called either "MS DOS window", "Command
Prompt", or something similar.
- Traverse the directory structure to get to the main PhoneSweep
directory.
- This is by default in "C:\Program Files\Sandstorm\PhoneSweep\"
but it might have been installed in a different location at your
facility.
- Type: cd c:\Program Files\Sandstorm\PhoneSweep
- Open PhoneSweep with a brand new profile. In this example, the
new profile is called "brandnew".
- type: phonesweep -newprofile
brandnew
- PhoneSweep will open. Accept the license agreement, and confirm
that PhoneSweep is at its main screen.
- Add one number to this profile, and scan the number.
- If this one number scans properly and then concludes normally,
attempt to load your old "questionably corrupt" profile via the Setup
-> Profiles tab. If the old profile still causes the error to occur,
then your old profile is likely corrupt.
Attempt to fix the corrupted profile
Follow these steps to try to fix a profile that is corrupt.
- Close the PhoneSweep application.
- Open an MS-DOS window.
- This is normally found via the
START menu, either directly under "Programs" or under "Programs ->
Accessories". It may be called either "MS DOS window", "Command
Prompt", or something similar.
- Traverse the directory structure to get to the main PhoneSweep
directory.
- This is by default in "C:\Program Files\Sandstorm\PhoneSweep\"
but it might have been installed in a different location at your
facility.
- Type: cd c:\Program Files\Sandstorm\PhoneSweep
- Type: dbfix
- You will get a numbered list of profiles. Type in the
number of the profile you would like to recover.
- You will see many messages saying "fixing" and "recovering" scroll
by, and then it will finally say "Done!".
- Close the MS-DOS window.
- Restart PhoneSweep, and try to read in the profile.
At this point if the profile loads it can be considered fixed.
Discarding a corrupt profile that cannot be fixed with DBFIX
If an error persists after running DBFIX on a profile and loading
the profile into PhoneSweep, the profile was likely corrupted beyond
repair, and should be discarded. To discard a profile:
- Open an MS-DOS window.
- Traverse the directory structure to get to the main PhoneSweep
directory.
- Open PhoneSweep with a brand new profile. For this example, the
new profile is called "brandnew".
- type: phonesweep
-newprofile brandnew
- Go to the "Setup -> Profiles" tab.
- Delete the corrupt profile.
|