Expiring Today—Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

IExplorer or IIS locks the file after viewing it

Posted on 1998-06-12
7
Medium Priority
?
563 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
[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
7 Comments
 
LVL 28

Accepted Solution

by:
sybe earned 280 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
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

Color can increase conversions, create feelings of warmth or even incite people to get behind a cause. If you want your website to really impact site visitors, then it is vital to consider the impact color has on them.
Does your audience prefer people in photos or no people? How can you best highlight what you’re selling? What are your competitors doing, and what can you do that is different and unique from them?  Continue reading to learn how to make your images …
The viewer will get a basic understanding of what section 508 compliance can entail, learn about skip navigation links, alt text, transcripts, and font size controls.
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.
Suggested Courses

719 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