• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 310
  • Last Modified:

File does not begin with %pdf-

I am getting this error when i open the pdf file using inet crystal clear tool.

Please help me ......thanks a lotttt....
dll="dll=pdssqletimesheet";
			database = "CTL_eTimeSheet";
			orientation = "default_Orientation=2";
			papersize ="default_PaperSize=1";
			prompt1="promptTSID=<%=StrTimeSheetId%>";
			prompt2="promptflag=<%=strFlag%>";
			reporturl = "../crystal/etimesheet/"; 
			reportaddress1 =reporturl+"etsweeklypreview.rpt?"+dll+"&"+prompt1+"&"+prompt2+"&"+"database="+database+"&";
			reportaddress2 = orientation+"&"+papersize+"&init=pdf";
			reportaddress = reportaddress1+reportaddress2;
			location.href = reportaddress;

Open in new window

0
czutshi
Asked:
czutshi
1 Solution
 
objectsCommented:
are you sure its a pdf file?

0
 
czutshiAuthor Commented:
No. Its not a pdf file. I'm trying to open an rpt file as pdf format using inet crystal clear tool
0

Featured Post

Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now