4
0
I have an extensive image database (3.25GB metadata, 90K images) held in a legacy product (idImager V5). This in turn utilises SQL Server 2005 as the underlying DBMS.
Over time, I have been adding and maintaining image information and have shifted the database to different disc drives to utilise larger discs, or to replace defective drives. I have had different locations for the database, and different locations for the images that are being managed. Disk names have changed over the period of use. All references to drives relate both to physical and logical drives. I have never had any partitioning of the drives nor multiple boot systems.
The current situation is that the database is on drive C: named "Windows7_OS". This name has never changed over the years. The images are on drive D: named "2nd System Drive". This drive has been named "New Volume" in the past.
I have some pictures stored in the database when the name was "New Volume", and some when the name was "2nd System Drive". If I try to access photos stored under the current wrong name, I get the error message
.
If I switch the names I get the identical message (including a full path name) but relative to the other name.
Is there any way to get the image database to accept both names? My initial thought was to alias the drive - in Windows or SQL Server. I have not found a way to do this. I do not wish to work through the full metadata and image databases in order to sort out the incorrect names, nor do I wish to setup the system from scratch.
Update:
@Scott's suggestion only works when a drive on one computer is changed to one on another computer. It does not work where the same drive is captured in the database twice under different labels, but only one label is visible to the database at a time. Checking this apporach revealed that configuring the Catalog Explorer to exclude the Catalog Folders also removes this option from sight.
Update:
It has proved necessary to follow @harrymc's suggestion, in spirit though not detail. A table in the database has all the file paths containing images, and the media label for each file path. Changing the data in this table provides an exact solution to my problem. This required backing up the database, and operating with database owner privileges.
Not sure if this will work, but ... create a subdirectory on your computer named the same as the volume you're trying to access. Stick some images in it that should be on it. Now, map that directory to a drive letter. What will be displayed in Explorer is the name of the directory. This might fool the software into thinking the volume is there correctly. Note: This is a guess and very likely might not work... – Steve – 2015-04-20T21:48:22.547
@Steve thanks for the suggestion. As you feared it does not work. – Chris Walton – 2015-04-21T01:03:14.377
Another thing that may work: create an SMB share with the name of the volume and map it to a drive letter. Just giving suggestions in the absence of others. – Steve – 2015-04-21T04:09:31.227