Specified argument was out of the range of valid values.

Specified argument was out of the range of valid values.

Forum member · Nov 8, 2006
All of a sudden I was having problems creating PDFs on our test web server, but not on localhost or production. The page either came up blank with an Acrobat error message (File is Damaged or File could not be found) or it threw this error: Specified argument was out of the range of valid values. Parameter name: offset After hours of trouble shooting, I discovered what happened. On our test web server, in IIS, all of the web sites had been switched to ASP.NET version 2. This particular app is still version 1. Everything else runs fine under 2.0, except for creating PDFs.

Re: Specified argument was out of the range of valid values.

Support · Nov 8, 2006
Hello, Please make sure that you are using the latest version of our product. You can download it from the CustomerArea by logging in with your serial number. Thanks, ceTe Software Support Team.

Re: Specified argument was out of the range of valid values.

Forum member · Nov 8, 2006
We're using version 3.0.2 and are in the process of upgrading our license so we can get the latest version. Switching the website back to ASP.NET version 1 fixed the problem for now.

Re: Specified argument was out of the range of valid values.

Support · Nov 8, 2006
You can use your v3.0.2 serial number to log into the customer area and download v3.0.3. Version 3.0.3 is a free upgrade for all v3.0.X customers. Version 3.0.2 will not run under version 2.0 of the .NET framework, but v3.0.3 runs great and you should have no problems with it. Thanks, ceTe Software Support Team

Re: Specified argument was out of the range of valid values.

Forum member · Apr 26, 2007
Greetings, We are getting this error and we have 3.0.3 version running in our ASP.NET 2.0 application. Specified argument was out of the range of valid values. Parameter name: offset MyDoc.DrawToWeb(Me, "something.pdf") This same report runs fine for ASP.NET 1.1 but just converted the application to 2.0 and this is what we get on all our PDF reports. Please let us know what you find. Thank you for your time. Steve

Re: Specified argument was out of the range of valid values.

Support · Apr 26, 2007
Hello Steve, What build of our product are you using? You will have to use build 51220 of v3.0.3 when using the v2.0 of .NET framework and it will solve your problem. You can downlaod this latest build from our Customer Area by logging into it using your serial number. Thanks, ceTe Software Support Team.

Re: Specified argument was out of the range of valid values.

Forum member · Apr 26, 2007
Thank you for your swift reply. We have (Developer Edition Build 50611). I will go ahead and get that version. Again, thank you for your time. Steve

Re: Specified argument was out of the range of valid values.

Forum member · Oct 14, 2010
Error Body: System.Web.HttpException (0x80004005) ---> System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.TypeInitializationException: The type initializer for 'zz93.a5' threw an exception. ---> System.NotSupportedException: The invoked member is not supported in a dynamic assembly. at System.Reflection.Emit.InternalAssemblyBuilder.GetManifestResourceNames() at zz93.a5.a() at zz93.a5..cctor() --- End of inner exception stack trace --- at zz93.a5.c(Int32 A_0) at ceTe.DynamicPDF.Page.DrawEntries(DocumentWriter writer, Int32 pageNumber, Int32 sectionPageNumber) at ceTe.DynamicPDF.Page.a(DocumentWriter A_0, Int32 A_1, Int32 A_2, Int32 A_3) at zz93.ak.d(Int32 A_0) at zz93.ak.x() at ceTe.DynamicPDF.Document.Draw(Stream stream) at ceTe.DynamicPDF.Document.Draw(String filePath)

Re: Specified argument was out of the range of valid values.

Support · Oct 14, 2010
Hello, What build of our product are you having? Can you please try using the latest build of our product downloading from our CustomerArea by logging in using your current serial number? If you are still having a problem then please give us more details on this so that we can try to recreate at our end. What version and build of our product and what .NET framework you are using? Also are you working with any existing PDF files? Thanks, ceTe Software Support Team.

Re: Specified argument was out of the range of valid values.

Forum member · Oct 14, 2010
Hello, I was doing. Net application development. with ceTe.DynamicPDF.40.dll, to be running; but with ceTe.DynamicPDF.20.dll, to the above questions. please guide. Thank you!

Re: Specified argument was out of the range of valid values.

Support · Oct 14, 2010
Hello, If you are using .NET framework v2.0 then you have to use ceTe.DynamicPDF.20.dll and for framework v4.0 you have to use ceTe.DynamicPDF.40.dll. What exact framework you have and please make sure that you are using the correct dll in your application. Thanks, ceTe Software Support Team.