Spire.Barcode is a professional barcode library specially designed for .NET developers (C#, VB.NET, ASP.NET, .NET Core) and Java developers (J2SE and J2EE) to generate, read and scan 1D & 2D barcodes.

Wed Oct 05, 2016 4:11 pm

Hi,

When trying to scan an image of a large file size the following error is generated:

An unhandled exception of type 'System.ArgumentException' occurred in System.Drawing.dll

Additional information: Parameter is not valid.

Please find a sample project demonstrating this issue at the following link:
https://drive.google.com/file/d/0B3wujU ... sp=sharing

The approach used in my sample project is the same approach we are using in our main solution which has the same issue.

Can you please advise on how to stop this issue from occurring and if possible modify my sample project to fix the issue.

Thanks
Last edited by tomaustin700 on Thu Oct 06, 2016 8:01 am, edited 1 time in total.

tomaustin700
 
Posts: 6
Joined: Wed Oct 05, 2016 4:05 pm

Thu Oct 06, 2016 3:16 am

Hello,

Thanks for your feedback. When run your project on my side, it can scan the image, here is the result for your reference.

Sincerely,
Gary
E-iceblue support team
User avatar

Gary.zhang
 
Posts: 1380
Joined: Thu Apr 04, 2013 1:30 am

Thu Oct 06, 2016 6:55 am

Hi Gary,

Please run visual studio is x86 debug mode, that should duplicate the issue.

Regards,
Tom

tomaustin700
 
Posts: 6
Joined: Wed Oct 05, 2016 4:05 pm

Thu Oct 06, 2016 7:00 am

I have uploaded the solution again and it should error always now (no need to set x86).

https://drive.google.com/file/d/0B3wujU ... sp=sharing

Regards,
Tom

tomaustin700
 
Posts: 6
Joined: Wed Oct 05, 2016 4:05 pm

Thu Oct 06, 2016 7:36 am

Hello,

Thanks for your prompt response. I have noticed the issue and posted it to our Dev team, once it is resolved, or we have some other update, we will let you know ASAP.

Sincerely,
Gary
E-iceblue support team
User avatar

Gary.zhang
 
Posts: 1380
Joined: Thu Apr 04, 2013 1:30 am

Wed Oct 12, 2016 1:58 pm

Hi,

Is there any update on this issue or a workaround?

Thanks

tomaustin700
 
Posts: 6
Joined: Wed Oct 05, 2016 4:05 pm

Thu Oct 13, 2016 2:41 am

Hello,

Sorry that I am afraid that now we don't have any plan to update/maintain our free version.

Sincerely,
Gary
E-iceblue support team
User avatar

Gary.zhang
 
Posts: 1380
Joined: Thu Apr 04, 2013 1:30 am

Wed Feb 15, 2017 9:52 am

Hi Everu body, I have the same error with file of large dimensions;
is it avaible a fix for this Iussue ?

I'm not able to run and scan some files and the procedure remains without completing task.

Vittorio Morellini

vittorio70
 
Posts: 2
Joined: Wed Jul 20, 2016 4:26 pm

Thu Feb 16, 2017 3:53 am

Dear Vittorio,

Thanks for the feedback.
We will appreciate it if you could offer us that files which has issue for further investigation.

Thanks,
Betsy
E-iceblue support team
User avatar

Betsy.jiang
 
Posts: 3099
Joined: Tue Sep 06, 2016 8:30 am

Thu Feb 16, 2017 8:02 am

Please see my original posts which duplicate the issue. I assume Vittorio is running into the same issues I was having.

tomaustin700
 
Posts: 6
Joined: Wed Oct 05, 2016 4:05 pm

Thu Feb 16, 2017 8:49 am

Dear tomaustin700,

Thanks for your answer.
Different files may have the different reason caused the issue. So we need Vittorio's files to determine the reason caused the issue accurately.

Thanks,
Betsy
E-iceblue support team
User avatar

Betsy.jiang
 
Posts: 3099
Joined: Tue Sep 06, 2016 8:30 am

Return to Spire.BarCode