Fixing this problem is quite tedious process, go through each page, check properties of every parameter, it should be same in all pages, i. I was having the issue for document number and sheet number, itwhich was set as string and integer in two different pages, after. After correcting them, error went offthe errors stopped.
goodGood luck Chand