TheWizardofInt Posted February 26, 2003 Posted February 26, 2003 I write my ASP pages on my development PC, then test them, then put them on my server Problem is, the changes don't 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? Quote Read the Fovean Chronicles Because you just can't spend your whole day programming!
*Experts* Bucky Posted February 26, 2003 *Experts* Posted February 26, 2003 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 DLL's found in the /bin directory. Quote "Being grown up isn't half as fun as growing up These are the best days of our lives" -The Ataris, In This Diary
TheWizardofInt Posted February 26, 2003 Author Posted February 26, 2003 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! Quote Read the Fovean Chronicles Because you just can't spend your whole day programming!
*Experts* Bucky Posted February 27, 2003 *Experts* Posted February 27, 2003 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. I'm 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] Quote "Being grown up isn't half as fun as growing up These are the best days of our lives" -The Ataris, In This Diary
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.