Developer forum

Forum » Ecommerce - Standard features » Indexing problems on 8.4.1.12

Indexing problems on 8.4.1.12

Manfred Nilsson
Reply

 

Hi, so we got a indexing problem on one of our solutions. First we got :

 

[501] An error occured while updating an index.

Error message: Unable to create backup to folder

C:\websites\Files\System\_search\Products\index

Call stack: at Dynamicweb.Searching.IndexManager.UpdateIndexInternal(Indexer i, Boolean isFullUpdate, Boolean updateSpell, IDictionary`2 flags)

 

This happens every other time it updates . We then got a new dll file from support (Dynamicweb.Searching.dll).  This we tested on our development server but on the customer installation we got the folowing error

 

[501] An error occured while updating an index.

 

Index: Products

Date: 9/5/2014 9:25:30 AM

Solution: ******

Error message: The given path's format is not supported.

Call stack: 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, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)

at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize, Boolean checkHost)

at System.IO.File.InternalWriteAllText(String path, String contents, Encoding encoding, Boolean checkHost)

at Dynamicweb.Searching.IndexInfo.DeleteBackup()

at Dynamicweb.Searching.IndexInfo.CreateBackup()

at Dynamicweb.Searching.IndexManager.<>c__DisplayClass29.<UpdateIndexInternal>b__27()

at Dynamicweb.Searching.IndexManager.PerformFileSystemTask(Action task, Int32 attempts, Int32 delay, Int32 current)

at Dynamicweb.Searching.IndexManager.PerformFileSystemTask(Action task, Int32 attempts, Int32 delay)

at Dynamicweb.Searching.IndexManager.UpdateIndexInternal(Indexer i, Boolean isFullUpdate, Boolean updateSpell, IDictionary`2 flags)

 

Structure, version of dynamic web  and file/folder settings are identical on the servers.

 

The reply to this was that the update probably had the wrong folder path.

I followed the instructions and move the folders to   Files/System/_search/backup and Files/System/_search/index .

 

It updated ones and then generated the same error . The path that is reported by the index update dialog is /Files/System/_search/Products  I thought that was autogenerated ?

However disabling “Indexing backup update” removed the error and  if it is “safe”,I realise it probably is not advised,to do so perhaps it is a solution ?  

Also, Without the index backup i could still see products on the site I thought that they would not be visible while updating don't know if i got it wrong or if there are something  else going on.

 

/Manfred


Replies

 

You must be logged in to post in the forum