Microsoft KB Archive/315508

= HOW TO: Publish a Web to a CD-R or CD-RW in FrontPage 2000 =

Article ID: 315508

Article Last Modified on 10/26/2002

-

APPLIES TO


 * Microsoft FrontPage 2000 Standard Edition

-



This article was previously published under Q315508





For a Microsoft FrontPage 2002 version of this article, see 310511.

IN THIS TASK
SUMMARY
 * Publish to a Disk-Based Web and Copy to CD
 * Publish a Web Directly to a CD-ROM
 * Publish a Disk-Based Web from a CD
 * Copy a Disk-Based Web from a CD to a Hard Disk

TROUBLESHOOTING



SUMMARY
This article explains how to publish a FrontPage Web to a compact disc-recordable (CD-R) or a compact disc-rewritable (CD-RW).

If your computer is equipped with a CD recorder, you can back up a FrontPage Web to a CD. You may find it convenient to use a compact disc (CD) to back up or transfer a large Web.

Many CD recorders allow you to prepare a CD-R or a CD-RW disc so that you can copy files directly to the recorder by using a drive letter, in the same way that you copy files to a floppy disk or a removable drive. You can then use Microsoft FrontPage to publish a Web to the CD. Or, you can first publish the Web to your hard disk, and then use a CD recording program to copy the hard-disk version to the CD.

If you use Microsoft Windows XP, you do not require additional software to create a disk-based Web on a CD-RW, or save a Web to a CD-R.

For additional information about how to use a compact disc recorder with Windows XP, click the article numbers below to view the articles in the Microsoft Knowledge Base:

306524 HOW TO: Back Up Information to a CD

306641 HOW TO: Erase Files from a CD

IMPORTANT: If you use a CD-R drive and CD-ROM, you can copy or publish specific files to a particular folder only one time. If you use this type of drive and media, you need to copy or publish your Web to a different folder on the CD-ROM.

back to the top

Publish to a Disk-Based Web and Copy to CD
You can use the Publish command to create a disk-based copy of a Web, and then use a CD recording program to copy the disk-based version to the CD. To do this, follow these steps:  Start FrontPage, and then open your Web. On the File menu, click Publish Web. In the Publish Destination dialog box, do one of the following:

 Type the path to a folder on your hard disk (for example, :\My Website).

-or- Click Browse to locate a folder.

NOTE: If you previously chose a publish destination for this Web site, the Publish Destination dialog box does not appear. Proceed to step 5.</li> Click OK.</li> Specify the pages that you want to publish. To do this, follow these steps: <ol style="list-style-type: lower-alpha;"> In the Publish Web dialog box, click Options in the lower-left corner.</li> Click the Publish tab, and then do one or more of the following:  Under Publish, specify whether you want to publish only pages that have changed, or all pages.</li> Under Changes, specify how you want FrontPage to determine which pages have been changed.</li> If you want to create a log file for changes made during publishing, select that check box.</li></ul> </li> Click OK.</li></ol> </li> To publish subwebs, click to select the Include subwebs check box.</li> Click Publish.

NOTE: If you cancel publishing in the middle of the operation, files that have already been published remain on the destination folder.</li> Start your CD recording program, and then copy the Web to a recordable CD. See the documentation that came with your CD recording software for more information about how to do this.</li></ol>

back to the top

Publish a Web Directly to a CD-ROM
To do this, follow these steps: <ol> Insert a CD-R or a CD-RW disc into your CD recorder.</li> Start your CD recording program, and then &quot;format&quot; the CD so that you can read and write to the CD by using a drive letter. See the documentation that came with your CD recording software for more information about how to do this.

NOTE: If you are using Windows XP, this step is not necessary.</li> Start FrontPage, and then open your Web.</li> On the File menu, click Publish Web.</li> <li>In the Publish Destination dialog box, do one of the following: <ul> <li>Type the path to a folder on your hard disk (for example, :\My Website).

-or-</li> <li>Click Browse to locate a folder.</li></ul> </li> <li>Click OK.</li> <li>Specify the pages that you want to publish. To do this, follow these steps: <ol style="list-style-type: lower-alpha;"> <li>In the Publish Web dialog box, click Options in the lower left corner.</li> <li>Click the Publish tab, and do one or more of the following: <ul> <li>Under Publish, specify whether you want to publish only pages that have changed, or all pages.</li> <li>Under Changes, specify how you want FrontPage to determine which pages have been changed.</li> <li>If you want to create a log file for changes made during publishing, select that check box.</li></ul> </li> <li>Click OK.</li></ol> </li> <li>To publish subwebs, click to select the Include subwebs check box.</li> <li>Click Publish.

NOTE: If you cancel publishing in the middle of the operation, files that have already been published remain on the destination folder.</li> <li>After you have published your Web to the CD, you may want to close the CD, depending on how you want to read the CD in the future, and depending on the software that you are using. You typically have the following three choices: <ul> <li>Eject the CD from the CD recorder without making any changes. This allows you to read and write to the CD by using a drive letter when you reinsert the CD into your CD recorder.

NOTE: Standard CD-ROM drives may not be able to read the CD when you do this.</li> <li>Close the CD so that it can be read using a standard CD-ROM drive after a UDF reader is installed.</li> <li>Close the CD so it can be read in most standard CD-ROM drives without having to install a UDF reader. This option usually also allows you to &quot;finalize&quot; the CD so that it cannot be erased or overwritten.</li></ul> </li></ol>

back to the top

