Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

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

Posted on 2003-12-09
9
Medium Priority
?
382 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
The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

 

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 200 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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

Here are the symptoms: You start receiving calls from users that one of your legacy web apps isn't coming up, so you log into your IIS 5 server to check it out.  When you pull up the services, you notice that the WWW Publishing service isn't runn…
As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…

661 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