Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

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

Posted on 2003-12-09
9
375 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
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.

 

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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

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…
A phishing scam that claims a recipient’s credit card details have been “suspended” is the latest trend in spoof emails.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

808 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