cannot access Search.settings.xml

Topics: Core, General
Dec 30, 2011 at 10:24 PM

when  running orchard ,then put vs there, after a while (0.5hr or 1hr), got this error:

lucene, orchard.Index,Orchard.Search all belong to 33ddd8f2e47b 

===========

The process cannot access the file 'C:\Users\andy\Documents\Orchard1.3-zg\121
\src\Orchard.Web\App_Data\Sites\Default\Search.settings.xml' because it is being used by another process.

=====================

 StackTrace:

================

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)   at System.IO.File.Create(String path)   at Orchard.FileSystems.AppData.AppDataFolder.CreateFile(String path) in C:\Users\andy\Documents\Orchard1.3-zg\121\src\Orchard\FileSystems\AppData\AppDataFolder.cs:line 123   at Orchard.FileSystems.AppData.AppDataFolder.CreateFile(String path, String content) in C:\Users\andy\Documents\Orchard1.3-zg\121\src\Orchard\FileSystems\AppData\AppDataFolder.cs:line 111   at Orchard.Indexing.Services.IndexingTaskExecutor.BatchIndex(String indexName, String settingsFilename, IndexSettings indexSettings)   at Orchard.Indexing.Services.IndexingTaskExecutor.UpdateIndexBatch(String indexName)   at Orchard.Indexing.Services.UpdateIndexScheduler.UpdateIndex(String indexName)

Coordinator
Dec 30, 2011 at 11:32 PM

Can you please file a bug with repro steps? In particular, what kind of environment is this? Is it a web farm with a common file system, that sort of thing.