Groups | Blog | Home
all groups > iis security > december 2005 >

iis security : Strange Problem Driving Me Mad


JMCGRATH72
12/31/2005 10:11:02 PM
Happy New Year!

I am experiencing the following strange problem with a server at work that
is hosting an asp.net application (windows 2k server, all latest updates,
etc.).

The app virtual directory is set to Windows Integrated Authentication. Some
pages in the app use an infragistics web grid control to display data.

Everything works great except for the following strange problem:
After about 8-12 seconds of use (i.e. postbacks, new pages, etc), the next
request will "hang" for almost exactly 10 seconds. This behavior is
consistent and not dependent on the amount of data.

When I turn off windows integrated authentication, the issue goes away. If
I didn't know better, I would suspect that for some reason, it is going off
and reauthenticating every 8-12 seconds (it normally takes about 10 seconds
to authenticate the user the first time they hit the site).

Also, the problem only seems to appear on the pages using the infragistics
web grid control, which has its own javascript and image directories under a
separate virtual directory on the same website. I have ensured that the
security settings on these directories are set to anonymous and windows
integrated authentication.

Please, if anyone has any ideas, I would be greatful, as I have run out of
ideas on my own.

Consultant
1/4/2006 1:14:27 PM
if you are calling outside the virtual directory, you may need to look at
your trust level in the machine.config. you may need to run it in full
trust, which is not recommended. if this is the case, you can set your
machine.config trust level = medium and allow override = true. then set the
trust level to full in the web.config of the app.


[quoted text, click to view]

AddThis Social Bookmark Button