Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Reading NSF files off of a CD\DVD 1

Status
Not open for further replies.

JasonU

IS-IT--Management
Feb 13, 2003
99
ZA
Hello all

I have written a few files to CD and DVD. The only way I can read the file is when I copy it back to my harddisk and remove the 'read-only' attribute. Does anyone have an idea how I can read the file directly off of the CD\DVD?

Regards
Jason
 
You need to make sure that all views have been updated correctly before copying a nsf file to non-writable media.
To do so, make a local replica or the database, then open it and press CTRL-ALT-F9. That will instruct the client to reindex all views.
When that is done, you can burn the file to ROM media and you should be able to use it.

Pascal.
 
Hello Pascal

Thanks for the tip. I have many files to write. I'll give it a shot and let you know if I get un stuck again.

Regards
 
Hello

I tried the CTRL-ALT-F9 function and it seems to minimize my notes app. Any more ideas?

Regards
 
When files are copied to CD they are marked as read only for obvious reasons. If the CD is only a CD-R you cannot write to it after it's burnt so the read only flag remains. Notes cannot open an NSF file that is read only.

I've never tried it with a CW-RW but maybe you could remove the read only flag if the CD was re-writable. A DVD is not re-writable so I think you are stuck there.

I've been down this road a number of times and all I do now is copy them to my hard drive.

Hope this helps
 
Hello Pascal

I tried what you said, and it worked. I have also did some digging and found the following to add to what you told me. I followed this and got my NSF file to open up from a CD. Enjoy....


How to Put a Notes Database on a CD

Problem:

What steps are necessary to prepare a Notes database onto a CD-ROM or any media which is read-only?

Solution:

The following steps are necessary to put a database onto a CD-ROM or other read-only media:

1. Open the database and press CTRL+SHIFT+F9. This key combination will refresh all of the views in the database. This includes open views, hidden views, and private views. It is important to build the view indexes before copying the database to the CD or other read-only media as, if they are not created and stored in the NSF file prior to adding it to the read-only media, Notes will attempt to create them and will not be able to because it cannot write to the media.

Note: If a view index is not built, pressing CTRL+SHIFT+F9 will cause Notes to build the view. If the view is already built, pressing CTRL+SHIFT+F9 will cause Notes to update the view, not rebuild it.

2. Create the full-text index for the database if you intend for the database to be queried using Notes' full-text indexing capabilities. You can do this using the File - Full Text Search - Create Index command. This index must be created prior to putting the database on the read-only media for the same reason described for view indexes in Step 2 above.

Note: Most CD mounting software conforms to the ISO 9660 standard which does not allow for periods in directory names. When creating full-text indexes in Notes, it by default creates a directory with the extension .FT (period - FT) which is against the ISO 9660 regulations. For example, if your database is called DATABASE.NSF, then Notes will create a subdirectory called \DATABASE.FT underneath the directory which contains the file DATABASE.NSF.

To workaround this issue, do the following:

a. Create another directory which has the same name as the database, but with no extension (i.e. \DATABASE instead of \DATABASE.FT). This new directory name must be the same as the database name.

b. Copy all of the files created for the full-text index from the original directory into the new directory.

c. Delete the full-text index files from the old directory name (the name with the .FT extension) and remove the directory from the system.

Notes will now see the new directory and use the full-text index files inside of it. It does not require the .FT extension to be on the directory name. The .FT is only used as a naming convention when creating the directory for full-text indexes so that those directory names wouldn't show up along with the other directory names in the File - Open Database dialog box.

3. Do an operating system level copy (such as using the DOS or OS/2 COPY command) of the .NSF file from the writeable media which you are currently using onto the media which will be used to press the CD or other read-only media. Be sure that you do an operating system level copy during this step and not a File - Database - Copy from within Notes as using Notes to copy the database will remove the view indexes.

Supporting Info:

The following error displays when launching the database on the CD-ROM if you do not go through the steps outlined in the technote.

"Cannot Write or Create File (file or disk is read only)"
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top