asp.net - mvc 4.5 configuration error with iis7.5 -
i have mvc application in .net 4.5. it's working fine while dbuging within visual studio 2012. when try configure iis 7.5 throws exception.
error detail copied evetviewer: ======================================= event code: 3005 event message: unhandled exception has occurred. event time: 10/7/2013 11:54:01 event time (utc): 10/7/2013 6:54:01 event id: b6afc0d906c1479394fd92e0989b40b5 event sequence: 4 event occurrence: 1 event detail code: 0 exception information: exception type: nullreferenceexception exception message: object reference not set instance of object. @ system.web.mvc.authorizeattribute.authorizecore(httpcontextbase httpcontext) @ system.web.mvc.authorizeattribute.onauthorization(authorizationcontext filtercontext) @ system.web.mvc.controlleractioninvoker.invokeauthorizationfilters(controllercontext controllercontext, ilist`1 filters, actiondescriptor actiondescriptor) @ system.web.mvc.async.asynccontrolleractioninvoker.<>c__displayclass25.<begininvokeaction>b__1e(asynccallback asynccallback, object asyncstate) @ system.web.mvc.async.asyncresultwrapper.wrappedasyncresult`1.begin(asynccallback callback, object state, int32 timeout) @ system.web.mvc.async.asyncresultwrapper.begin[tresult](asynccallback callback, object state, begininvokedelegate begindelegate, endinvokedelegate`1 enddelegate, object tag, int32 timeout) @ system.web.mvc.async.asyncresultwrapper.begin[tresult](asynccallback callback, object state, begininvokedelegate begindelegate, endinvokedelegate`1 enddelegate, object tag) @ system.web.mvc.controller.<>c__displayclass1d.<beginexecutecore>b__17(asynccallback asynccallback, object asyncstate) @ system.web.mvc.async.asyncresultwrapper.wrappedasyncresult`1.begin(asynccallback callback, object state, int32 timeout) @ system.web.mvc.async.asyncresultwrapper.begin[tresult](asynccallback callback, object state, begininvokedelegate begindelegate, endinvokedelegate`1 enddelegate, object tag, int32 timeout) @ system.web.mvc.controller.beginexecutecore(asynccallback callback, object state) @ system.web.mvc.async.asyncresultwrapper.wrappedasyncresult`1.begin(asynccallback callback, object state, int32 timeout) @ system.web.mvc.async.asyncresultwrapper.begin[tresult](asynccallback callback, object state, begininvokedelegate begindelegate, endinvokedelegate`1 enddelegate, object tag, int32 timeout) @ system.web.mvc.async.asyncresultwrapper.begin(asynccallback callback, object state, begininvokedelegate begindelegate, endinvokedelegate enddelegate, object tag) @ system.web.mvc.controller.beginexecute(requestcontext requestcontext, asynccallback callback, object state) @ system.web.mvc.mvchandler.<>c__displayclass8.<beginprocessrequest>b__2(asynccallback asynccallback, object asyncstate) @ system.web.mvc.async.asyncresultwrapper.wrappedasyncresult`1.begin(asynccallback callback, object state, int32 timeout) @ system.web.mvc.async.asyncresultwrapper.begin[tresult](asynccallback callback, object state, begininvokedelegate begindelegate, endinvokedelegate`1 enddelegate, object tag, int32 timeout) @ system.web.mvc.async.asyncresultwrapper.begin(asynccallback callback, object state, begininvokedelegate begindelegate, endinvokedelegate enddelegate, object tag) @ system.web.mvc.mvchandler.beginprocessrequest(httpcontextbase httpcontext, asynccallback callback, object state) @ system.web.httpapplication.callhandlerexecutionstep.system.web.httpapplication.iexecutionstep.execute() @ system.web.httpapplication.executestep(iexecutionstep step, boolean& completedsynchronously) thread information: thread id: 32 thread account name: iis apppool\members-new impersonating: false stack trace: @ system.web.mvc.authorizeattribute.authorizecore(httpcontextbase httpcontext) @ system.web.mvc.authorizeattribute.onauthorization(authorizationcontext filtercontext) @ system.web.mvc.controlleractioninvoker.invokeauthorizationfilters(controllercontext controllercontext, ilist`1 filters, actiondescriptor actiondescriptor) @ system.web.mvc.async.asynccontrolleractioninvoker.<>c__displayclass25.<begininvokeaction>b__1e(asynccallback asynccallback, object asyncstate) @ system.web.mvc.async.asyncresultwrapper.wrappedasyncresult`1.begin(asynccallback callback, object state, int32 timeout) @ system.web.mvc.async.asyncresultwrapper.begin[tresult](asynccallback callback, object state, begininvokedelegate begindelegate, endinvokedelegate`1 enddelegate, object tag, int32 timeout) @ system.web.mvc.async.asyncresultwrapper.begin[tresult](asynccallback callback, object state, begininvokedelegate begindelegate, endinvokedelegate`1 enddelegate, object tag) @ system.web.mvc.controller.<>c__displayclass1d.<beginexecutecore>b__17(asynccallback asynccallback, object asyncstate) @ system.web.mvc.async.asyncresultwrapper.wrappedasyncresult`1.begin(asynccallback callback, object state, int32 timeout) @ system.web.mvc.async.asyncresultwrapper.begin[tresult](asynccallback callback, object state, begininvokedelegate begindelegate, endinvokedelegate`1 enddelegate, object tag, int32 timeout) @ system.web.mvc.controller.beginexecutecore(asynccallback callback, object state) @ system.web.mvc.async.asyncresultwrapper.wrappedasyncresult`1.begin(asynccallback callback, object state, int32 timeout) @ system.web.mvc.async.asyncresultwrapper.begin[tresult](asynccallback callback, object state, begininvokedelegate begindelegate, endinvokedelegate`1 enddelegate, object tag, int32 timeout) @ system.web.mvc.async.asyncresultwrapper.begin(asynccallback callback, object state, begininvokedelegate begindelegate, endinvokedelegate enddelegate, object tag) @ system.web.mvc.controller.beginexecute(requestcontext requestcontext, asynccallback callback, object state) @ system.web.mvc.mvchandler.<>c__displayclass8.<beginprocessrequest>b__2(asynccallback asynccallback, object asyncstate) @ system.web.mvc.async.asyncresultwrapper.wrappedasyncresult`1.begin(asynccallback callback, object state, int32 timeout) @ system.web.mvc.async.asyncresultwrapper.begin[tresult](asynccallback callback, object state, begininvokedelegate begindelegate, endinvokedelegate`1 enddelegate, object tag, int32 timeout) @ system.web.mvc.async.asyncresultwrapper.begin(asynccallback callback, object state, begininvokedelegate begindelegate, endinvokedelegate enddelegate, object tag) @ system.web.mvc.mvchandler.beginprocessrequest(httpcontextbase httpcontext, asynccallback callback, object state) @ system.web.httpapplication.callhandlerexecutionstep.system.web.httpapplication.iexecutionstep.execute() @ system.web.httpapplication.executestep(iexecutionstep step, boolean& completedsynchronously) custom event details:
Comments
Post a Comment