• sc12345
  • NEWBIE
  • 0 Points
  • Member since 2011

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 2
    Questions
  • 2
    Replies

I have a VF page (called prodinfo ). 

 

On Sandbox

- Accessing as regular VF page (URL looks like http://xxxxx/apex/prodinfo)

- - - HTML version output - works fine

- - - PDF version output (by just adding 'renderas="pdf" in the page tag) - works fine

 

- Accessing as Sites page (after setting up a site to refer to this page. URL looks like http://xxxxx.force.com/prodinfo)

- - - HTML version output works fine

- - - PDF version output (by just adding 'renderas="pdf" in the page tag) - works fine

 

On Production

- Accessing as regular VF page (URL looks like http://yyyyy/apex/prodinfo)

- - - HTML version output - works fine

- - - PDF version output (just by adding 'renderas="pdf" in the page tag) - works fine

 

- Accessing as Sites page (after setting up a site to refer to this page. URL looks like http://yyyyy.force.com/prodinfo)

- - - HTML version output (regular page tags etc.) works fine

- - - PDF version output (just by adding 'renderas="pdf" in the page tag) - FAILS with the dreaded InMaintenance error.

 

There is not change to code other than to add and remove the renderas clause.

 

As soon as I remove the renderas="pdf" part on the page, the VF page on production accessed as a Sites page shows up fine.

 

Any help / information / pointers greatly appreciated.

 

Thanks

SC

I have a VF page (called prodinfo ). 

 

On Sandbox

- Accessing as regular VF page (URL looks like http://xxxxx/apex/prodinfo)

- - - HTML version output - works fine

- - - PDF version output (by just adding 'renderas="pdf" in the page tag) - works fine

 

- Accessing as Sites page (after setting up a site to refer to this page. URL looks like http://xxxxx.force.com/prodinfo)

- - - HTML version output works fine

- - - PDF version output (by just adding 'renderas="pdf" in the page tag) - works fine

 

On Production

- Accessing as regular VF page (URL looks like http://yyyyy/apex/prodinfo)

- - - HTML version output - works fine

- - - PDF version output (just by adding 'renderas="pdf" in the page tag) - works fine

 

- Accessing as Sites page (after setting up a site to refer to this page. URL looks like http://yyyyy.force.com/prodinfo)

- - - HTML version output (regular page tags etc.) works fine

- - - PDF version output (just by adding 'renderas="pdf" in the page tag) - FAILS with the dreaded InMaintenance error.

 

There is not change to code other than to add and remove the renderas clause.

 

As soon as I remove the renderas="pdf" part on the page, the VF page on production accessed as a Sites page shows up fine.

 

Any help / information / pointers greatly appreciated.

 

Thanks

SC

I have a VF page (called prodinfo ). 

 

On Sandbox

- Accessing as regular VF page (URL looks like http://xxxxx/apex/prodinfo)

- - - HTML version output - works fine

- - - PDF version output (by just adding 'renderas="pdf" in the page tag) - works fine

 

- Accessing as Sites page (after setting up a site to refer to this page. URL looks like http://xxxxx.force.com/prodinfo)

- - - HTML version output works fine

- - - PDF version output (by just adding 'renderas="pdf" in the page tag) - works fine

 

On Production

- Accessing as regular VF page (URL looks like http://yyyyy/apex/prodinfo)

- - - HTML version output - works fine

- - - PDF version output (just by adding 'renderas="pdf" in the page tag) - works fine

 

- Accessing as Sites page (after setting up a site to refer to this page. URL looks like http://yyyyy.force.com/prodinfo)

- - - HTML version output (regular page tags etc.) works fine

- - - PDF version output (just by adding 'renderas="pdf" in the page tag) - FAILS with the dreaded InMaintenance error.

 

There is not change to code other than to add and remove the renderas clause.

 

As soon as I remove the renderas="pdf" part on the page, the VF page on production accessed as a Sites page shows up fine.

 

Any help / information / pointers greatly appreciated.

 

Thanks

SC

I'm trying to use the renderAs="pdf" page settings on a sites page.

Works fine in sandbox, it works fine if I remove the renderAs from  the page tag and render as straight html on production. I get the  dreaded "InMaintenance" page however, if i try and renderAs pdf in production.

 

Anyone else seeing this? Have a solution?

 

Thanks,

Jason

 

Update: I've tried a few things, and it appears that it's happening because of static resources in the pdf.

Still no idea why it's bombing though as those static resources work fine in the html version.

 

Message Edited by jernst on 06-12-2009 10:32 AM