Web Diagram Solution in Visio Does Not Map ASP.NET-based Web Sites Correctly (821592)



The information in this article applies to:

  • Microsoft Visio 2002 Professional

SYMPTOMS

When you use the Web Diagram solution in Visio 2002 Professional to map a Web site, you may find that Web sites that are created by using ASP.NET technology are not mapped correctly.

CAUSE

This issue may occur if Web Diagram solution in Visio does not include the extensions for ASP.NET. As a result, the Web Diagram solution does not map ASP.NET-based Web sites.

WORKAROUND

To use the Web Diagram solution to map Web sites that contain ASP.NET pages, create a new ASPX master in the Web Site Map Shapes stencil, and then associate the ASPX shape with the .aspx and .ashx extensions. To do so, follow these steps:
  1. Start Visio.
  2. On the File menu, point to New, point to Web Diagram, and then click Web Site Map.
  3. In the Generate Site Map dialog box, click Cancel.
  4. Add an ASPX shape to the Web Site Map Shapes stencil. To do so, follow these steps:
    1. Click the icon on the title bar of the Web Site Map Shapes stencil, and then click Edit.
    2. Right-click the ASP shape, and then click Copy.
    3. Right-click an empty area of the stencil, and then click Paste.

      The shape is added as a master to the stencil, and is displayed as ASP.number.
    4. Right-click the master that you created, and then click Master Properties.
    5. In the Name box, type ASPX, and then click OK
    6. Click the icon in the title bar of the Web Site Map Shapes stencil, and then click Save.
    7. On the File menu, click Close.

      When you are prompted to save changes to the diagram, click No.
  5. Add the .aspx and .ashx extensions and associate the extensions with the ASPX shape that you created in step 4. To do so, follow these steps:
    1. On the File menu, point to New, point to Web Diagram, and then click Web Site Map.
    2. In the Generate Site Map dialog box, click Settings.
    3. Click the Extensions tab.
    4. Click Add.
    5. Under Extension Name, in the Name box, type Scripting (Server-Side).
    6. In the Shape box, click the ASPX shape that you created earlier in Step 4.
    7. Under Extension List, click New.
    8. In the Extension box, type aspx.
    9. Click New, in the Extension box, type ashx, and then click OK.
    10. Click OK.
When you create a Web site map after you complete this procedure, each ASPX shape in your Web diagram represents an ASP.NET page on your Web site.

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

MORE INFORMATION

For more information about Web site map diagrams in Microsoft Visio, type Web site map in the Ask a question box or the Answer Wizard, and then press ENTER to view the topics.

Modification Type:MinorLast Reviewed:7/27/2006
Keywords:kbpending kbBug KB821592 kbAudITPRO kbAudEndUser