Solved

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

Posted on 2003-12-09
9
373 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

 

Author Comment

by:MBro
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

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…
When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

771 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

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now