B
Brad
In several aspx applications I export crytal reports to pdf, xls and doc
files and then the aspx page writes the selected export file to the client
browser. This all works with one small quirk: When I run any of the web
apps on my workstations iis website, the pdf download always produces the
"File Download" dialog, even though I have Confirm after Download turned
off. When I select to Open the file from this dialog the file opens in
Visual Studio...yes, the binary file is in the VS editor. If I save that
file from VS as a .pdf file it opens correctly in acrobat. From the
browser, if I select the File Download dialog option to Save the file, I
can open the saved file with acrobat.
Now the catch......If I run the ***exact*** same web apps from a web server,
accessing any one of them from my pc's web browser, the pdf downloads work
correctly....opening without a dialog and opening in acrobat reader. This
use to work correctly on my local pc and I have no clue as to what could
have changed to break it. Thinking the acrobar settings hosed I reinstalled
acrobat. I also tried an uninstall of VS2003 and tried the web apps and the
only difference was that the pdf file opened in notepad.
No problems with the xls and doc file export and downloads, they work
correctly from my local web site and server.
Why would a pdf download work differently when accessed from a local web
apps versus a server...produce by same .net code...viewed by same browser.?
workstation OS win2003 server
VS 2003 .net 1.1
Acrobat Pro 6.0
browser IE 6
Brad
Brad
files and then the aspx page writes the selected export file to the client
browser. This all works with one small quirk: When I run any of the web
apps on my workstations iis website, the pdf download always produces the
"File Download" dialog, even though I have Confirm after Download turned
off. When I select to Open the file from this dialog the file opens in
Visual Studio...yes, the binary file is in the VS editor. If I save that
file from VS as a .pdf file it opens correctly in acrobat. From the
browser, if I select the File Download dialog option to Save the file, I
can open the saved file with acrobat.
Now the catch......If I run the ***exact*** same web apps from a web server,
accessing any one of them from my pc's web browser, the pdf downloads work
correctly....opening without a dialog and opening in acrobat reader. This
use to work correctly on my local pc and I have no clue as to what could
have changed to break it. Thinking the acrobar settings hosed I reinstalled
acrobat. I also tried an uninstall of VS2003 and tried the web apps and the
only difference was that the pdf file opened in notepad.
No problems with the xls and doc file export and downloads, they work
correctly from my local web site and server.
Why would a pdf download work differently when accessed from a local web
apps versus a server...produce by same .net code...viewed by same browser.?
workstation OS win2003 server
VS 2003 .net 1.1
Acrobat Pro 6.0
browser IE 6
Brad
Brad