What I missed?

What I missed?

Forum member · Oct 20, 2006
I tried to fill an Acro form using the following code. In my PDF file, there are only two text fields named fname and lname. However, when I run the application both on NET Framework 1.1 and 2.0, I got the error message: System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values. Parameter name: offset The error happens on the line: d.DrawToWeb (this,"TestAcroForm.pdf"); The code: MergeOptions options = new MergeOptions(true); MergeDocument d = new MergeDocument(MapPath("LeeTest.pdf"), options); d.Form.Fields["fname"].Value = "Test"; d.Form.Fields["lname"].Value = "Test"; d.DrawToWeb(this,"TestAcroForm.pdf"); Response.End();

Re: What I missed?

Support · Oct 20, 2006
Hello, We have addressed this issue and it has been fixed in the DynamicPDF Merger for .NET (Build 51220). Please make sure that you are referencing the DLL files of Build 51220 in your application and not any old build DLL files. Verify it by checking the files in the bin folder. If you have licensed copy then log into the Customer Area Customer Area using your serial number and download the respective edition DLL files. Replace your existing DLL files with the ones downloaded and rebuild your application and this will likely resolve your problem. Thanks, ceTe Software Support Team