引发类型为“System.Web.HttpException”的异常。
System.Web.HttpException (0x80004005): 引发类型为“System.Web.HttpException”的异常。 ---> NVelocity.Exception.MethodInvocationException: Invocation of method 'Wl' in ShoopingStreetWeb.Models.ShopData threw exception System.FormatException : 输入字符串的格式不正确。 ---> System.FormatException: 输入字符串的格式不正确。
在 System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
在 System.Number.ParseInt64(String value, NumberStyles options, NumberFormatInfo numfmt)
在 System.Int64.Parse(String s)
在 IPScaner.IpToInt(String ip)
在 IPScaner.QQwry()
在 IPScaner.IPLocation()
在 IPScaner.ipinfo(String ip)
在 IPScaner.IpAddress()
在 ShoopingStreetWeb.Models.ShopData.Wl(Int64 GoodsId, Int64 ShopId)
--- 内部异常堆栈跟踪的结尾 ---
在 NVelocity.Runtime.Parser.Node.ASTMethod.Execute(Object o, IInternalContextAdapter context)
在 NVelocity.Runtime.Parser.Node.ASTReference.Execute(Object o, IInternalContextAdapter context)
在 NVelocity.Runtime.Parser.Node.ASTReference.Render(IInternalContextAdapter context, TextWriter writer)
在 NVelocity.Runtime.Parser.Node.SimpleNode.Render(IInternalContextAdapter context, TextWriter writer)
在 NVelocity.Template.Merge(IContext context, TextWriter writer)
在 ShoopingStreetWeb.Models.Shop.ShopProduct(String loginName, Int64 id)
在 ShoopingStreetWeb.Controllers.ShopController.ProductContent(String LoginName, Int64 id)
在 lambda_method(Closure , ControllerBase , Object[] )
在 System.Web.Mvc.ActionMethodDispatcher.<>c__DisplayClass1.b__0(ControllerBase controller, Object[] parameters)
在 System.Web.Mvc.ActionMethodDispatcher.Execute(ControllerBase controller, Object[] parameters)
在 System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters)
在 System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters)
在 System.Web.Mvc.ControllerActionInvoker.<>c__DisplayClass15.b__12()
在 System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation)
在 System.Web.Mvc.ControllerActionInvoker.<>c__DisplayClass15.<>c__DisplayClass17.b__14()
在 System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodWithFilters(ControllerContext controllerContext, IList`1 filters, ActionDescriptor actionDescriptor, IDictionary`2 parameters)
在 System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName)
在 System.Web.Mvc.Controller.ExecuteCore()
在 System.Web.Mvc.ControllerBase.Execute(RequestContext requestContext)
在 System.Web.Mvc.ControllerBase.System.Web.Mvc.IController.Execute(RequestContext requestContext)
在 System.Web.Mvc.MvcHandler.<>c__DisplayClass6.<>c__DisplayClassb.b__5()
在 System.Web.Mvc.Async.AsyncResultWrapper.<>c__DisplayClass1.b__0()
在 System.Web.Mvc.Async.AsyncResultWrapper.<>c__DisplayClass8`1.b__7(IAsyncResult _)
在 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.ExecuteStepImpl(IExecutionStep step)
在 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
|