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.

Mon Oct 30, 2017 8:10 am

I can not save the attached Document like this:

Code: Select all
         // Spire.DOC laden
         Spire.License.LicenseProvider.SetLicenseFileFullPath(HttpContext.Current.Server.MapPath("~/App_Data/spire.license.xml"));
         Spire.Doc.Document doc = new Spire.Doc.Document(Server.MapPath("~/app_data/AblUH_ZE14.docx"));

         // Dokumentenschutz aufheben
         try { doc.Protect(Spire.Doc.ProtectionType.NoProtection); } catch { }

         doc.SaveToFile(Server.MapPath("~/App_data/out.docx"), Spire.Doc.FileFormat.Docx2013);


The proces uses more and more RAM until it runs into a timeout.
This seems to be caused by the preselected/first value in the Dropdown "6. Erledigungsvermerk in BAlimente" >> "Forderung". When I make the second value the first/preselected value with Word, i can save the document using Spire-Doc without the problem above.
I tested Spire.Doc 5.8.0, 5.8.62 and 6.0.35, they all have this issue.

mnadrowski
 
Posts: 9
Joined: Wed Mar 30, 2016 5:04 am

Mon Oct 30, 2017 9:38 am

Hi,

Thanks for your inquiry.
Sorry I did not encounter any issue using the versions you mentioned. To help us with a better investigation, please share the following details.
• The "timeout" you mean is an unexpected error thrown or a pending status?
• What 's your project and the .NET Framework version? (Eg. ASP.NET with.NET4.0)
• OS and Architecture (Eg. Win10, 64 bit)
• Region and Language.
• The IIS settings if you had done any deployment. If not, just ignore this point.
Besides, if possible, a sample project will be of great help.

Sincerely,
Jane
E-iceblue support team
User avatar

Jane.Bai
 
Posts: 1156
Joined: Tue Nov 29, 2016 1:47 am

Thu Nov 02, 2017 9:06 am

Hey,

today i cannot reproduce the problem again :?:
If it happens again, I'll let you know.

mnadrowski
 
Posts: 9
Joined: Wed Mar 30, 2016 5:04 am

Thu Nov 02, 2017 9:53 am

Hello,

Thanks for your feedback.
Please contact us if you need any help.

Sincerely,
Jane
E-iceblue support team
User avatar

Jane.Bai
 
Posts: 1156
Joined: Tue Nov 29, 2016 1:47 am

Return to Spire.Doc