Hi
We have just migrated from IIS6 to IIS7. We have a number of ASP.NET apps running on the server.
We are experiencing problems with one of them.
When we enter ourdomain.com/site1/ in the browser, everything works as expected. The site is loaded etc. But if we leave out the trailing slash we get an exception:
System.Web.HttpException: Failed to Execute URL.
at System.Web.Hosting.
ISAPIWorkerRequestInProcForIIS6.BeginExecuteUrl(String
url, String method, String childHeaders, Boolean sendHeaders, Boolean
addUserIndo, IntPtr token, String name, String authType, Byte[] entity,
AsyncCallback cb, Object state)
at System.Web.HttpResponse.BeginExecuteUrlForEntireResponse(String pathOverride, NameValueCollection requestHeaders, AsyncCallback cb, Object state)
at System.Web.DefaultHttpHandler.BeginProcessRequest(HttpContext context, AsyncCallback callback, Object state)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
This particular app is an ASP.NET Webforms app with its managed pipeline set to classic mode. This worked on II6 without any issues.