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;








1















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.










share|improve this question




























    1















    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.










    share|improve this question
























      1












      1








      1








      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.










      share|improve this question














      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






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Oct 28 '10 at 15:34









      HarryHarry

      62




      62




















          1 Answer
          1






          active

          oldest

          votes


















          0














          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.






          share|improve this answer























            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
            );



            );













            draft saved

            draft discarded


















            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









            0














            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.






            share|improve this answer



























              0














              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.






              share|improve this answer

























                0












                0








                0







                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.






                share|improve this answer













                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.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Nov 1 '10 at 4:38









                Vivek KumbharVivek Kumbhar

                2,90811413




                2,90811413



























                    draft saved

                    draft discarded
















































                    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.




                    draft saved


                    draft discarded














                    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





















































                    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







                    Popular posts from this blog

                    How to write a 12-bar blues melodyI-IV-V blues progressionHow to play the bridges in a standard blues progressionHow does Gdim7 fit in C# minor?question on a certain chord progressionMusicology of Melody12 bar blues, spread rhythm: alternative to 6th chord to avoid finger stretchChord progressions/ Root key/ MelodiesHow to put chords (POP-EDM) under a given lead vocal melody (starting from a good knowledge in music theory)Are there “rules” for improvising with the minor pentatonic scale over 12-bar shuffle?Confusion about blues scale and chords

                    What if the end-user didn't have the required library?What is setup.py?What is a clean, pythonic way to have multiple constructors in Python?What does Ruby have that Python doesn't, and vice versa?What is the reason for having '//' in Python?How do I create a namespace package in Python?How to package shared objects that python modules depend on?setuptools vs. distutils: why is distutils still a thing?Navigation in Windows 10 vs code not going to virtualenv library when the same library is installed at user levelPython create package for local usePackaging a project that uses multiple python versionsWhy is permission denied on pip install except for when “--user” is included at end of command?

                    Esgonzo ibérico Índice Descrición Distribución Hábitat Ameazas Notas Véxase tamén "Acerca dos nomes dos anfibios e réptiles galegos""Chalcides bedriagai"Chalcides bedriagai en Carrascal, L. M. Salvador, A. (Eds). Enciclopedia virtual de los vertebrados españoles. Museo Nacional de Ciencias Naturales, Madrid. España.Fotos