asp.net - Object reference not set to an instance of an object. IE issue -


i developed website in asp.net , works fine in browsers except ie error "object reference not set instance of object".

in local machine works fine, error after publish server.

any ideas how solve issue?

here stack trace get:

server error in '/web' application. --------------------------------------------------------------------------------   object reference not set instance of object.    description: unhandled exception occurred during execution of current web request. please review stack trace more information error , originated in code.    exception details: system.nullreferenceexception: object reference not set instance of object.  source error:     unhandled exception generated during execution of current web request. information regarding origin , location of exception can identified using exception stack trace below.    stack trace:     [nullreferenceexception: object reference not set instance of object.]    a2apay.web.controllers.membercontroller.membercreate() in c:\users\aiman\documents\visual studio 11\projects\a2apay3\a2apay.web\controllers\membercontroller.cs:98    lambda_method(closure , controllerbase , object[] ) +62    system.web.mvc.actionmethoddispatcher.execute(controllerbase controller, object[] parameters) +14    system.web.mvc.reflectedactiondescriptor.execute(controllercontext controllercontext, idictionary`2 parameters) +211    system.web.mvc.controlleractioninvoker.invokeactionmethod(controllercontext controllercontext, actiondescriptor actiondescriptor, idictionary`2 parameters) +27    system.web.mvc.async.<>c__displayclass42.<begininvokesynchronousactionmethod>b__41() +28    system.web.mvc.async.<>c__displayclass8`1.<beginsynchronous>b__7(iasyncresult _) +10    system.web.mvc.async.wrappedasyncresult`1.end() +57    system.web.mvc.async.asynccontrolleractioninvoker.endinvokeactionmethod(iasyncresult asyncresult) +48    system.web.mvc.async.<>c__displayclass39.<begininvokeactionmethodwithfilters>b__33() +57    system.web.mvc.async.<>c__displayclass4f.<invokeactionmethodfilterasynchronously>b__49() +223    system.web.mvc.async.<>c__displayclass37.<begininvokeactionmethodwithfilters>b__36(iasyncresult asyncresult) +10    system.web.mvc.async.wrappedasyncresult`1.end() +57    system.web.mvc.async.asynccontrolleractioninvoker.endinvokeactionmethodwithfilters(iasyncresult asyncresult) +48    system.web.mvc.async.<>c__displayclass2a.<begininvokeaction>b__20() +24    system.web.mvc.async.<>c__displayclass25.<begininvokeaction>b__22(iasyncresult asyncresult) +102    system.web.mvc.async.wrappedasyncresult`1.end() +57    system.web.mvc.async.asynccontrolleractioninvoker.endinvokeaction(iasyncresult asyncresult) +43    system.web.mvc.<>c__displayclass1d.<beginexecutecore>b__18(iasyncresult asyncresult) +14    system.web.mvc.async.<>c__displayclass4.<makevoiddelegate>b__3(iasyncresult ar) +23    system.web.mvc.async.wrappedasyncresult`1.end() +62    system.web.mvc.controller.endexecutecore(iasyncresult asyncresult) +57    system.web.mvc.async.<>c__displayclass4.<makevoiddelegate>b__3(iasyncresult ar) +23    system.web.mvc.async.wrappedasyncresult`1.end() +62    system.web.mvc.controller.endexecute(iasyncresult asyncresult) +47    system.web.mvc.controller.system.web.mvc.async.iasynccontroller.endexecute(iasyncresult asyncresult) +10    system.web.mvc.<>c__displayclassb.<beginprocessrequest>b__4(iasyncresult asyncresult) +25    system.web.mvc.async.<>c__displayclass4.<makevoiddelegate>b__3(iasyncresult ar) +23    system.web.mvc.async.wrappedasyncresult`1.end() +62    system.web.mvc.<>c__displayclasse.<endprocessrequest>b__d() +48    system.web.mvc.securityutil.<getcallinapptrustthunk>b__0(action f) +7    system.web.mvc.securityutil.processinapplicationtrust(action action) +22    system.web.mvc.mvchandler.endprocessrequest(iasyncresult asyncresult) +60    system.web.mvc.mvchandler.system.web.ihttpasynchandler.endprocessrequest(iasyncresult result) +9    system.web.callhandlerexecutionstep.system.web.httpapplication.iexecutionstep.execute() +9615056    system.web.httpapplication.executestep(iexecutionstep step, boolean& completedsynchronously) +155 

i think answer here: https://stackoverflow.com/a/1635766/538387

  • have disabled cookie in ie?
  • do setup ie in high security level?

Comments

Popular posts from this blog

c# - SVN Error : "svnadmin: E205000: Too many arguments" -

c# - Copy ObservableCollection to another ObservableCollection -

All overlapping substrings matching a java regex -