Spire.PDF is a professional PDF library applied to creating, writing, editing, handling and reading PDF files without any external dependencies. Get free and professional technical support for Spire.PDF for .NET, Java, Android, C++, Python.

Mon Feb 13, 2023 7:09 am

I am getting the below error when load pdf file using the LoadFromStream method

"can not use the specified stream. (Parameter 'file')"

trace details:
System.ArgumentException: can not use the specified stream. (Parameter 'file')
at spr(Stream A_0, Boolean A_1)
at spr(Stream A_0)
at Spire.Pdf.PdfDocument.LoadFromStream(Stream stream)

Any suggestion?

sterlingfordev
 
Posts: 13
Joined: Wed Jan 25, 2023 5:31 am

Mon Feb 13, 2023 11:06 am

Hi,

Thanks for your feedback.
Could you please provide us with the following messages to help us work out a solution for you? You can send them to us via email (support@e-iceblue.com) or attach them here. Thanks for your assistance.
1) your input document.
2) your test code.

Sincerely,
Triste
E-iceblue support team
User avatar

Triste.Dai
 
Posts: 1000
Joined: Tue Nov 15, 2022 3:59 am

Mon Mar 27, 2023 9:41 am

Same error here....

igotz.urgoitia
 
Posts: 3
Joined: Fri Mar 17, 2023 7:44 am

Mon Mar 27, 2023 12:24 pm

igotz.urgoitia wrote:Same error here....

Hi,

Thanks for your feedback.
Could you please provide us with the following messages to help us do an accurate investigation for you? You can send them to us via email (support@e-iceblue.com) or attach them here. Thanks for your assistance.
1) your input document.
2) your test code.
3) the version of Spire.PDF you are using.

Sincerely,
Triste
E-iceblue support team
User avatar

Triste.Dai
 
Posts: 1000
Joined: Tue Nov 15, 2022 3:59 am

Return to Spire.PDF