Rewriting Pages, but they don't change

TheWizardofInt

Well-known member
Joined
Dec 31, 1969
Messages
333
Location
Orlando, FL
I write my ASP pages on my development PC, then test them, then put them on my server

Problem is, the changes dont seem to take. For example, I have a Response.Write("Test") on the code behind page. Then I open the page up on the server using Notepad and delete that line, and save it.

It will still response.write here. I have tried disconnecting the server from the rest of the network and searching for other instances of the page, but it is unique to the server and it enables that line, even if I reboot.

Anyone know what simple thing in ASP I have done wrong?
 
ASP.NET uses compiled code, unlike classic ASP which is
interpreted from the .asp page at runtime. Whenever you make
changes to the code-beind page or in code blocks inside the ASPX
page, you need to compile the project and then upload the DLLs
found in the /bin directory.
 
I saw this as soon as you wrote it, though it is nice to get it from a source I believe (a total stranger on the Internet, instead of MS).

Is there anything beside VS.Net to use to recompile it?

Thanks!
 
Well VS.NET does not actually do the compiling itself... instead it
uses the command-line tools that come with the .NET Framework
SDK. This is installed along with VS.NET.

Im not familiar with these tools, but the ".NET Framework SDK"
section of the documentation has explanations for how to use them.

Here it is for VB:
[mshelp]ms-help://MS.VSCC/MS.MSDNVS/vblr7/html/vaconBuildingFromCommandLine.htm[/mshelp]

And C#:
[mshelp]ms-help://MS.VSCC/MS.MSDNVS/cscomp/html/vcgrfBuildingFromCommandLine.htm[/mshelp]
 
Back
Top