如何调试一个包含ASP经典的项目。NET, c#和VB?

时间:2022-06-17 00:25:58

I have a website running on .NET 2.0. This website includes pages written in asp.net, asp classic some in VB and some in C#. I created a solution file in visual studio and it just brings the aspx and aspx.cs pages. Therefore I cant run the website locally since it is missing the asp classic pages and even if I add asp classic pages to that project in visual studio, it still does not work. Any idea how to debug this project?

我有一个在。net 2.0上运行的网站。这个网站包括用asp.net编写的页面,用VB编写的asp经典版,还有一些用c#编写的页面。我在visual studio中创建了一个解决方案文件,它只带来了aspx和aspx。cs页面。因此,我不能在本地运行这个网站,因为它丢失了asp的经典页面,即使我在visual studio中添加了asp的经典页面,它仍然不能工作。知道如何调试这个项目吗?

Thanks

谢谢

1 个解决方案

#1


1  

What are you using as your local server? The built in one which comes with comes with VS doesn't support Classic ASP, but you can configure VS to use IIS or IIS Express as its testing server.

您使用什么作为本地服务器?内置的VS不支持经典的ASP,但是您可以配置VS使用IIS Express作为测试服务器。

VS gives you a bit of intellisense for classic ASP but for debugging, the easiest approach is to use the detailed error messages which IIS gives you

对于经典的ASP, VS为您提供了一些智能感知,但是对于调试来说,最简单的方法是使用IIS提供给您的详细错误消息。

#1


1  

What are you using as your local server? The built in one which comes with comes with VS doesn't support Classic ASP, but you can configure VS to use IIS or IIS Express as its testing server.

您使用什么作为本地服务器?内置的VS不支持经典的ASP,但是您可以配置VS使用IIS Express作为测试服务器。

VS gives you a bit of intellisense for classic ASP but for debugging, the easiest approach is to use the detailed error messages which IIS gives you

对于经典的ASP, VS为您提供了一些智能感知,但是对于调试来说,最简单的方法是使用IIS提供给您的详细错误消息。