BUG: Default Web Pages Are Renamed When They Are Deployed with Copy Web (198434)
The information in this article applies to:
- Microsoft Visual InterDev 6.0
This article was previously published under Q198434 SYMPTOMS
When you use the Copy Web Application option to deploy a Web project, the Default.htm or Default.asp page may be renamed on the destination server. The most common example is when Default.asp is renamed to Default.htm.
In addition, if any of the copied files have HTML references to the renamed page, those references subsequently reference the new page name.
CAUSE
Visual InterDev assumes that either Default.htm or Default.asp is intended to be the default page at the destination. It queries the default document of the root Web of the virtual server (for example, Default Web Site) on the destination computer. Then Visual InterDev renames Default.htm or Default.asp to the default document of the virtual server to which you are copying. Even if the destination for your project is an existing virtual folder, Copy Web still uses the name of the primary default document for the virtual server's root Web, not the virtual directory.
RESOLUTION
Because almost all Microsoft Internet Information Server (IIS) servers are set to use Default.htm as their primary default document, these workarounds are written for this case. If your target server uses a different default document, you must adjust these workarounds.
STATUSMicrosoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article. REFERENCESFor additional information, click the article numbers below
to view the articles in the Microsoft Knowledge Base:
246757 HOWTO: Use Copy Web to Deploy a Web Application
219050 HOWTO: Deploy Web Applications with Visual InterDev 6.0
Modification Type: | Major | Last Reviewed: | 10/15/2002 |
---|
Keywords: | kbBug kbDeployment kbDSupport KB198434 |
---|
|