BUG: Default.asp Renamed Default.htm When Deployed With Copy WebID: Q198434
|
When Deploying a Web project that contains a Default.asp page using the
Copy Web Application option from the Project menu's Web Project option,
Default.asp will be renamed to Default.htm in the deployment target.
As a consequence of renaming the Default.asp to Default.htm, any HTML in the files copied that refers to Default.asp will be changed to refer to Default.htm.
Given that none of the pages in your project refer to Default.asp, you can rename Default.htm to Default.asp after using the Copy Web command.
If other pages refer to the Default.asp, each one of the references will be changed by the link repairer to refer to Default.htm instead of Default.asp.
One solution for this is to not have Default.asp as your default document, and do not have a page in your project named Default.asp if you plan to use Copy Web to deploy it.
Another option is to have your project contain a Default.htm as your default page, and have it load the prefered Default asp using a meta tag, for example:
<META HTTP-EQUIV="REFRESH" CONTENT="0; URL=yourstartpage.asp">
Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article.
Additional query words:
Keywords : kbVisID600bug kbGrpASP
Version : WINDOWS:6.0
Platform : WINDOWS
Issue type : kbbug
Last Reviewed: March 15, 1999