Hi lgalusha,
From your description, you have an ASP.NET 2.0 application configured as
windows authentication( impersonate) and hosted in IIS6, it works well, but
will always start asking client for login credentials after a week, correct?
Based on my experience, such problem is possibly caused by following
problems:
1. security permission, when the user visit a page, that page may also link
to some other resources(such as image, css sheet, .......), and if such
linked resource deny the access of the current user, IIS will also return
error and let browser prompt for new credentials. You can check whether it
is always when a particular page is visited when the problem occur, or it
randomly occur on different page (which may work some time but not other
time).
2. When ASP.NET's worker process recycle, there will also occur such
behavior as the security context of the running process(worker threads in
it) or new started one are inconsistent. For this case, you can check the
server's application event log to see whether there is any entry indicate
that the ASP.NET worker process is recycled.
In addition, you can try creating simplified application with less page and
code logic to repro the problem, this can help simplify our troubleshooting
in a development environment.
Sincerely,
Steven Cheng
Microsoft MSDN Online Support Lead
=============== =============== =============== =====
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.
Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.
=============== =============== =============== =====
This posting is provided "AS IS" with no warranties, and confers no rights.