Protected View or unable to open in certain versions of Word

Using Words v 11.11


I’m seeing the exact same symptoms as reported in thread:

Attached are my input file and the resulting output file. All that is done is a find and replace.

Thanks,

James

Hi James,


Thanks for your inquiry. After an initial test with the latest version of Aspose.Words i.e. 11.11.0, I was unable to reproduce this issue on my side. Could you please double check if you’re using Aspose.Words 11.11.0 on your side?

You can dynamically check if you’re referencing the correct DLL by using the following code snippet:

System.Reflection.Assembly[] assemblies = AppDomain.CurrentDomain.GetAssemblies();
foreach (System.Reflection.Assembly assembly in assemblies)
{
System.Reflection.AssemblyName assemblyName = assembly.GetName();
if (assemblyName.Name.Contains(“Aspose.Words”))
Console.WriteLine("Aspose.Words Version Number: " + assemblyName.Version.ToString());
}

Moreover, I have also attached the output DOC file that is produced on my side here for your reference.

If we can help you with anything else, please feel free to ask.

Best regards,