|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Forms authentication failed for the requestauthentication 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. Show quote > Event code: 4005 Of course there is no additional information if I follow help and support > 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: > http://www.memoriestoscrap.ca/Sites/MemoriesToScrap/Themes/Tracy/Images/cdnflag50x25.jpg > > 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. > center link. Any ideas would be helpful. -- Bill |
|||||||||||||||||||||||