Forms authentication failed for the request
- From: Bill Long <BillLong@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 14 Mar 2006 06:36:31 -0800
I have a web application that was developed for .NET 1.1. It uses forms
authentication and a custom handler for jpg and gif files so I have the
approprate extension mappings. I have some directories that are excluded from
the handler by the web config file located in the directory.
Web.config in root directory
<httpHandlers>
<add verb="*" path="*.jpg" type="blah, blah" />
<add verb="*" path="*.gif" type="blah, blah" />
</httpHandlers>
Web.config in excluded directory
<httpHandlers>
<remove verb="*" path="*.jpg" />
<remove verb="*" path="*.gif" />
</httpHandlers>
All works quite well.
I ported it to .NET 2.0 running on a Windows 2000 server. Again all works
well.
I moved it to my internet provider's server (Windows 2003) and the handler
seems to work well, but images in the excluded directory do not display. I
log entry into the handler and it is not being entered for the images that
will not display.
The event log on the server shows this error.
Event code: 4005http://www.memoriestoscrap.ca/Sites/MemoriesToScrap/Themes/Tracy/Images/cdnflag50x25.jpg
Event message: Forms authentication failed for the request. Reason: The
ticket supplied has expired.
Event time: 08/03/2006 12:34:40 PM
Event time (UTC): 08/03/2006 5:34:40 PM
Event ID: 19b1d9d2438841ccbe2fd732dec950b8
Event sequence: 2
Event occurrence: 1
Event detail code: 50202
Application information:
Application domain: /LM/W3SVC/4859720/Root-1-127863128795797591
Trust level: Full
Application Virtual Path: /
Application Path: c:\web\www.memoriestoscrap.ca\
Machine name: WEB-02
Process information:
Process ID: 3564
Process name: w3wp.exe
Account name: NT AUTHORITY\NETWORK SERVICE
Request information:
Request URL:
Request path:
/Sites/MemoriesToScrap/Themes/Tracy/Images/cdnflag50x25.jpg
User host address: 64.235.195.218
User:
Is authenticated: False
Authentication Type:
Thread account name: NT AUTHORITY\NETWORK SERVICE
Name to authenticate:
Custom event details:
For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.
Of course there is no additional information if I follow help and support
center link.
Any ideas would be helpful.
--
Bill
.
- Prev by Date: Re: FileLoadException when running app with Impersonate from network folder.
- Next by Date: Re: Extracting certificate from the smart card thru cryptoApi in c#
- Previous by thread: Re: ASP.Net 1.1, Win 2003, IIS6, System.Diagnostics.Process, run notep
- Next by thread: Signing documents with certificates
- Index(es):
Relevant Pages
|