Good morning!
We have a website running DNN 6.2.2. on W2k8 R2/IIS7 that is giving us an error when closing connections. In the event viewer, we receive this entry:
"A process serving application pool 'QV-APP-11862_QA_CorporateSite' exceeded time limits during shut down. The process id was '8368'."
Log Name: System
Source: WAS
Event ID: 5013
Level: Warning
User: N/A
OpCode: Info
Logged 1/11/2013 9:30:00 AM
Task Category: None
Keywords:Classic
Computer: [Servername]
When verifying in the database, we get this error description:
<LogProperties><LogProperty><PropertyName>AssemblyVersion</PropertyName><PropertyValue>6.2.2</PropertyValue></LogProperty><LogProperty><PropertyName>PortalID</PropertyName><PropertyValue>0</PropertyValue></LogProperty><LogProperty><PropertyName>PortalName</PropertyName><PropertyValue>Global Excel</PropertyValue></LogProperty><LogProperty><PropertyName>UserID</PropertyName><PropertyValue>-1</PropertyValue></LogProperty><LogProperty><PropertyName>UserName</PropertyName><PropertyValue /></LogProperty><LogProperty><PropertyName>ActiveTabID</PropertyName><PropertyValue>57</PropertyValue></LogProperty><LogProperty><PropertyName>ActiveTabName</PropertyName><PropertyValue>Homepage</PropertyValue></LogProperty><LogProperty><PropertyName>RawURL</PropertyName><PropertyValue>/</PropertyValue></LogProperty><LogProperty><PropertyName>AbsoluteURL</PropertyName><PropertyValue>/default.aspx</PropertyValue></LogProperty><LogProperty><PropertyName>AbsoluteURLReferrer</PropertyName><PropertyValue>http://www.google.com/url?sa=t&rct=j&q=global%20excelgem&source=web&cd=1&ved=0CDQQFjAA&url=http%3A%2F%2Fwww.globalexcelusa.com%2F&ei=ewjrUNHuEqSB0QG7zYEw&usg=AFQjCNEoH6LiECQMqdsvH4nrC1Pu--G6LQ&bvm=bv.1355534169,d.eWU</PropertyValue></LogProperty><LogProperty><PropertyName>UserAgent</PropertyName><PropertyValue>Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0)</PropertyValue></LogProperty><LogProperty><PropertyName>DefaultDataProvider</PropertyName><PropertyValue>DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider</PropertyValue></LogProperty><LogProperty><PropertyName>ExceptionGUID</PropertyName><PropertyValue>fd59ccec-8a3d-4e84-98d4-6aad59d0e1f2</PropertyValue></LogProperty><LogProperty><PropertyName>InnerException</PropertyName><PropertyValue>The process cannot access the file 'C:\inetpub\wwwroot\QV-APP-11862_QA_CorporateSite\Portals\0\Cache\Pages\307_ACABA51644A302FBB325E30E7931BAF8.data.resources' because it is being used by another process.</PropertyValue></LogProperty><LogProperty><PropertyName>FileName</PropertyName><PropertyValue /></LogProperty><LogProperty><PropertyName>FileLineNumber</PropertyName><PropertyValue>0</PropertyValue></LogProperty><LogProperty><PropertyName>FileColumnNumber</PropertyName><PropertyValue>0</PropertyValue></LogProperty><LogProperty><PropertyName>Method</PropertyName><PropertyValue>System.IO.__Error.WinIOError</PropertyValue></LogProperty><LogProperty><PropertyName>StackTrace</PropertyName><PropertyValue /></LogProperty><LogProperty><PropertyName>Message</PropertyName><PropertyValue>System.IO.IOException: The process cannot access the file 'C:\inetpub\wwwroot\QV-APP-11862_QA_CorporateSite\Portals\0\Cache\Pages\307_ACABA51644A302FBB325E30E7931BAF8.data.resources' because it is being used by another process.at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
at System.IO.File.WriteAllBytes(String path, Byte[] bytes)
at DotNetNuke.Services.ModuleCache.FileProvider.SetModule(Int32 tabModuleId, String cacheKey, TimeSpan duration, Byte[] output)
</PropertyValue></LogProperty><LogProperty><PropertyName>Source</PropertyName><PropertyValue /></LogProperty></LogProperties>
We've tried to set the cache folder as an exception to the antivirus real-time scan, we've verified the settings of the website and it is configured the same as our non-dotnetnuke sites, and they are not timing out when closing connections.
I've tried running the debug diagnostic tool from Microsoft, but did not pickup anything that seemed to time out. The website works, but we'd like to have it not throw this error, and hopefully the solution is something other than "extend the timeout period."
Thank you for your assistance.