Skip navigation

JSI Tip 1274. Can't save a file to your IIS computer?


If you receive any of the following, when saving a file on IIS ( Internet Information Server):

   Cannot create file

   Another user or process has modified the file. Do you wish to reload it?

   Access is denied.
   The file associated with this document has been moved or deleted
   outside of \[third-party application\]. You may want to resave the
   document before continuing.
it is likely that the file has been recently viewed using IIS and remains in the file handle cache.

Some editors have problems with this (NOTEPAD and FrontPage do NOT).

You can disable the file handle cache (but it may impact performance) by using Regedt32 to navigate to:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\InetInfo\Parameters

On the Edit menu, Add Value name DisableMemoryCache as a type REG_DWORD and set the data value to 1.

Shutdown and restart your IIS computer.

Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish