Microsoft KB Archive/274057

From BetaArchive Wiki

Article ID: 274057

Article Last Modified on 10/27/2001



APPLIES TO

  • Microsoft Visual InterDev 6.0 Standard Edition



This article was previously published under Q274057

SYMPTOMS

When you try to copy a Web application in local mode and select Copy changed files only, no files are copied, even though you have modified the files since the last deployment.

CAUSE

Visual Interdev uses the file creation time, rather than the time of the last modification, to determine which files to copy.

RESOLUTION

To work around this problem, either modify the file name or add a file to the site. This updates the creation time, and the copy succeeds as expected.

Because Visual InterDev only checks to ensure that the site is a copy of the master, it is best to use an application such as Microsoft Visual SourceSafe to check versions.

MORE INFORMATION

Steps to Reproduce the Behavior

  1. Create a new project.
  2. Add an Active Server Pages (ASP) page named Page1.asp.
  3. Modify the page, and click Save All.
  4. Switch to local mode.
  5. Modify the page again, and click Save All.
  6. Check the Page1.asp file that is located in the .<projectname>_Local\_vti_cnf folder, and compare the _vti_timelastmodified parameter with the actual time that you last saved or modified the file. They do not match. If they do match the first time, then repeat steps 5 and 6, and they will no longer match.
  7. Deploy the application to another server. To do this, perform the following steps:
    1. From the Project menu, click Web Project.
    2. Click Copy Web Application. This creates a new application on the remote server. Do not click Copy changed files only and Add to existing web project.
  8. While you are still in local mode, modify the file again, and click Copy Web Application again. Click Copy changed files only, and then click Add to existing web project. You receive the following error message:

    The web application <name> was not copied successfully. No files have changed since you last published to destination.


REFERENCES

For additional information about the Visual InterDev Deployment feature, click the article number below to view the article 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


For additional information on InterDev deployment resources, click the link below to view the article in the online Microsoft Developer Network (MSDN):

Keywords: kbprb kbdeployment KB274057