Hmm seems clearing the cache didn't solve the problem after all.
I've restarted IIS and the virtual server it's on. - didn't work
I'm running the latest stable release 5.1.1
I was vague when i said certain modules as i'm not entirely sure which ones are causing it. I have several custom modules and the error seems to be completely random. I tried installing the Announcements and FAQ modules and the errors started popping up. Seems it managed to install Announcements but FAQ was causing the error. Other than that i can't seem to recreate the error 100% of the time. Sometimes an action will cause it other times everything works fine.
I'm not really sure what you mean by "Have you refreshed your file permissions"?
Also one more thing, i've started getting new errors relating to the cache:
InnerException: The process cannot access the file 'C:\inetpub\wwwroot\Portals\_default\Cache\180564D7100F5C64B401E53D1AB057D4.resources' because it is being used by another process.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.IO.__Error.WinIOError
StackTrace:
Message: System.IO.IOException: The process cannot access the file 'C:\inetpub\wwwroot\Portals\_default\Cache\180564D7100F5C64B401E53D1AB057D4.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) 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, Int32 bufferSize, FileOptions options) at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize) at System.IO.StreamWriter..ctor(String path, Boolean append) at System.IO.File.CreateText(String path) at DotNetNuke.Services.Cache.FileBasedCachingProvider.FBCachingProvider.CreateCacheFile(String FileName, String CacheKey)
This was then followed by about 20 "System.UnauthorizedAccessException: Access to the path 'C:\inetpub\wwwroot\Portals\_default\Cache\D2297B1E2CCBF2B81A0FD1B3DE261080.resources' is denied." errors. I think the modules that generated those were storing stuff as session variables. Thats the only link i seem to be able to notice.
Thanks
Simon