iis 7 caching PDF files causing wrong attachments to be sentPDF Corruption When Sending with Microsoft ProductsHow do I format a text file for IIS Mailroot Pickup so that it sends an e-mail with attachments?Disable static content caching in IIS 7IIS 7, FastCGI, PHP and custom php.ini filesSendmail configuration on LinuxHow to have Postfix send email to another server if user lookup fails for specific domainsPostfix - unable to access externallyUsing IIS smtp for incoming and outgoing and use hMailserver for mail accountspostfix discard or change Message-ID header based on another header lineHow to restrict SMTP login to its own address in sasldb2?
Which European Languages are not Indo-European?
Who will lead the country until there is a new Tory leader?
Why didn't Project Mercury advance to an orbital flight on their second mission?
Why is a `for` loop so much faster to count True values?
Is "cool" appropriate or offensive to use in IMs?
I know that there is a preselected candidate for a position to be filled at my department. What should I do?
Is there an online tool which supports shared writing?
C++ forcing function parameter evalution order
Why did the Dothraki not follow Jon?
Using credit/debit card details vs swiping a card in a payment (credit card) terminal
A steel cutting sword?
How to know if a folder is a symbolic link?
Make 24 using exactly three 3s
Employer asking for online access to bank account - Is this a scam?
When the Torah was almost lost and one (or several) Rabbis saved it?
What are these arcade games in Ghostbusters 1984?
Would Jetfuel for a modern jet like an F-16 or a F-35 be producable in the WW2 era?
What is a Centaur Thief's climbing speed?
Should I disclose a colleague's illness (that I should not know) when others badmouth him
Is it rude to call a professor by their last name with no prefix in a non-academic setting?
Can the Levitate spell be used to cause damage by slamming a creature?
Why didn't Thanos use the Time Stone to stop the Avengers' plan?
Why aren't space telescopes put in GEO?
Why were helmets and other body armour not commonplace in the 1800s?
iis 7 caching PDF files causing wrong attachments to be sent
PDF Corruption When Sending with Microsoft ProductsHow do I format a text file for IIS Mailroot Pickup so that it sends an e-mail with attachments?Disable static content caching in IIS 7IIS 7, FastCGI, PHP and custom php.ini filesSendmail configuration on LinuxHow to have Postfix send email to another server if user lookup fails for specific domainsPostfix - unable to access externallyUsing IIS smtp for incoming and outgoing and use hMailserver for mail accountspostfix discard or change Message-ID header based on another header lineHow to restrict SMTP login to its own address in sasldb2?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;
I've got a weird problem with my web server.
I have a page that creates a PDF file and a button to send that same file as an attachment in an email.
So I hit create, then press send, create, then press send. The file name & location on the server is the same, but the contents change.
The thing is it frequently ends up sending the previous version even though it's over-written and no longer exists on the server. If I wait 10-20 minutes then it usually sends the correct file.
If I view the file in the browser it shows the latest version, even though it stills sends the old one in emails.
So I think it must be some sort of caching issue, does anyone know what I should change in IIS that could fix this.
iis-7 smtp
add a comment |
I've got a weird problem with my web server.
I have a page that creates a PDF file and a button to send that same file as an attachment in an email.
So I hit create, then press send, create, then press send. The file name & location on the server is the same, but the contents change.
The thing is it frequently ends up sending the previous version even though it's over-written and no longer exists on the server. If I wait 10-20 minutes then it usually sends the correct file.
If I view the file in the browser it shows the latest version, even though it stills sends the old one in emails.
So I think it must be some sort of caching issue, does anyone know what I should change in IIS that could fix this.
iis-7 smtp
add a comment |
I've got a weird problem with my web server.
I have a page that creates a PDF file and a button to send that same file as an attachment in an email.
So I hit create, then press send, create, then press send. The file name & location on the server is the same, but the contents change.
The thing is it frequently ends up sending the previous version even though it's over-written and no longer exists on the server. If I wait 10-20 minutes then it usually sends the correct file.
If I view the file in the browser it shows the latest version, even though it stills sends the old one in emails.
So I think it must be some sort of caching issue, does anyone know what I should change in IIS that could fix this.
iis-7 smtp
I've got a weird problem with my web server.
I have a page that creates a PDF file and a button to send that same file as an attachment in an email.
So I hit create, then press send, create, then press send. The file name & location on the server is the same, but the contents change.
The thing is it frequently ends up sending the previous version even though it's over-written and no longer exists on the server. If I wait 10-20 minutes then it usually sends the correct file.
If I view the file in the browser it shows the latest version, even though it stills sends the old one in emails.
So I think it must be some sort of caching issue, does anyone know what I should change in IIS that could fix this.
iis-7 smtp
iis-7 smtp
asked Oct 28 '10 at 15:34
HarryHarry
62
62
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
You can try disabling Output Caching in IIS 7. Refer Configure IIS 7 Output Caching and Caching. There is a small troubleshooting section at the end of the first link, please refer that as well.
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "2"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f195829%2fiis-7-caching-pdf-files-causing-wrong-attachments-to-be-sent%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
You can try disabling Output Caching in IIS 7. Refer Configure IIS 7 Output Caching and Caching. There is a small troubleshooting section at the end of the first link, please refer that as well.
add a comment |
You can try disabling Output Caching in IIS 7. Refer Configure IIS 7 Output Caching and Caching. There is a small troubleshooting section at the end of the first link, please refer that as well.
add a comment |
You can try disabling Output Caching in IIS 7. Refer Configure IIS 7 Output Caching and Caching. There is a small troubleshooting section at the end of the first link, please refer that as well.
You can try disabling Output Caching in IIS 7. Refer Configure IIS 7 Output Caching and Caching. There is a small troubleshooting section at the end of the first link, please refer that as well.
answered Nov 1 '10 at 4:38
Vivek KumbharVivek Kumbhar
2,90811413
2,90811413
add a comment |
add a comment |
Thanks for contributing an answer to Server Fault!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f195829%2fiis-7-caching-pdf-files-causing-wrong-attachments-to-be-sent%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown