PRB: The Site Diagram Cannot Create a Home Page Other Than Default.htm (192637)



The information in this article applies to:

  • Microsoft Visual InterDev 6.0

This article was previously published under Q192637

SYMPTOMS

When you are creating a site diagram in Visual InterDev, you are not able to set the home page name to anything other than "Default.htm".

CAUSE

If Default.htm is included in the Visual InterDev project, then the site diagram will automatically default to this page as the home page.

RESOLUTION

Follow these steps to work around this problem:
  1. In the site diagram, remove the home page (right-click it and choose delete).
  2. Delete Default.htm from the Visual InterDev project by right-clicking on the file in the Project Explorer window and choosing Delete.
  3. If the file Default.asp already exists, then drag it from the Project Explorer window onto the site diagram (it should come up as the home page). Save the changes at this time.
    1. Right-click the site diagram and select Add Home Page. Do not save at this time.
    2. Right-click the home page in the site diagram and select Property Pages. Change the URL field to Default.asp.
    3. Save your changes. If Default.asp is not in the project already, it will be added automatically.

MORE INFORMATION

Steps to Reproduce Behavior

  1. Create a new Web project in Visual InterDev.
  2. Create a site diagram: right-click the project name in the Project Explorer and select Add, and then click Site Diagram.
  3. If a home page isn't created automatically, then add one: right-click the site diagram and choose Add Home Page from the pop-up menu.
  4. Save all. Default.htm should be added to the project.
  5. Right-click the home page, and click Property Pages. The URL will show it as Default.htm.
  6. Try to change the URL to Default.asp. It will no longer be the home page.
Result:
The home page that is created is still Default.htm. If you try to change the URL to point to Default.asp, the page is no longer marked as the home page.

Expected Result:
Default.asp becomes the home page when you add it to the site diagram.

The site diagram will use Default.htm as the home page if Default.htm is in the Visual InterDev project.

REFERENCES

For additional information, click the article number below to view the article in the Microsoft Knowledge Base:

255949 PRB: Site Diagram Appears Blank When It Is Imported from Another Project


Modification Type:MajorLast Reviewed:4/25/2001
Keywords:kbide kbprb KB192637