Solved

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

Posted on 2003-12-09
9
380 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
[X]
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
  • 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
Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

 

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

How Blockchain Is Impacting Every Industry

Blockchain expert Alex Tapscott talks to Acronis VP Frank Jablonski about this revolutionary technology and how it's making inroads into other industries and facets of everyday life.

Question has a verified solution.

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

First of all, clustering IIS is something you should rarely consider doing. In almost all cases, Microsoft Network Load Balancing (NLB) (http://technet.microsoft.com/en-us/library/cc758834(WS.10).aspx) is a much better solution when you need to p…
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…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…

630 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