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.

Fri Jun 12, 2015 12:39 am

Hi admin,

i have a problem , when i use ExecuteWidthNestedRegion with from two sections or more in one GROUP , i have a error "System.InvalidOperationException: Stack empty".

I don't know what happen but when i just use one sections in one GROUP. it's ok.

Pls, help me to solve this problem, because i have to format page word for many appendix in contracts.

Thanks so much

vastersi
 
Posts: 4
Joined: Tue Apr 22, 2014 9:27 am

Fri Jun 12, 2015 7:26 am

Hello,

Thanks for your inquiry.
Please share the code and sample document which occur this issue here, or you can send it to us(support@e-iceblue) via email. We will investigate this issue and update to you ASAP.

Thanks,
Betsy
E-iceblue support team
User avatar

Betsy
 
Posts: 802
Joined: Mon Jan 19, 2015 6:14 am

Mon Jun 15, 2015 4:02 am

Hi,

Example is just simple. You use word file in example about "MailMerge-VS2012" in project CSDemos-VS2012.

You modify something like below :
- merge field : «GroupStart:Customer» in one section and «GroupEnd:Customer» in another section. you must insert two section ore more in this file.

After that , you run and error will appear.

Thanks & regard,

vastersi
 
Posts: 4
Joined: Tue Apr 22, 2014 9:27 am

Mon Jun 15, 2015 7:51 am

Hello,

Thanks for your information.
After investigation, I found that the GROUP cannot be used in two or more sections, it must be used in same section. Sorry for inconvenience.

Sincerely,
Betsy
E-iceblue support team
User avatar

Betsy
 
Posts: 802
Joined: Mon Jan 19, 2015 6:14 am

Mon Jun 15, 2015 9:40 am

Hi,

So, can i do two or more GROUP on one word document? I need to set page number in each sections.

Pls, help me to do it. i need it asap.

Thanks so much

vastersi
 
Posts: 4
Joined: Tue Apr 22, 2014 9:27 am

Tue Jun 16, 2015 2:30 am

Hello,

Yes, you can do two or more GROUP on one word document. But «GroupStart:Customer» and «GroupEnd:Customer» must be in one section’s same body. And only one group can be contained in one body.

Sincerely,
Betsy
E-iceblue support team
User avatar

Betsy
 
Posts: 802
Joined: Mon Jan 19, 2015 6:14 am

Wed Jun 17, 2015 9:53 am

Hello,

Has your issue been resolved? Could you please give us some feedback at your convenience?

Thanks,
Betsy
E-iceblue support team
User avatar

Betsy
 
Posts: 802
Joined: Mon Jan 19, 2015 6:14 am

Thu Jun 18, 2015 3:47 pm

it's solved. Thank for your advice.

I did one group for one section.

vastersi
 
Posts: 4
Joined: Tue Apr 22, 2014 9:27 am

Fri Jun 19, 2015 1:05 am

Hello,

Please feel free to contact us if you have any questions or needs.

Sincerely,
Betsy
E-iceblue support team
User avatar

Betsy
 
Posts: 802
Joined: Mon Jan 19, 2015 6:14 am

Return to Spire.Doc