Thanks for reply.
I don't get null value. but the binary data which returns from sql server is an empty pdf!
please see this link which contains my code :
Asp.net webForms problem : Generate an empty pdf on production Server!
Hamed Vaziri
136
Reputation points
In my webForm project as follow :
- I have a button which user click on it
- call a web method (via jquery request) to extract some binary data from sql server as pdf
- Then give a user to download/view the pdf via browser.
This works for my development machine. However, this fails on production server and give to user an empty pdf!
Where is my problem & how to solve it?
Here is jquery request to my web method :
1 answer
Sort by: Most helpful
-
Hamed Vaziri 136 Reputation points
2021-09-14T04:30:00.497+00:00