Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: IIS7 Windows PDF
Hi,
 
I know this is a common problem but I have spent two weeks on this and searched the net for advice. I have tried everything!
 
I have an existing website (or really a web doc) that needs to have server side PDFs generated from the pages. It has been working without issue for around 2 years. I moved the site to a new Windows 2008 server running iis7 from its original windows 2003 server. Initially there were issues running 32 bit software on a 64 bit machine (we have tried both and got both running), but these are resolved and we can now generate PDF's of high quality; but only of the log in screen? Now here is the really strange thing. If I run a copy of the site on a local machine, and point it to the live website (http://xxxxx.co.uk/content.aspx), the log in is accepted and the correct pages are printed. However, if I deploy exactly the same code and run from the server the log in is never authenticated, and is redirected to the log in screen to go no further.
 
I know the code works we have set up trials using various windows versions and everything works, as long as its not iis7. It is as if the server refuses to allow authentication from within itself?
 
I know the problem is not with the software, it works, so does the basic code, its a problem with the operating environment or iis7. Has anyone met this or have any advice on a way around it?
 
Thanks.
Posted 10-Jul-11 21:09pm

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 359
1 Maciej Los 290
2 Sergey Alexandrovich Kryukov 230
3 Shweta N Mishra 185
4 PIEBALDconsult 149
0 OriginalGriff 7,660
1 Sergey Alexandrovich Kryukov 7,072
2 DamithSL 5,604
3 Manas Bhardwaj 4,986
4 Maciej Los 4,760


Advertise | Privacy | Mobile
Web02 | 2.8.1411023.1 | Last Updated 11 Jul 2011
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100