<HTML>
<HEAD>
<TITLE>Seu título aqui</TITLE>
</HEAD>
<BODY BGCOLOR="FFFFFF">
<%
response.write("Hello world")
%>
</BODY>
</HTML>
<HTML>
<HEAD>
<TITLE>Seu título aqui</TITLE>
</HEAD>
<BODY BGCOLOR="FFFFFF">
<%
response.write("Hello world")
%>
</BODY>
</HTML>
First, by default, when you open a site in Visual Studio, you are opening through file system
, not IIS
. Therefore, Visual Studio uses an internal web server named Cassini
, instead of IIS
.
The web server Cassini
does NOT perform classic ASP . The% with% yes. So the first thing you need to do is figure out how to debug in IIS
.
You need to have IIS
installed on the machine you are working on, and have the site you are using configured the same way on the server. (So you can run link and see your site)
You also need to attach to IIS
of Internet Explorer.
Next, you need to make Visual Studio recognize the running process
and run your site instead of using the embedded web server; and enable debugging.
To see a step-by-step with images (it's old but still should work) for this setting, take a look at this CodeProject article .
It really is a bit confusing, but I hope I have helped.