Free Support Forum - groupdocs.com

Compare two documents in ASP.NET

Integrating Comparison to ASP.NET causes a file access exception. This is typically caused when IIS is restarted but could be triggered anytime the Comparison Logger is invoked.


This is a critical issue for our application.

This is using Comparison v17.7.0

Please advice for a fix.

Thanks.



@leobarcenas

We are sorry to hear that you are facing such scenarios. This scenario needs to investigate on API core level, therefore i am logging this issue for product team for further investigation and solution.

Thank you for patience.

Warm Regards,

@leobarcenas

Please give a try to GroupDocs.Comparison for .NET version 20.7. You will not face such an exception. We’ve optimized document comparison process a lot.

using (Comparer comparer = new Comparer("source.docx"))
{
    comparer.Add("target.docx");
    CompareOptions compareOptions = new CompareOptions()
    {
        DetectStyleChanges = true
    };
	comparer.Compare("result.docx", compareOptions);
}

Furthermore, you can explore following open-source projects:

Have a look at this video demo.