Previous Next

Thread: Wrong data returned

Last post 08-27-2008 8:03 AM by Annihil8. 2 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (3 items)

Sort Posts:

  • 08-26-2008, 12:48 PM

    • Annihil8
    • Not Ranked
    • Joined on 11-07-2006, 12:14 PM
    • Posts 3

    Wrong data returned

     Hi,

    I have a webservice running on iis7.0. My webservice has two public methods. A getData and a setData.

    The problem I have is that the first time I run getData it takes about 25seconds to get all the data.
    This is ok because it is a lot of data and a lot of transactions in SQL are executed.
    The second time(+-10 seconds after the first time) I run getData it takes about 1second to get all the data but it is exact the same data as the first time.

    I don't now anything about webservices, but has this to do with caching?
    What can I do about it? Can I disable caching?

    Greetings,

    Annihil8

  • 08-27-2008, 6:16 AM In reply to

    Re: Wrong data returned

    You can try disabling user and kernel level caching on your site.  In IIS Manager > Output caching.  That is where I would start by turning off one option at a time.  Also, if you have some type of proxy server like ISA in front of your web server, it could cache the service.  Lastly, verify the application itself doesn't have caching turned on.

    Steve Schofield
    Windows Server MVP - IIS
    http://weblogs.asp.net/steveschofield

    http://www.IISLogs.com
    Log archival solution
    Install, Configure, Forget
  • 08-27-2008, 8:03 AM In reply to

    • Annihil8
    • Not Ranked
    • Joined on 11-07-2006, 12:14 PM
    • Posts 3

    Re: Wrong data returned

     Thank you for your reply!

    Currently there is no ISA server in the network yet.

    I've looked to the output caching, but I can't change anything there. In the 'Edit Feature Settings' the two checkboxes Enable Cache and Enable Kernel Cache are not checked allready.

    Grtz,

    Annihil8

Page 1 of 1 (3 items)
Page view counter