Publish a Disk-Based Web from a CD
You can use FrontPage to open a disk-based Web on a CD, and then publish the Web to the Internet, an intranet, or a disk-based Web. <ol> <li>Insert the CD that contains your Web into your CD recorder.</li> <li>Start FrontPage, and then open your Web (on the CD).</li> <li>On the File menu, click Publish Web.</li> <li>In the Publish Destination dialog box, type the URL to your publish location, or the path to a folder on your hard disk, or click Browse to locate a folder.</li> <li>Click OK.</li> <li>Specify the pages that you want to publish. To do this, follow these steps: <ol style="list-style-type: lower-alpha;"> <li>In the Publish Web dialog box, click Options in the lower left corner.</li> <li>Click the Publish tab, and do one or more of the following: <ul> <li>Under Publish, specify whether you want to publish only pages that have changed, or all pages.</li> <li>Under Changes, specify how you want FrontPage to determine which pages have been changed.</li> <li>If you want to create a log file for changes made during publishing, select that check box.</li></ul> </li> <li>Click OK.</li></ol> </li> <li>To publish subwebs, click to select the Include subwebs check box.</li> <li>Click Publish.

NOTE: If you cancel publishing in the middle of the operation, files that have already been published remain on the destination folder.</li></ol>

back to the top

Copy a Disk-Based Web from a CD to a Hard Disk
When you copy a disk-based Web from a CD to a hard disk, you may need to remove the Read-only attributes in order to make any changes to the Web.

NOTE: Because there are several versions of Microsoft Windows, the following steps may be different on your computer. If they are, see your product documentation to complete these steps.


 * 1) Insert the CD that contains your Web into your CD recorder.
 * 2) Start Windows Explorer, and then use a drag-and-drop operation to copy the Web to a folder on your hard disk.
 * 3) Right-click Start, and then click Explore.
 * 4) On the Tools menu, click Folder Options.
 * 5) On the View tab, click to select the Show hidden files and folders check box, and then click to clear the Hide file extension for known file types check box.
 * 6) Click OK.
 * 7) In the Folders list, double-click the folder that contains your Web.
 * 8) Double-click the _vti_pvt folder.
 * 9) Delete any files that end with .lck.
 * 10) Right-click the Service file, and then click Properties.
 * 11) Click to clear the Read Only check box, and then click OK.
 * 12) Right-click the Services file, and then click Properties.
 * 13) Click to clear the Read Only check box, and then click OK.

back to the top

TROUBLESHOOTING
<ul> <li>When you attempt to save changes made to a Web on your hard disk, you may receive an error message similar to the following:

Cannot open file ...\_vti_pvt\service.lck for writing.

This behavior occurs when the Web is opened or copied from a CD-ROM, because the .lck files are marked as read-only.

To resolve this and other issues with read-only files, follow these steps:

NOTE: Because there are several versions of Microsoft Windows, the following steps may be different on your computer. If they are, see your product documentation to complete these steps.

<ol> <li>Right-click Start, and then click Explore.</li> <li>On the Tools menu, click Folder Options.</li> <li>On the View tab, click to select the Show hidden files and folders check box, and then click to clear the Hide file extension for known file types check box.</li> <li>Click OK.</li> <li>In the Folders list, double-click the folder that contains your Web.</li> <li>Double-click the _vti_pvt folder.</li> <li>Delete any files that end with .lck.</li> <li>Right-click the Service file, and then click Properties.</li> <li>Click to clear the Read Only check box, and then click OK.</li> <li>Right-click the Services file, and then click Properties.</li> <li>Click to clear the Read Only check box, and then click OK.</li></ol>

Repeat these steps for any subwebs.For additional information about the service.lck file, click the article numbers below to view the articles in the Microsoft Knowledge Base:

266216 FP2000: Error Message When Publishing Web: &quot;Server Error: Web Is Busy...&quot;

303255 FP2000: Error Message Saving Changes to Web: Cannot Open File ...\_vti_pvt\Service.lck for Writing

</li> <li>Hyperlinks in a Web that you have copied to a CD may not function as expected: The browser may be unable to connect to the Web pages referred to by the hyperlinks.

This behavior can occur if the hyperlinks contain absolute references that refer to files that reside on the local computer on which the Web was created.

To resolve this issue, edit the Web to replace any absolute hyperlink addresses with relative hyperlink addresses.For additional information, click the article number below to view the article in the Microsoft Knowledge Base:

301442 Hyperlinks Do Not Function After You Publish the Web

</li> <li>When you preview a Web page that contains a FrontPage component (by clicking the Preview tab at the bottom of the FrontPage window or by clicking Preview In Browser on the Standard toolbar), you may receive the following message:

This page contains elements that may need to be saved or published to display properly.

FrontPage components that interact with a Web server will not function when you create a disk-based FrontPage Web. Browse-time components will only function when you use a Hypertext Transfer Protocol (HTTP) server on which you have installed the FrontPage Server Extensions.For additional information, click the article number below to view the article in the Microsoft Knowledge Base:

206154 Some FrontPage Components Do Not Work on Disk-Based Webs

</li> <li>When you attempt to publish a Web to a CD that already contains a copy of the Web, you receive an error message similar to the following:

Windows encountered a problem when trying to copy this file. What do you want Windows to do?

You may also receive a message from your CD recording software that there is not enough free space on the CD to copy your files.

This behavior can occur if the recordable CD does not contain enough free space to copy newer versions of files from the updated Web. When you use &quot;packet writing&quot; software that allows you to read and write to the CD by using a drive letter, you can only write to each part of the disc once. When you copy an updated Web to the CD, older versions of files are not actually deleted from the CD, and so newer versions of files require additional space. This behavior is due to limitations with CD recorder technology.

To work around this behavior, publish your Web to a new, blank CD.</li></ul>

back to the top

Keywords: kbhowto kbhowtomaster KB315508

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.