Microsoft KB Archive/821592

= Web Diagram Solution in Visio Does Not Map ASP.NET-based Web Sites Correctly =

Article ID: 821592

Article Last Modified on 7/27/2006

-

APPLIES TO


 * Microsoft Visio 2002 Professional Edition

-





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:  Start Visio. On the File menu, point to New, point to Web Diagram, and then click Web Site Map. In the Generate Site Map dialog box, click Cancel. Add an ASPX shape to the Web Site Map Shapes stencil. To do so, follow these steps:  Click the icon on the title bar of the Web Site Map Shapes stencil, and then click Edit. Right-click the ASP shape, and then click Copy.</li> 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. '''.</li> Right-click the master that you created, and then click Master Properties.</li> In the Name box, type ASPX, and then click OK</li> Click the icon in the title bar of the Web Site Map Shapes stencil, and then click Save.</li> On the File menu, click Close.

When you are prompted to save changes to the diagram, click No.</li></ol> </li> 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: <ol style="list-style-type: lower-alpha;"> On the File menu, point to New, point to Web Diagram, and then click Web Site Map.</li> In the Generate Site Map dialog box, click Settings.</li> Click the Extensions tab.</li> Click Add.</li> Under Extension Name, in the Name box, type Scripting (Server-Side) .</li> In the Shape box, click the ASPX shape that you created earlier in Step 4.</li> Under Extension List, click New.</li> In the Extension box, type aspx .</li> Click New, in the Extension box, type ashx, and then click OK.</li> Click OK.</li></ol> </li></ol>

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.

<div class="status_section">

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

<div class="moreinformation_section">

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.

Keywords: kbpending kbbug KB821592

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.