Solved

IIS (chace/memory/buffer???) Problems

Posted on 2003-12-09
9
374 Views
Last Modified: 2008-01-09
I have IIS (5.0) installed on my server.
All students in my campus access this server (using local network) for the purpose of learning ASP.

problem:
When one of asp code have been compiled, they cannot be compiled again (or server will read the old compilation result)

for example:

============================
i have this code:
<%
  response.write ("Hello World!")
%>
output to browser:
Hello World!

then I change the code to:
<%
  response.write("HELLO WORLD!")
%>
output:
Hello World!
============================

What's wrong with my server??

thank you

MBro
0
Comment
Question by:MBro
  • 4
  • 3
9 Comments
 
LVL 9

Expert Comment

by:fz2hqs
ID: 9904652
Within the IIS MMC set the content expiration to "expire always"
At the top of pages you can also add "<%Response.Expires=0%>"
You can also set it not cache asp in the IIS MMC
0
 

Author Comment

by:MBro
ID: 9910146
i use:
Web Site Properties -> HTTP Header -> Enable Content Expiration -> Context Should : Expire Immediately

but it's still not working...

btw, where i can found IIS MMC -> content expiration -> expire always ?
0
 
LVL 9

Expert Comment

by:fz2hqs
ID: 9910537
You found it - I didn't have access to an IIS 5 server when I wrote the message the three ideas where from memory.

Did you try the other two ?
0
Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

 

Author Comment

by:MBro
ID: 9910651
yes i do. but, again, it is not working...

CMIIW, when there is request from client, then server will compile the asp code... do you know where is the location of compilation result...

like in JSP, source code (*.jsp) will compiled to .class and then response back to the client... the class file then save on "WEB-INF/jsp" directory

what about in asp?
0
 
LVL 9

Expert Comment

by:fz2hqs
ID: 9910811
It is held in memory. You may find that this will sort itself out when the load increases, I would imagine that the server has 512 / 1024 RAM ? if it is not doing anything else, then there are issues with caching very small sites
0
 

Author Comment

by:MBro
ID: 9911036
the server has 512 RAM...

and then... how to clear the memory... should i restart my server??
or may be you have another simple and quick way...
0
 
LVL 9

Accepted Solution

by:
fz2hqs earned 50 total points
ID: 9911058
The quicker way than rebooting is to issue an "IISRESET" command in the run dialogue, alternatively you can open teh IIS MMC then on the Home Directory tab click unload
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Logparser is the smartest tool I have ever used in parsing IIS log files and there are many interesting things I wanted to share with everyone one of the  real-world  scenario from my current project. Let's get started with  scenario - How do w…
Running classic asp applications under Windows Server 2008 R2 (x64) and IIS 7 is not as easy as one may think. It took me a while to figure it out while getting error 8002801d a few times. After you install the OS you will need to install the fol…
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question