Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

elmah.mvc in mvc4 + visual basic project #16

Closed
kkbruce opened this Issue · 3 comments

2 participants

@kkbruce

My project is
1. Visual Studio 2012 RC
2. Visual Basic
3. ASP.NET MVC 4, Internet

I run elmah.mvc in my Visual Basic + mvc4 project (url http://localhost:3302/elmah), will have a stylesheet Error. (C# project is great)
Can you fix it?

Details Log:

A public action method 'stylesheet' was not found on controller 'Elmah.Mvc.ElmahController'.
Errors
Help
About
System.Web.HttpException: A public action method 'stylesheet' was not found on controller 'Elmah.Mvc.ElmahController'.

System.Web.HttpException (0x80004005): A public action method 'stylesheet' was not found on controller 'Elmah.Mvc.ElmahController'.
於 System.Web.Mvc.Controller.HandleUnknownAction(String actionName)
於 System.Web.Mvc.Controller.<>c__DisplayClass1d.b__18(IAsyncResult asyncResult)
於 System.Web.Mvc.Async.AsyncResultWrapper.<>c__DisplayClass4.b__3(IAsyncResult ar)
於 System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult1.End()
於 System.Web.Mvc.Controller.EndExecuteCore(IAsyncResult asyncResult)
於 System.Web.Mvc.Async.AsyncResultWrapper.<>c__DisplayClass4.<MakeVoidDelegate>b__3(IAsyncResult ar)
於 System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult
1.End()
於 System.Web.Mvc.Controller.EndExecute(IAsyncResult asyncResult)
於 System.Web.Mvc.Controller.System.Web.Mvc.Async.IAsyncController.EndExecute(IAsyncResult asyncResult)
於 System.Web.Mvc.MvcHandler.<>c__DisplayClass6.<>c__DisplayClassb.b__4(IAsyncResult asyncResult)
於 System.Web.Mvc.Async.AsyncResultWrapper.<>c__DisplayClass4.b__3(IAsyncResult ar)
於 System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult`1.End()
於 System.Web.Mvc.MvcHandler.<>c__DisplayClasse.b__d()
於 System.Web.Mvc.SecurityUtil.b__0(Action f)
於 System.Web.Mvc.SecurityUtil.ProcessInApplicationTrust(Action action)
於 System.Web.Mvc.MvcHandler.EndProcessRequest(IAsyncResult asyncResult)
於 System.Web.Mvc.MvcHandler.System.Web.IHttpAsyncHandler.EndProcessRequest(IAsyncResult result)
於 System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
於 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
Logged on 2012年8月10日 at 下午 04:46:17

See also:

Raw/Source data in XML or in JSON
Server Variables

Name Value
ALL_HTTP HTTP_CONNECTION:Keep-Alive HTTP_ACCEPT:text/css HTTP_ACCEPT_ENCODING:gzip, deflate HTTP_ACCEPT_LANGUAGE:zh-TW HTTP_HOST:localhost:3302 HTTP_REFERER:http://localhost:3302/elmah HTTP_USER_AGENT:Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)

ALL_RAW Connection: Keep-Alive Accept: text/css Accept-Encoding: gzip, deflate Accept-Language: zh-TW Host: localhost:3302 Referer: http://localhost:3302/elmah User-Agent: Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)

APPL_MD_PATH /LM/W3SVC/7/ROOT
APPL_PHYSICAL_PATH D:\CodeTest\VS11\MVC4\MvcApplication1\MvcApplication1\
AUTH_PASSWORD *****
AUTH_TYPE

AUTH_USER

CERT_COOKIE

CERT_FLAGS

CERT_ISSUER

CERT_KEYSIZE

CERT_SECRETKEYSIZE

CERT_SERIALNUMBER

CERT_SERVER_ISSUER

CERT_SERVER_SUBJECT

CERT_SUBJECT

CONTENT_LENGTH 0
CONTENT_TYPE

GATEWAY_INTERFACE CGI/1.1
HTTP_ACCEPT text/css
HTTP_ACCEPT_ENCODING gzip, deflate
HTTP_ACCEPT_LANGUAGE zh-TW
HTTP_CONNECTION Keep-Alive
HTTP_HOST localhost:3302
HTTP_REFERER http://localhost:3302/elmah
HTTP_USER_AGENT Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)
HTTPS off
HTTPS_KEYSIZE

HTTPS_SECRETKEYSIZE

HTTPS_SERVER_ISSUER

HTTPS_SERVER_SUBJECT

INSTANCE_ID 7
INSTANCE_META_PATH /LM/W3SVC/7
LOCAL_ADDR ::1
LOGON_USER

PATH_INFO /elmah/stylesheet
PATH_TRANSLATED D:\CodeTest\VS11\MVC4\MvcApplication1\MvcApplication1\elmah\stylesheet
QUERY_STRING

REMOTE_ADDR ::1
REMOTE_HOST ::1
REMOTE_PORT 12201
REMOTE_USER

REQUEST_METHOD GET
SCRIPT_NAME /elmah/stylesheet
SERVER_NAME localhost
SERVER_PORT 3302
SERVER_PORT_SECURE 0
SERVER_PROTOCOL HTTP/1.1
SERVER_SOFTWARE Microsoft-IIS/8.0
URL /elmah/stylesheet

Powered by ELMAH, version 1.2.14706.955. Copyright (c) 2004, Atif Aziz. All rights reserved. Licensed under Apache License, Version 2.0. Server date is Friday, 10 August 2012. Server time is 16:47:59. All dates and times displayed are in the 台北標準時間 zone. This log is provided by the XML File-Based Error Log.

@alexbeletsky

The issue is clear. It's planned, I hope to release fix soon.

@kkbruce
  1. Thanks your fix.
  2. Thanks you provide great elmah.mvc for everyone.
@kkbruce kkbruce closed this
@alexbeletsky alexbeletsky reopened this
@alexbeletsky

It's done - you are welcome to test :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.