Hi there,
I am working on an asp .net web site, and need to load an existing classic asp page in content page. But I got "Path 'DotNetSite/OldSite/project.asp' is forbiden" error message when click the node. My question is: What is the best way to host a classic asp page in .net framework? If using iFrame is fine, how to solve this issue?
Following is my code snippet:
In web.sitemap file:
<siteMapNode>
<siteMapNode url="Default.aspx" title="Home"/>
<siteMapNode url="~/OldSite/Default.aspx" title="Classic View"></siteMapNode>
.....
In ~/OldSite/Default.aspx file:
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<iframe id="frmExternalWeb" runat="server" width="100%" src="project.asp"></iframe>
</asp:Content>
Thanks,