Re: ASP.NET 2.0: System.Web.HttpException: Path 'OPTIONS' is forbidden

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



They look like verbs that are refused by IIS because they do not have an
association setup in IIS. You can look at the IIS Log and gather more
information as to the request that was refused and post that here.

Regards,

Trevor Benedict R
MCSD

"dpomt" <dpomt@xxxxxxxxxxxxxxxxx> wrote in message
news:5CC541E8-0360-41DB-8EA2-C5BA88CE1994@xxxxxxxxxxxxxxxx
I have overwritten Application_Error in my GlobalAsax to handle errors.
From time to time, I am getting exceptions I have never seen before (see
below).

What do this exceptions mean? Why are they generated?
Any help would be greatly appreciated.

Dieter



------------------------------------------------------------
System.Web.HttpException: Path 'OPTIONS' is forbidden.
at System.Web.HttpMethodNotAllowedHandler.ProcessRequest(HttpContext
context)
at
System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&
completedSynchronously)
------------------------------------------------------------

Instead of 'OPTIONS', I also retrieve 'PROPPATCH', 'MKCOL', 'PROPPATCH',
'PROPFIND' and some more.


----entry in Application event log--------------------------

Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 20.02.2006 23:51:13
Event time (UTC): 20.02.2006 22:51:13
Event ID: 6c0c170c49ce4b1c835f43bb5545eae2
Event sequence: 37024
Event occurrence: 73
Event detail code: 0

Application information:
Application domain: /LM/W3SVC/512649521/Root-1-127848542499800179
Trust level: Full
Application Virtual Path: /
Application Path: ...
Machine name: ...

Process information:
Process ID: 1412
Process name: w3wp.exe
Account name: NT-AUTORITÄT\NETZWERKDIENST

Exception information:
Exception type: HttpException
Exception message: Path 'OPTIONS' is forbidden.

Request information:
Request URL: http://.../
Request path: /
User host address: ...
User:
Is authenticated: False
Authentication Type:
Thread account name: NT-AUTORITÄT\NETZWERKDIENST

Thread information:
Thread ID: 5
Thread account name: NT-AUTORITÄT\NETZWERKDIENST
Is impersonating: False
Stack trace: at
System.Web.HttpMethodNotAllowedHandler.ProcessRequest(HttpContext context)
at
System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&
completedSynchronously)


Custom event details:

Weitere Informationen über die Hilfe- und Supportdienste erhalten Sie
unter
http://go.microsoft.com/fwlink/events.asp.

------------------------------------------------------------


.



Relevant Pages

  • ASP.NET keeps forcing us to restart IIS
    ... Event code: 3003 ... Exception type: HttpRequestValidationException ... Request URL: http://store.windward.net/register.aspx ... Thread account name: NT AUTHORITY\NETWORK SERVICE ...
    (microsoft.public.dotnet.framework.aspnet)
  • RE: ASP.NET keeps forcing us to restart IIS
    ... coded your site to prevent injection attacks, then you can turn off request ... Exception type: HttpRequestValidationException ... Thread account name: NT AUTHORITY\NETWORK SERVICE ... includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) ...
    (microsoft.public.dotnet.framework.aspnet)
  • RE: Help Help. I really need some help with this
    ... Dim _list As New Generic.List(Of String) ... An unhandled exception has occurred. ... Thread account name: NT AUTHORITY\NETWORK SERVICE ... Object value, CacheDependency dependency, CacheItemRemovedCallback ...
    (microsoft.public.dotnet.framework.aspnet)
  • Rejected Safe Mode action : Microsoft Office Outlook.
    ... An unhandled exception has occurred. ... Request URL: http://localhost/Default.aspx ... Thread account name: TECHSERV2000\Dkandersack ... sourceControl, String eventArgument) ...
    (microsoft.public.office.developer.outlook.vba)
  • RE: Help Help. I really need some help with this
    ... An unhandled exception has occurred. ... Thread account name: NT AUTHORITY\NETWORK SERVICE ... Object value, CacheDependency dependency, CacheItemRemovedCallback ... utcAbsoluteExpiration, TimeSpan slidingExpiration, CacheItemPriority ...
    (microsoft.public.dotnet.framework.aspnet)