Developer forum

Forum » Dynamicweb 9.0 Upgrade issues » New Index breaks after upgrade

New Index breaks after upgrade

Adrian Ursu Dynamicweb Employee
Adrian Ursu
Reply

Hi guys,

I have upgraded from 9.1.5 to 9.2 and all of a sudden, a working Index is no longer working.

No changes were made to the product catalog.

2 days ago it was fine, now it returns an error.

Here it what it says (I have also attached it for reference)

2017-02-15 07:22:41.009: Error processing product (AutoID: 10349, ProductID: zzabc, VariantID: , LanguageID: LANG1, Name: product name abc). Exception logged
2017-02-15 07:22:41.009: Error processing product. System.NullReferenceException: Object reference not set to an instance of an object.    at Dynamicweb.Ecommerce.Indexing.ProductIndexBuilder.ProcessProducts()

And it goes like this for all products, then:

2017-02-15 07:23:23.934: Product index builder experienced a fatal error.. System.IO.IOException: The process cannot access the file 'c:\Domains\Sites\goldilocks.dw-demo.com\Files\System\Diagnostics\Products\Products.index\A\2017-02-15 072240\Status.xml' 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, 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, Boolean useAsync)    at System.Xml.XmlWriterSettings.CreateWriter(String outputFileName)    at System.Xml.Linq.XDocument.Save(String fileName, SaveOptions options)    at Dynamicweb.Diagnostics.Tracking.Status.SaveOrUpdate(String folderPath)    at Dynamicweb.Ecommerce.Indexing.ProductIndexBuilder.ProcessProducts()    at Dynamicweb.Ecommerce.Indexing.ProductIndexBuilder.Build(IIndexWriter writer, Tracker tracker)
2017-02-15 07:23:23.934: Product index builder experienced a fatal error.

I guess it might have to do with some of the new settings on the index introduced in 9.2?

I have attached the log for reference.

Thanks,

Adrian


Replies

 
Adrian Ursu Dynamicweb Employee
Adrian Ursu
Reply

One more thing,

I have also tried defining a new index and I got the same error.

Not sure if it's related, but prior to running the index I noticed some weirds characters in the facet options instead of the actual values (attached printscreen): $ 0, @, (`

Thanks,

Adrian

chrome_2017-02-15_09-34-40.png
 
Kristian Kirkholt Dynamicweb Employee
Kristian Kirkholt
Reply

Hi Adrian

The problem TFS#30680 "ProductIndexBuilder fails when building index" has now been fixed in version 9.2.4

You are able to find this build in the download section:

http://doc.dynamicweb.com/releases-and-downloads/releases

Please contact Dynamicweb Support if you need any additional help regarding this.

Kind Regards
Dynamicweb Support
Kristian Kirkholt

 
Adrian Ursu Dynamicweb Employee
Adrian Ursu
Reply

Hi Kristian,

Thank you very much.

Can I upgrade from the backend of the solution?

Thanks,

Adrian

 
Kristian Kirkholt Dynamicweb Employee
Kristian Kirkholt
Reply

Hi Adrian

I would need to know what site this is regarding.?

Please write the URL to support@dynamicweb.dk and we will help you immediately

Kind Regards
Dynamicweb Support
Kristian Kirkholt

 

You must be logged in to post in the forum