The process cannot access the file 'D:\VirtualServers\Clarity-dtd-dev01\CacheRefresh.txt' 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, Boolean checkHost) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access) at Utils.ExportToFile(String oFileName, String myContent) in D:\VirtualServers\Clarity-dtd-dev01\App_Code\Utils\Utils.vb:line 376 at DtdApplicationCache.getData() in D:\VirtualServers\Clarity-dtd-dev01\App_Code\dbObjects\DtdApplicationCache.vb:line 50 at DtdApplicationCache.loadCache() in D:\VirtualServers\Clarity-dtd-dev01\App_Code\dbObjects\DtdApplicationCache.vb:line 24