Solved

IExplorer or IIS locks the file after viewing it

Posted on 1998-06-12
7
546 Views
Last Modified: 2013-12-25
I am using MS IIS v4 from the Option Pack, and viewing the web with IExplorer 4. After viewing a file located on my server, either Explorer or IIS locks the file and I can't change it for about a minute. This is very annoying when creating a web and finetuning the layout. Does anyone recognize the problem?

Thanks for any help,
Martin
0
Comment
Question by:mnprsd
  • 4
  • 3
7 Comments
 
LVL 28

Accepted Solution

by:
sybe earned 70 total points
ID: 1858301
This is a known but in IIS4, there are several ways to get around it:

1. edit the registry:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\InetInfo\Parameters\

Change or add (DWORD): ObjectCacheTTL and set it to 0
Change or add: DisableMemoryCache and set it to 0

2.
Those were not in enough in some cases I have seen. Then there an additional (hard way) solution: let IIS4 treat HTML files as ASP (because ASP does not have that problem)

That can be done in the IIS-manager, properties. I don't have it here right now, but one of the tabs shows a list of which extensions should be run by which application. Add .htm and .html and let it be handled by asp.dll (just like .asp and .asa that are already there.







0
 

Author Comment

by:mnprsd
ID: 1858302
Hmm... I must say that I was really positive when I saw your answer, but it didn't work. I tried both the registry settings, and the changes for the .html/.htm application. It is the ISAPI applications, right?

If you know any thing that might cause this problem, please reply.
0
 
LVL 28

Expert Comment

by:sybe
ID: 1858303
you'll have to restart after changing the setting, did you ?
0
Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

 
LVL 28

Expert Comment

by:sybe
ID: 1858304
I'll look at it after the weekend when i am at work, I have solved this problem several times.
0
 

Author Comment

by:mnprsd
ID: 1858305
Yeah. First I only restarted the services, but since that didn't work I restarted the whole computer. Still nothing. You didn't explicitly say that the DisableMemoryCache should be a DWORD, but I assumed it.


0
 
LVL 28

Expert Comment

by:sybe
ID: 1858306
I checked at my pc at work, and I got DisableMemoryCache set to 1 (not to 0 as i first said). That works fine with me.

About IIS4 setting:
- chose properties of a website
- select Home Directory
- click on "configuration"

There you see a list of extensions which will be handled by external exe or dll files.
Add .htm and .html and let them run over asp.dll (just like .asp and .asa)

Hope this works.

0
 

Author Comment

by:mnprsd
ID: 1858307
It worked, really. I was enough to set the registry settings. Thanks!!
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Suggested Solutions

Accessibility and Usability are two concepts that seem to be closely related.  But, too many people seem to have a distorted perception of them. During last five years, those two words have come to the day-to-day work of almost every web develope…
Why do we like using grid based layouts in website design? Let's look at the live examples of websites and compare them to grid based WordPress themes.
This tutorial demonstrates how to identify and create boundary or building outlines in Google Maps. In this example, I outline the boundaries of an enclosed skatepark within a community park.  Login to your Google Account, then  Google for "Google M…
The viewer will learn how to count occurrences of each item in an array.

760 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

18 Experts available now in Live!

Get 1:1 Help Now