Welcome Guest Search | Active Topics | Sign In | Register

Deployment of EO.Pdf not working Options
SamWilcock
Posted: Wednesday, May 24, 2017 12:01:27 PM
Rank: Newbie
Groups: Member

Joined: 5/22/2017
Posts: 3
Just tried to deploy a website on windows server 2016, copied EO.Pdf DLL, EO.Base DLL, EO.WebBrowser DLL and EO.WebEngine DLL but see the following when generating PDF:

%PDF-1.4 %���� 1 0 obj << /Producer (EO.Pdf 17.1.55.0) /Creator (EO.Pdf) /Author (HQ) >> endobj 2 0 obj << /Type /Catalog /Pages 3 0 R /ViewerPreferences 17 0 R >> endobj 3 0 obj << /Type /Pages /Kids [11 0 R] /Count 1 >> endobj 4 0 obj << /Type /ExtGState /CA 1 /ca 1 /LC 0 /LJ 0 /LW 0 /ML 4 /SA true /BM /Normal >> endobj 5 0 obj << /Type /Font /Subtype /Type0 /BaseFont /Verdana /Encoding /Identity#2DH /DescendantFonts [6 0 R] /ToUnicode 9 0 R >> endobj 6 0 obj << /Type /Font /FontDescriptor 7 0 R /BaseFont /Verdana /Subtype /CIDFontType2 /CIDToGIDMap /Identity /CIDSystemInfo << /Registry (Adobe) /Ordering (Identity) /Supplement 0 >> /W [0 [1000 0 0 351.5625] 11 12 454.1016 15 [363.7695 454.1016 363.7695] 18 28 635.7422 29 [454.1016] 30 34 818.3594 35 [1000 683.5938 685.5469 0 770.5078 632.3242 574.707 775.3906 751.4648 420.8984 454.5898 692.8711 556.6406 842.7734 748.0469 787.1094 603.0273 787.1094 695.3125 683.5938 616.2109 731.9336 683.5938 988.7695 685.0586 615.2344 685.0586] 68 [600.5859 623.0469 520.9961 623.0469 595.7031 351.5625 623.0469 632.8125 274.4141 0 591.7969 274.4141 972.6563 632.8125 606.9336 623.0469 623.0469 426.7578 520.9961 394.043 632.8125 591.7969 818.3594 591.7969 591.7969 525.3906]] /DW 0 >> endobj 7 0 obj << /Type /FontDescriptor /FontName /Verdana /Flags 4 /Ascent 1005.371 /Descent 209.9609 /StemV 0 /CapHeight 727.0508 /ItalicAngle 0 /FontBBox [-559.5703 -303.2227 1522.949 1050.781] /FontFile2 8 0 R >> endobj 8 0 obj << /Filter /FlateDecode /Length 22025 /Length1 42688 >> stream x��y`E�8�������3�IB�$L�I$��#�I $�6��S�<8DE�]��kW�!d���k]��DPd�e�f����{�����������몮z�{U `�5 @Q��K&_? ů.n�;cc�ޏnW k�/�4\.S��7x�̛�N�� � ���s--[5�x���9{��v�3�\��$B6�N?:l����g�Y6���A j�&��9k�ۼ�?���%��MSZ]y_�ۦ�m� ���g�
Code: C#


Works fine on development machine, but not on deployment server.
eo_support
Posted: Wednesday, May 24, 2017 1:44:44 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,229
Hi,

This is the correct PDF contents. It appears that somewhere in the pipe line that caused the browser not interprets the output as PDF file. Specifically, you will need to have your content type in your HTTP header set to "application/pdf". If you have the Url online we can check this for you and see if the correct header entry is present.

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.