Spire.Doc is a professional Word .NET library specifically designed for developers to create, read, write, convert and print Word document files. Get free and professional technical support for Spire.Doc for .NET, Java, Android, C++, Python.

Tue Jul 30, 2019 2:29 am

code:
Document doc = new Document();
doc.LoadFromFile("temp.docx", FileFormat.Docx);
doc.SaveToFile("1.docx", FileFormat.Docx);

error:
make sure you do not have an infinite loop or infinite recursion

thranks

xiexiaochen
 
Posts: 2
Joined: Mon Jul 29, 2019 9:17 am

Tue Jul 30, 2019 2:42 am

Hello,

Thanks for your inquiry.
To help us look into your issue quickly and accurately. Please provide your input file for us. You could send it to us via email (support@e-iceblue.com). Thanks in advance.

Sincerely,
Lisa
E-iceblue support team
User avatar

Lisa.Li
 
Posts: 1261
Joined: Wed Apr 25, 2018 3:20 am

Tue Jul 30, 2019 3:05 am

Lisa.Li wrote:Hello,

Thanks for your inquiry.
To help us look into your issue quickly and accurately. Please provide your input file for us. You could send it to us via email (support@e-iceblue.com). Thanks in advance.

Sincerely,
Lisa
E-iceblue support team




Has been sent to bugs@e-iceblue.com

xiexiaochen
 
Posts: 2
Joined: Mon Jul 29, 2019 9:17 am

Tue Jul 30, 2019 3:28 am

Hello,

Thank you for sharing the file via email.
I have reproduced the error and logged it into our bug tracking system for further investigating and fixing. Once there is any update, we will let you know. Sorry for the inconvenience caused.

Sincerely,
Lisa
E-iceblue support team
User avatar

Lisa.Li
 
Posts: 1261
Joined: Wed Apr 25, 2018 3:20 am

Wed Jul 31, 2019 7:51 am

Hello,

Greetings from E-icbelue.
After further investigations, we found this error is caused by the default setting of Visual Studio, please deselect the setting of " Suppress JIT optimization on module load (Managed only)" like the attached screenshot, and then try it again. Look forward to your testing result.

Sincerely,
Lisa
E-iceblue support team
User avatar

Lisa.Li
 
Posts: 1261
Joined: Wed Apr 25, 2018 3:20 am

Return to Spire.Doc