function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
CMaineCMaine 

pdf Render causes "An internal server error has occurred"

I've put together a very simple VF page that will not render in pdf. I get the "An internal server error has occurred' error. Any ideas?

<apex:page standardController="case" renderas="PDF"> <head> <style type="text/css"> h2 {color:black } p {color:black } </style> </head> <span style="font-size: 12px; font-family: Times New Roman, Helvetica, sans-serif;"> <img src="/servlet/servlet.ImageServer?id=01550000000bPkI&oid=00D300000000YoI&lastMod=1236744648000"><br> Date: {!if(Month(Today())=1,"January","")}{!if(Month(Today())=2,"February","")}{!if(Month(Today())=3,"March","")}{!if(Month(Today())=4,"April","")}{!if(Month(Today())=5,"May","")}{!if(Month(Today())=6,"June","")}{!if(Month(Today())=7,"July","")}{!if(Month(Today())=8,"August","")}{!if(Month(Today())=9,"September","")}{!if(Month(Today())=10,"October","")}{!if(Month(Today())=11,"November","")}{!if(Month(Today())=12,"December","")} {!Day(Today())}, {!Year(Today())}br/> Furniture Company: ____________________________________________________<br/> Furniture Contact #: _______________________ Fax: ________________________<br/> <br/> Please confirm a full pick up on {!Case.Furniture_Pick_up__c}<br/> at the following location:<br/> <table> <tr> {!case.temp_Address__c}<br/> {!case.Temp_City_Line_2__c}, {!case.Temp_State_Line_3__c}, {!case.Temp_Zip_Code_Line_4__c}<br/> {!case.Lease__c} </tr> </table> <br/> <p> Please call {!case.PolicyNumber__c} at {!case.ApprovedBy__c} one hour prior to arrival. </p> <center><b>Please fax back to: 1-888-233-6753</b> Rev 2.5.08</center> </apex:page>

 

Best Answer chosen by Admin (Salesforce Developers) 
CMaineCMaine

Nevermind... badly formed table. problem solved.

All Answers

CMaineCMaine

Nevermind... badly formed table. problem solved.

This was selected as the best answer
dchasmandchasman
Yes - and we have this one bugged already - no ETA for the fix though because the issue is deep inside a 3rd party library that we leverage.
CMaineCMaine
Thanks, I guess I'll just need to make sure I'm forming my pages correctly ha-ha.