Asked by:
IIS 7 sends blank error page

Question
-
User1866599147 posted
I'm writing a simple filter which does some modification to the response sent by IIS.
1) When I get a SF_NOTIFY_SEND_RAW_DATA, I store/append the raw data into a buffer and set cbInData of the HTTP_FILTER_RAW_DATA structure to 0 to stop IIS sending back the response.
2) When I get a SF_NOTIFY_END_OF_REQUEST, I process the buffer, and call WriteClient passing the modified data.The problem is that when I open a page where i should get an error (eg. goto an invalid page - 404, deny a particular IP - 403), the buffer contains:
HTTP/1.1 404 Not Found
Content-Length: 0
Server: Microsoft-IIS/7.5
X-Powered-By: ASP.NET
and i get a blank page on the browser.
However when i comment my code, I still see the above response(with content-length=0) in step 1, but the output in the browser has a proper error message. I guess this is the custom error module sending the proper response. But why is it not sending the proper error message when my filter sends the same response in step 2 with WriteClient ?
Note: This works absolutely fine in IIS 6. Had it been IIS 6, I would have got a proper response with the error text corresponding to 404 in step 2.
Thursday, April 29, 2010 9:24 AM
All replies
-
User45572240 posted
Did you ever find a resolution to this? I'm running into the exact same problem.Wednesday, August 3, 2011 2:09 PM -
User-248641251 posted
Try:<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p><configuration><o:p></o:p> <system.webServer><o:p></o:p> <httpErrors existingResponse="PassThrough" /><o:p></o:p><o:p> </o:p><o:p></o:p> <o:p></o:p> <o:p></o:p>http://www.iis.net/ConfigReference/system.webServer/httpErrors<o:p></o:p>Wednesday, August 3, 2011 2:42 PM -
User-248641251 posted
Ouch... I cannot format message at all... L<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p>Wednesday, August 3, 2011 2:43 PM -
User45572240 posted
Tried that, still didn't work :-( The following is the failed request log for the request.
Where I am seeing a problem is that the CustomErrorModule never seems to load... but I can't figure out why...
Hope this helps! Thanks!
1. GENERAL_REQUEST_START SiteId="39", AppPoolId="test 4.0", ConnId="1610612738", RawConnId="0", RequestURL="http://test.andy.me:80/taxes", RequestVerb="GET" 19:02:16.701
2. — PRE_BEGIN_REQUEST_START ModuleName="FailedRequestsTracingModule" 19:02:16.701
3. — PRE_BEGIN_REQUEST_END ModuleName="FailedRequestsTracingModule", NotificationStatus="NOTIFICATION_CONTINUE" 19:02:16.701
4. — PRE_BEGIN_REQUEST_START ModuleName="RequestMonitorModule" 19:02:16.701
5. — PRE_BEGIN_REQUEST_END ModuleName="RequestMonitorModule", NotificationStatus="NOTIFICATION_CONTINUE" 19:02:16.701
6. — PRE_BEGIN_REQUEST_START ModuleName="IsapiFilterModule" 19:02:16.701
7. FILTER_PREPROC_HEADERS_START 19:02:16.701
8. FILTER_START FilterName="C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_filter.dll" 19:02:16.701
9. — GENERAL_SET_REQUEST_HEADER HeaderName="AspFilterSessionId", HeaderValue="", Replace="true" 19:02:16.701
10. FILTER_SET_REQ_HEADER HeaderName="AspFilterSessionId:", HeaderValue="" 19:02:16.701
11. FILTER_END NotificationStatus="SF_STATUS_REQ_NEXT_NOTIFICATION" 19:02:16.701
12. FILTER_PREPROC_HEADERS_END 19:02:16.701
13. PRE_BEGIN_REQUEST_END ModuleName="IsapiFilterModule", NotificationStatus="NOTIFICATION_CONTINUE" 19:02:16.701
14. PRE_BEGIN_REQUEST_START ModuleName="WebDAVModule" 19:02:16.701
15. — PRE_BEGIN_REQUEST_END ModuleName="WebDAVModule", NotificationStatus="NOTIFICATION_CONTINUE" 19:02:16.701
16. GENERAL_ENDPOINT_INFORMATION RemoteAddress="192.168.1.162", RemotePort="53255", LocalAddress="192.168.1.162", LocalPort="80" 19:02:16.701
17. GENERAL_REQUEST_HEADERS Headers="Cache-Control: max-age=0
Connection: keep-alive
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Cookie: ASP.NET_SessionId=5lqmwiaztmg4daw2jlafmygs; __utma=47305917.420453292.1307034384.1312378655.1312391404.26; __utmc=47305917; __utmz=47305917.1307034384.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none)
Host: test.andy.me
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.30 (KHTML, like Gecko) Chrome/12.0.742.122 Safari/534.30
" 19:02:16.701
18. URL_CACHE_ACCESS_START RequestURL="/taxes" 19:02:16.701
19. URL_CACHE_ACCESS_END PhysicalPath="", URLInfoFromCache="false", URLInfoAddedToCache="true", ErrorCode="The operation completed successfully.
(0x0)" 19:02:16.701
20. GENERAL_GET_URL_METADATA PhysicalPath="", AccessPerms="513" 19:02:16.701
21. HANDLER_CHANGED OldHandlerName="", NewHandlerName="StaticFile", NewHandlerModules="StaticFileModule,DefaultDocumentModule,DirectoryListingModule", NewHandlerScriptProcessor="", NewHandlerType="" 19:02:16.701
22. — NOTIFY_MODULE_START ModuleName="IsapiFilterModule", Notification="MAP_PATH", fIsPostNotification="false" 19:02:16.701
23. — NOTIFY_MODULE_END ModuleName="IsapiFilterModule", Notification="MAP_PATH", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE" 19:02:16.701
24. — NOTIFY_MODULE_START ModuleName="HttpCacheModule", Notification="BEGIN_REQUEST", fIsPostNotification="false" 19:02:16.701
25. — NOTIFY_MODULE_END ModuleName="HttpCacheModule", Notification="BEGIN_REQUEST", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE" 19:02:16.701
26. — NOTIFY_MODULE_START ModuleName="IpRestrictionModule", Notification="BEGIN_REQUEST", fIsPostNotification="false" 19:02:16.701
27. — NOTIFY_MODULE_END ModuleName="IpRestrictionModule", Notification="BEGIN_REQUEST", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE" 19:02:16.701
28. — NOTIFY_MODULE_START ModuleName="RequestFilteringModule", Notification="BEGIN_REQUEST", fIsPostNotification="false" 19:02:16.701
29. — NOTIFY_MODULE_END ModuleName="RequestFilteringModule", Notification="BEGIN_REQUEST", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE" 19:02:16.701
30. — NOTIFY_MODULE_START ModuleName="FailedRequestsTracingModule", Notification="BEGIN_REQUEST", fIsPostNotification="false" 19:02:16.701
31. — NOTIFY_MODULE_END ModuleName="FailedRequestsTracingModule", Notification="BEGIN_REQUEST", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE" 19:02:16.701
32. — NOTIFY_MODULE_START ModuleName="ConfigurationValidationModule", Notification="BEGIN_REQUEST", fIsPostNotification="false" 19:02:16.701
33. — NOTIFY_MODULE_END ModuleName="ConfigurationValidationModule", Notification="BEGIN_REQUEST", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE" 19:02:16.701
34. — NOTIFY_MODULE_START ModuleName="IsapiFilterModule", Notification="AUTHENTICATE_REQUEST", fIsPostNotification="false" 19:02:16.701
35. — NOTIFY_MODULE_END ModuleName="IsapiFilterModule", Notification="AUTHENTICATE_REQUEST", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE" 19:02:16.701
36. — NOTIFY_MODULE_START ModuleName="CertificateMappingAuthenticationModule", Notification="AUTHENTICATE_REQUEST", fIsPostNotification="false" 19:02:16.701
37. AUTH_START AuthTypeSupported="MapCliCert" 19:02:16.701
38. AUTH_END 19:02:16.701
39. — NOTIFY_MODULE_END ModuleName="CertificateMappingAuthenticationModule", Notification="AUTHENTICATE_REQUEST", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE" 19:02:16.701
40. — NOTIFY_MODULE_START ModuleName="BasicAuthenticationModule", Notification="AUTHENTICATE_REQUEST", fIsPostNotification="false" 19:02:16.701
41. AUTH_START AuthTypeSupported="Basic" 19:02:16.701
42. AUTH_END 19:02:16.701
43. — NOTIFY_MODULE_END ModuleName="BasicAuthenticationModule", Notification="AUTHENTICATE_REQUEST", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE" 19:02:16.701
44. — NOTIFY_MODULE_START ModuleName="WindowsAuthenticationModule", Notification="AUTHENTICATE_REQUEST", fIsPostNotification="false" 19:02:16.701
45. AUTH_START AuthTypeSupported="NT" 19:02:16.701
46. AUTH_END 19:02:16.701
47. — NOTIFY_MODULE_END ModuleName="WindowsAuthenticationModule", Notification="AUTHENTICATE_REQUEST", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE" 19:02:16.701
48. — NOTIFY_MODULE_START ModuleName="DigestAuthenticationModule", Notification="AUTHENTICATE_REQUEST", fIsPostNotification="false" 19:02:16.701
49. AUTH_START AuthTypeSupported="Digest" 19:02:16.701
50. AUTH_END 19:02:16.701
51. — NOTIFY_MODULE_END ModuleName="DigestAuthenticationModule", Notification="AUTHENTICATE_REQUEST", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE" 19:02:16.701
52. — NOTIFY_MODULE_START ModuleName="IISCertificateMappingAuthenticationModule", Notification="AUTHENTICATE_REQUEST", fIsPostNotification="false" 19:02:16.701
53. AUTH_START AuthTypeSupported="MapCliCert" 19:02:16.701
54. AUTH_END 19:02:16.701
55. — NOTIFY_MODULE_END ModuleName="IISCertificateMappingAuthenticationModule", Notification="AUTHENTICATE_REQUEST", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE" 19:02:16.701
56. — NOTIFY_MODULE_START ModuleName="AnonymousAuthenticationModule", Notification="AUTHENTICATE_REQUEST", fIsPostNotification="false" 19:02:16.701
57. AUTH_START AuthTypeSupported="Anonymous" 19:02:16.701
58. AUTH_REQUEST_AUTH_TYPE RequestAuthType="Anonymous" 19:02:16.701
59. AUTH_SUCCEEDED AuthType="NT", NTLMUsed="false", RemoteUserName="", AuthUserName="", TokenImpersonationLevel="ImpersonationImpersonate" 19:02:16.701
60. USER_SET AuthType="", UserName="", SupportsIsInRole="true" 19:02:16.701
61. AUTH_END 19:02:16.701
62. — NOTIFY_MODULE_END ModuleName="AnonymousAuthenticationModule", Notification="AUTHENTICATE_REQUEST", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE" 19:02:16.701
63. — NOTIFY_MODULE_START ModuleName="IsapiFilterModule", Notification="AUTHENTICATE_REQUEST", fIsPostNotification="true" 19:02:16.701
64. FILTER_AUTH_COMPLETE_START 19:02:16.701
65. FILTER_AUTH_COMPLETE_END 19:02:16.701
66. — NOTIFY_MODULE_END ModuleName="IsapiFilterModule", Notification="AUTHENTICATE_REQUEST", fIsPostNotificationEvent="true", NotificationStatus="NOTIFICATION_CONTINUE" 19:02:16.701
67. FILE_CACHE_ACCESS_START FileName="C:\inetpub\wwwroot\KendallCountyTX\www\taxes", UserName="IUSR", DomainName="NT AUTHORITY" 19:02:16.701
68. FILE_CACHE_ACCESS_END Successful="false", FileFromCache="false", FileAddedToCache="false", FileDirmoned="true", LastModCheckErrorIgnored="true", ErrorCode="The system cannot find the file specified.
(0x80070002)", LastModifiedTime="" 19:02:16.701
69. — NOTIFY_MODULE_START ModuleName="UrlAuthorizationModule", Notification="AUTHORIZE_REQUEST", fIsPostNotification="false" 19:02:16.701
70. — NOTIFY_MODULE_END ModuleName="UrlAuthorizationModule", Notification="AUTHORIZE_REQUEST", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE" 19:02:16.701
71. — NOTIFY_MODULE_START ModuleName="HttpCacheModule", Notification="RESOLVE_REQUEST_CACHE", fIsPostNotification="false" 19:02:16.701
72. OUTPUT_CACHE_LOOKUP_START 19:02:16.701
73. OUTPUT_CACHE_LOOKUP_END Result="NOT_FOUND" 19:02:16.701
74. — NOTIFY_MODULE_END ModuleName="HttpCacheModule", Notification="RESOLVE_REQUEST_CACHE", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE" 19:02:16.701
75. — NOTIFY_MODULE_START ModuleName="StaticCompressionModule", Notification="MAP_REQUEST_HANDLER", fIsPostNotification="false" 19:02:16.701
76. — NOTIFY_MODULE_END ModuleName="StaticCompressionModule", Notification="MAP_REQUEST_HANDLER", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE" 19:02:16.701
77. — NOTIFY_MODULE_START ModuleName="HttpRedirectionModule", Notification="MAP_REQUEST_HANDLER", fIsPostNotification="false" 19:02:16.701
78. — NOTIFY_MODULE_END ModuleName="HttpRedirectionModule", Notification="MAP_REQUEST_HANDLER", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE" 19:02:16.701
79. — NOTIFY_MODULE_START ModuleName="WebDAVModule", Notification="MAP_REQUEST_HANDLER", fIsPostNotification="false" 19:02:16.701
80. — NOTIFY_MODULE_END ModuleName="WebDAVModule", Notification="MAP_REQUEST_HANDLER", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE" 19:02:16.701
81. r MODULE_SET_RESPONSE_ERROR_STATUS
Warning ModuleName="IIS Web Core", Notification="MAP_REQUEST_HANDLER", HttpStatus="404", HttpReason="Not Found", HttpSubStatus="0", ErrorCode="The system cannot find the file specified.
(0x80070002)", ConfigExceptionInfo="" 19:02:16.701
82. — NOTIFY_MODULE_START ModuleName="CustomLoggingModule", Notification="LOG_REQUEST", fIsPostNotification="false" 19:02:16.701
83. — NOTIFY_MODULE_END ModuleName="CustomLoggingModule", Notification="LOG_REQUEST", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE" 19:02:16.701
84. — NOTIFY_MODULE_START ModuleName="WebDAVModule", Notification="SEND_RESPONSE", fIsPostNotification="false" 19:02:16.701
85. — NOTIFY_MODULE_END ModuleName="WebDAVModule", Notification="SEND_RESPONSE", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE" 19:02:16.701
86. — NOTIFY_MODULE_START ModuleName="HttpLoggingModule", Notification="SEND_RESPONSE", fIsPostNotification="false" 19:02:16.701
87. — NOTIFY_MODULE_END ModuleName="HttpLoggingModule", Notification="SEND_RESPONSE", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE" 19:02:16.701
88. — NOTIFY_MODULE_START ModuleName="IsapiModule", Notification="SEND_RESPONSE", fIsPostNotification="false" 19:02:16.701
89. — NOTIFY_MODULE_END ModuleName="IsapiModule", Notification="SEND_RESPONSE", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE" 19:02:16.701
90. — NOTIFY_MODULE_START ModuleName="DigestAuthenticationModule", Notification="SEND_RESPONSE", fIsPostNotification="false" 19:02:16.701
91. — NOTIFY_MODULE_END ModuleName="DigestAuthenticationModule", Notification="SEND_RESPONSE", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE" 19:02:16.701
92. — NOTIFY_MODULE_START ModuleName="WindowsAuthenticationModule", Notification="SEND_RESPONSE", fIsPostNotification="false" 19:02:16.701
93. — NOTIFY_MODULE_END ModuleName="WindowsAuthenticationModule", Notification="SEND_RESPONSE", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE" 19:02:16.701
94. — NOTIFY_MODULE_START ModuleName="BasicAuthenticationModule", Notification="SEND_RESPONSE", fIsPostNotification="false" 19:02:16.701
95. — NOTIFY_MODULE_END ModuleName="BasicAuthenticationModule", Notification="SEND_RESPONSE", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE" 19:02:16.701
96. — NOTIFY_MODULE_START ModuleName="ProtocolSupportModule", Notification="SEND_RESPONSE", fIsPostNotification="false" 19:02:16.701
97. — NOTIFY_MODULE_END ModuleName="ProtocolSupportModule", Notification="SEND_RESPONSE", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE" 19:02:16.701
98. — NOTIFY_MODULE_START ModuleName="IsapiFilterModule", Notification="SEND_RESPONSE", fIsPostNotification="false" 19:02:16.701
99. FILTER_SEND_RESPONSE_START HttpStatus="404" 19:02:16.701
100. FILTER_START FilterName="C:\MyProjects\GAHelper Project - Testing\x64\Release\GAHelper.dll" 19:02:16.701
101. FILTER_END NotificationStatus="SF_STATUS_REQ_NEXT_NOTIFICATION" 19:02:16.701
102. FILTER_SEND_RESPONSE_END 19:02:16.701
103. FILTER_SEND_RAW_DATA_START 19:02:16.701
104. FILTER_START FilterName="C:\MyProjects\GAHelper Project - Testing\x64\Release\GAHelper.dll" 19:02:16.701
105. FILTER_END NotificationStatus="SF_STATUS_REQ_NEXT_NOTIFICATION" 19:02:16.701
106. FILTER_SEND_RAW_DATA_END 19:02:16.701
107. FILTER_END_OF_REQUEST_START 19:02:16.701
108. FILTER_START FilterName="C:\MyProjects\GAHelper Project - Testing\x64\Release\GAHelper.dll" 19:02:16.701
109. FILTER_END NotificationStatus="SF_STATUS_REQ_NEXT_NOTIFICATION" 19:02:16.701
110. FILTER_END_OF_REQUEST_END 19:02:16.701
111. — NOTIFY_MODULE_END ModuleName="IsapiFilterModule", Notification="SEND_RESPONSE", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE" 19:02:16.701
112. — NOTIFY_MODULE_START ModuleName="DynamicCompressionModule", Notification="SEND_RESPONSE", fIsPostNotification="false" 19:02:16.701
113. — NOTIFY_MODULE_END ModuleName="DynamicCompressionModule", Notification="SEND_RESPONSE", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE" 19:02:16.701
114. — NOTIFY_MODULE_START ModuleName="HttpCacheModule", Notification="SEND_RESPONSE", fIsPostNotification="false" 19:02:16.701
115. — NOTIFY_MODULE_END ModuleName="HttpCacheModule", Notification="SEND_RESPONSE", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE" 19:02:16.701
116. — NOTIFY_MODULE_START ModuleName="CustomErrorModule", Notification="SEND_RESPONSE", fIsPostNotification="false" 19:02:16.701
117. — NOTIFY_MODULE_END ModuleName="CustomErrorModule", Notification="SEND_RESPONSE", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE" 19:02:16.701
118. GENERAL_FLUSH_RESPONSE_START 19:02:16.701
119. — GENERAL_RESPONSE_ENTITY_BUFFER Buffer="HTTP/1.1 404 Not Found
Content-Length: 0
Server: Microsoft-IIS/7.5
X-Powered-By: ASP.NET" 19:02:16.701
120. GENERAL_FLUSH_RESPONSE_END BytesSent="95", ErrorCode="The operation completed successfully.
(0x0)" 19:02:16.701
121. GENERAL_REQUEST_END BytesSent="95", BytesReceived="620", HttpStatus="404", HttpSubStatus="0" 19:02:16.701
Wednesday, August 3, 2011 3:05 PM -
User-248641251 posted
Tried that, still didn't work :-( The following is the failed request log for the request.
Where I am seeing a problem is that the CustomErrorModule never seems to load... but I can't figure out why...
116. - NOTIFY_MODULE_START ModuleName="CustomErrorModule", Notification="SEND_RESPONSE", fIsPostNotification="false" 19:02:16.701
117. - NOTIFY_MODULE_END ModuleName="CustomErrorModule", Notification="SEND_RESPONSE", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE" 19:02:16.701
118. GENERAL_FLUSH_RESPONSE_START 19:02:16.701
119. - GENERAL_RESPONSE_ENTITY_BUFFER Buffer="HTTP/1.1 404 Not Found
Content-Length: 0
Server: Microsoft-IIS/7.5
X-Powered-By: ASP.NET
" 19:02:16.701
120. GENERAL_FLUSH_RESPONSE_END BytesSent="95", ErrorCode="The operation completed successfully.
(0x0)" 19:02:16.701
121. GENERAL_REQUEST_END BytesSent="95", BytesReceived="620", HttpStatus="404", HttpSubStatus="0" 19:02:16.701
IMO, CustomErrorModule changes response.
At least trace showes it.
Don't know how it can do it if it's "never get loaded".
You can disable CustomErrorModule (and confirm with trace) to see if it changes anything.Wednesday, August 3, 2011 3:43 PM -
User45572240 posted
I tried disabling it and received the same response.
From what I can see, the CustomErrorModule is what loads the custom 404 page.
When the ISAPI filter is turned off the trace looks like this. Notice the CustomErrorModule NOTIFY_MODULE_START and then it proceeds to load the 404 page (test.aspx) which the above trace does not do.
186. — NOTIFY_MODULE_START ModuleName="CustomErrorModule", Notification="SEND_RESPONSE", fIsPostNotification="false" 17:30:39.623
187. GENERAL_SEND_CUSTOM_ERROR HttpStatus="404", HttpSubStatus="0", FileNameOrURL="/test.aspx" 17:30:39.623
188. GENERAL_CHILD_REQUEST_START SiteId="39", RequestURL="http://test.andy.me:80/test.aspx?404;http://test.andy.me:80/taxes", RequestVerb="GET", RecursiveLevel="1" 17:30:39.623
189. GENERAL_REQUEST_START SiteId="39", AppPoolId="Test 4.0", ConnId="1610612909", RawConnId="0", RequestURL="http://test.andy.me:80/test.aspx?404;http://test.andy.me:80/taxes", RequestVerb="GET"
Wednesday, August 3, 2011 4:05 PM -
User-248641251 posted
I tried disabling it and received the same response.
All I can tell - CustomErrorModule is the cause.I assume, it's integrated pipeline, right?
Get fresh computer or VM, put simple an aspx page returning 404 status and some custom text.
Open page - you'll get 404 without your custom textChange
<configuration>
<system.webServer>
<httpErrors existingResponse="PassThrough" />Open page again - you'll get 404 with your custom text
Once you make it work, bring your ISAPI filter into picture.
Wednesday, August 3, 2011 7:32 PM -
User1866599147 posted
I couldn't find a solution to this issue, so as a workaround I'm sending a custom Site Access denied message with HTTP 404, instead of 403. This serves the purpose and my custom message appears. In my original post, I mentioned that this problem appears in case of 404 and 403. But when I checked today, the problem came only for a 403. Probably I made a mistake when making the first post. I tried the solutions given above and by setting existingResponse to "PassThrough", the problem was not solved. However I also stopped getting the regular IIS message which i used to get with my filter removed. Also removing the CustomErrorModule didn't help fix the issue.Thursday, August 4, 2011 4:49 AM -
User-1598853383 posted
I might be on the wrong track, but still I think it is worth a try to inform you. I got blank pages on my new IIS website when I browsed for a non-existing page. I wanted to get a 404 error screen though.
I executed the following steps;
*. Open the control panel of Windows (in my case Windows 10 Home Version 10.0.15063)
*. Choose Programs and Features
(The Windows Features window should now be opened)
*. Open Internet Information Services
*. Open World Wide Web Services
*. Open Common HTTP Features
*. Set HTTP Errors to on
*. Touch button OKFor us Dutch only:
Ik heb de volgende stappen uitgevoerd;
*. Open het configuratiescherm van Windows (in mijn geval Windows 10 Home Versie 10.0.15063)
*. Kies Windows-onderdelen in- of uitschakelen
(Venster Windows-onderdelen moet nu getoond zijn)
*. Open Internet Information Services
*. Open World Wide Web-services
*. Open Veelvoorkomende HTTP-functies
*. Vink HTTP-fouten aan
*. Raak knop OK aanWednesday, July 19, 2017 12:52 PM -
User1295159516 posted
have some trouble :(
99 domino onlineMonday, July 2, 2018 4:59 AM