Help, IIS is sometimes sending wrong data in pages !!!

Help, IIS is sometimes sending wrong data in pages !!!

am 20.07.2007 18:58:25 von jmr

Hi All,

We are having a very strange problem with IIS.
The problem we have with our .net application is that sometimes the
output page contains part of other pages that are being called by
another user using the same server (but with a different login).

We are not storing any page state nor using vb module.
We also use the standard ASP NET caching.

The (weird) behaviour is as follow:
User 1 is calling an aspx page say page1.aspx
At the same time, user 2 is calling another page say page2.aspx

User 1 get the right output from page1.aspx
User 2 get output from page2.aspx + part of the output of page1.aspx

It is not all the time but it is quite worrying because user 2 does not
have to know what user 1 is doing. Note that one of the page involved
when the problem occurs is very big.

Is it a bug with IIS/aspnet (some overflow maybe) ?
Is there a workaround ?

Thanks for any idea,
Jean-Michel

Re: Help, IIS is sometimes sending wrong data in pages !!!

am 22.07.2007 06:37:48 von David Wang

On Jul 20, 9:58 am, jmr wrote:
> Hi All,
>
> We are having a very strange problem with IIS.
> The problem we have with our .net application is that sometimes the
> output page contains part of other pages that are being called by
> another user using the same server (but with a different login).
>
> We are not storing any page state nor using vb module.
> We also use the standard ASP NET caching.
>
> The (weird) behaviour is as follow:
> User 1 is calling an aspx page say page1.aspx
> At the same time, user 2 is calling another page say page2.aspx
>
> User 1 get the right output from page1.aspx
> User 2 get output from page2.aspx + part of the output of page1.aspx
>
> It is not all the time but it is quite worrying because user 2 does not
> have to know what user 1 is doing. Note that one of the page involved
> when the problem occurs is very big.
>
> Is it a bug with IIS/aspnet (some overflow maybe) ?
> Is there a workaround ?
>
> Thanks for any idea,
> Jean-Michel


Contact Microsoft PSS. Things like this tend to have no workaround.

If it is a bug, they can direct you to a fix if it exist. Otherwise,
it would be a bug report which is also free.

Worst case is if your application causes the issue, in which
contacting Microsoft PSS to troubleshoot will cost you money.

FYI: No one else has really reported anything like this... so it is up
to you as to how confident you feel that this is not an issue within
your application.


//David
http://w3-4u.blogspot.com
http://blogs.msdn.com/David.Wang
//

Re: Help, IIS is sometimes sending wrong data in pages !!!

am 23.07.2007 18:32:44 von jmr

David Wang wrote:
> Contact Microsoft PSS. Things like this tend to have no workaround.
>
> If it is a bug, they can direct you to a fix if it exist. Otherwise,
> it would be a bug report which is also free.
>
> Worst case is if your application causes the issue, in which
> contacting Microsoft PSS to troubleshoot will cost you money.

Thanks David,

The problem is to reproduce the bug. We cannot send our application to them.


>
> FYI: No one else has really reported anything like this... so it is up
> to you as to how confident you feel that this is not an issue within
> your application.
>

Yes, that's seems rare but I've found a similar question searching
google groups (title is Strange problem - page output contains output
from another request). Unfortunately, the poor guy got no replies.

I won't assure it is not a problem caused by our application but I'm
very curious to know what code could produce such output (in our context).

Regards,
Jean-Michel

Re: Help, IIS is sometimes sending wrong data in pages !!!

am 24.07.2007 05:11:20 von David Wang

On Jul 23, 9:32 am, jmr wrote:
> David Wang wrote:
> > Contact Microsoft PSS. Things like this tend to have no workaround.
>
> > If it is a bug, they can direct you to a fix if it exist. Otherwise,
> > it would be a bug report which is also free.
>
> > Worst case is if your application causes the issue, in which
> > contacting Microsoft PSS to troubleshoot will cost you money.
>
> Thanks David,
>
> The problem is to reproduce the bug. We cannot send our application to them.
>
>
>
> > FYI: No one else has really reported anything like this... so it is up
> > to you as to how confident you feel that this is not an issue within
> > your application.
>
> Yes, that's seems rare but I've found a similar question searching
> google groups (title is Strange problem - page output contains output
> from another request). Unfortunately, the poor guy got no replies.
>
> I won't assure it is not a problem caused by our application but I'm
> very curious to know what code could produce such output (in our context).
>
> Regards,
> Jean-Michel



Things like that sound like memory corruption, possibly from timing/
racing issue or misuse of native resources like handles.

Personally, I think the fastest way to reach a resolution in your
situation is to call PSS if you have a quick and reliable way to
reproduce the issue:
- If it is a problem in Microsoft software, great, you won't pay $300
for the bug report.
- If it is a problem in your code, it should be worth $300 of your
time to figure that out faster.

Or you can pay someone to teach you about the topic of bugs and
debugging. Or if you don't want to pay anything, hope that someone
will debug/teach you for free. Or piece together information from the
Internet, but honestly, I find the Internet very noisy and inaccurate
when it comes to real details like this.

//David
http://w3-4u.blogspot.com
http://blogs.msdn.com/David.Wang
//

Re: Help, IIS is sometimes sending wrong data in pages !!!

am 24.07.2007 17:30:41 von Andrew Morton

Check if the Web garden is set to more than 1 in IIS Manager->Application
Pools->[your application pool]->Properties->Performance.

Andrew

Re: Help, IIS is sometimes sending wrong data in pages !!!

am 27.07.2007 15:24:35 von jmr

Andrew Morton wrote:
> Check if the Web garden is set to more than 1 in IIS Manager->Application
> Pools->[your application pool]->Properties->Performance.
>

Hi Andrew,

I have a french version if IIS so nothing called "web garden" !

But I suppose this is the last option in the Performance tab.
It says "max number of process" and it is set to 1

Thanks,
Jean-Michel