Link to home
Start Free TrialLog in
Avatar of MikeMazza
MikeMazza

asked on

Event ID 2264 - The directory for caching compressed content <directory name> is invalid

Newly configured Windows 2008 Enterprise x64 server.  Have Exchange setup but nothing else.  System log is clean but I have a warning that occurs every 60 minutes in the app log for IIS.  it says the directory used for compressing content is invalid.  The "DefaultAppPool" directory was not there.  I think that would definitely cause problems, so,  I created the directory.  An hour later the error reappears and the directory (I created) is gone.  I create it again and add NETWORK SERVICE in the full permissions list.  I read that this compression process runs under NETWORK SERVICE.  An hour later, no joy.  I'm out of ideas at the moment and no amount of Googling is getting me to the promised land.  Anyone able to be my hero tonight and solve this one?   Here's the full event:

Log Name:      Application
Source:        Microsoft-Windows-IIS-W3SVC-WP
Date:          9/12/2008 7:12:19 PM
Event ID:      2264
Task Category: None
Level:         Warning
Keywords:      Classic
User:          N/A
Computer:      sv-Kressa2.kressahq.kressa.com
Description:
The directory specified for caching compressed content C:\inetpub\temp\IIS Temporary Compressed Files\DefaultAppPool is invalid.  Static compression is being disabled.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Microsoft-Windows-IIS-W3SVC-WP" Guid="{670080D9-742A-4187-8D16-41143D1290BD}" EventSourceName="W3SVC-WP" />
    <EventID Qualifiers="32768">2264</EventID>
    <Version>0</Version>
    <Level>3</Level>
    <Task>0</Task>
    <Opcode>0</Opcode>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2008-09-12T23:12:19.000Z" />
    <EventRecordID>25807</EventRecordID>
    <Correlation />
    <Execution ProcessID="0" ThreadID="0" />
    <Channel>Application</Channel>
    <Computer>sv-Kressa2.kressahq.kressa.com</Computer>
    <Security />
  </System>
  <EventData>
    <Data Name="Directory">C:\inetpub\temp\IIS Temporary Compressed Files\DefaultAppPool</Data>
    <Binary>05000000</Binary>
  </EventData>
</Event>
Avatar of top_rung
top_rung
Flag of United States of America image

Have you followed the MS method for correcting it via IIS manager?

To modify the compression directory location by using IIS Manager:

Click Start, click Control Panel, and then click Administrative Tools.
Right-click Internet Information Services (IIS) Manager and select Run as administrator.
In the IIS Manager Connections pane, click the computer name.
In Features View, double-click Compression.
Under Cache directory:, note the value that is configured.
If the configured directory does not exist or is inaccessible, create the directory or specify a new one.
In the Actions pane, click Apply.
Close IIS Manager.

http://technet.microsoft.com/en-us/library/cc735199.aspx

I hope it helps.
Avatar of MikeMazza
MikeMazza

ASKER

Yes,  I already tried following the instructions from Microsoft.  I did a web search on this issue before posting the question, so everyone can pretty much figure I've done all the obvious and also done anything on the first couple pages of a google for "Event ID 2264"

Anyone have experience with this specific problem?  It's odd
Bump....
ASKER CERTIFIED SOLUTION
Avatar of MikeMazza
MikeMazza

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
No solution for this? I've been googling around like crazy as well for this.
I started having this issue after trying to install Windows SDK ....
Well, I just found the proper solution after some trial and error.

Download Sysinternal Proc Mon
http://technet.microsoft.com/en-us/sysinternals/bb896645.aspx

Open Task Manager in the server, and go to the Processes Tab
Click on menu View and Select Columns
Add column PID
Look through the list and find w3wp PID number
Open ProcMon and filter by the PID and Result is Access Denied
On each registry key where you got Access Denied do right click Jump To.. so it opens regedit on that Key.
In regedit do right click on the registry key and click permissions
Add the IIS user to the list and give him read permissions

After going through each one, it should work.

Cheers,
Fede