“/”应用程序中的服务器错误。

值不能为 null 或为空。
参数名: url

说明: 执行当前 web 请求期间,出现未经处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。

异常详细信息: system.argumentexception: 值不能为 null 或为空。
参数名: url

源错误:

执行当前 web 请求期间生成了未经处理的异常。可以使用下面的异常堆栈跟踪信息确定有关异常原因和发生位置的信息。

堆栈跟踪:

[argumentexception: 值不能为 null 或为空。
参数名: url]
   system.web.mvc.controller.redirect(string url) +138
   mvcapp.controllers.homecontroller.changeculture(string lang, string returnurl) +297
   lambda_method(closure , controllerbase , object[] ) +191
   system.web.mvc.reflectedactiondescriptor.execute(controllercontext controllercontext, idictionary`2 parameters) +255
   system.web.mvc.controlleractioninvoker.invokeactionmethod(controllercontext controllercontext, actiondescriptor actiondescriptor, idictionary`2 parameters) +35
   system.web.mvc.async.<>c__displayclass42.<begininvokesynchronousactionmethod>b__41() +33
   system.web.mvc.async.asynccontrolleractioninvoker.endinvokeactionmethod(iasyncresult asyncresult) +37
   system.web.mvc.async.<>c__displayclass39.<begininvokeactionmethodwithfilters>b__33() +80
   system.web.mvc.async.<>c__displayclass4f.<invokeactionmethodfilterasynchronously>b__49() +385
   system.web.mvc.async.asynccontrolleractioninvoker.endinvokeactionmethodwithfilters(iasyncresult asyncresult) +37
   system.web.mvc.async.<>c__displayclass2a.<begininvokeaction>b__20() +30
   system.web.mvc.async.<>c__displayclass25.<begininvokeaction>b__22(iasyncresult asyncresult) +184
   system.web.mvc.async.asynccontrolleractioninvoker.endinvokeaction(iasyncresult asyncresult) +33
   system.web.mvc.<>c__displayclass1d.<beginexecutecore>b__18(iasyncresult asyncresult) +27
   system.web.mvc.async.<>c__displayclass4.<makevoiddelegate>b__3(iasyncresult ar) +22
   system.web.mvc.controller.endexecutecore(iasyncresult asyncresult) +47
   system.web.mvc.async.<>c__displayclass4.<makevoiddelegate>b__3(iasyncresult ar) +22
   system.web.mvc.controller.endexecute(iasyncresult asyncresult) +33
   system.web.mvc.<>c__displayclass8.<beginprocessrequest>b__3(iasyncresult asyncresult) +41
   system.web.mvc.async.<>c__displayclass4.<makevoiddelegate>b__3(iasyncresult ar) +22
   system.web.mvc.mvchandler.endprocessrequest(iasyncresult asyncresult) +33
   system.web.callhandlerexecutionstep.system.web.httpapplication.iexecutionstep.execute() +393
   system.web.httpapplication.executestepimpl(iexecutionstep step) +195
   system.web.httpapplication.executestep(iexecutionstep step, boolean& completedsynchronously) +128


版本信息: microsoft .net framework 版本:4.0.30319; asp.net 版本:4.7.2634.0