网格MVC错误404 [英] Grid MVC error 404

查看:67
本文介绍了网格MVC错误404的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用带有gridmvc和grid-ajax的mvc5获取了我的Web应用程序,当我使用Visual Studio启动它时,一切正常工作但是当我用它启动它并使用IIS启动它时,除了排序,搜索和过滤器之外,一切仍然有效我的gridview。它
继续给我这个错误无法加载资源:服务器响应状态为404(未找到)  http://x3plus.pompaction.com/ZCOMM2016/CommissionPaged?Search=&grid-column=REP_0&grid-dir=1&_=1459287417451

解决方案

您正在将无效参数传递给Web方法,参数不正确导致404未找到解决方案无法找到调用时正在查找的方法。


你可以使用Fiddler(免费),查看Fiddler显示中的404错误行,看看正在发送的原始HTTP,并查看parms的格式。


你应该也发布到MVC论坛,因为这不是C#问题。


http://forums.asp.net/1146.aspx/1?MVC


I got my web application using mvc5 with gridmvc and grid-ajax, everything's working when I launch it with Visual studio but when I puplish it and launch it with IIS, everything still working except the sort, the search and the filter of my gridview. It keep giving me this error Failed to load resource: the server responded with a status of 404 (Not Found)   http://x3plus.pompaction.com/ZCOMM2016/CommissionPaged?Search=&grid-column=REP_0&grid-dir=1&_=1459287417451

解决方案

You are passing invalid parms to a Web method, the parms are bad leading to a 404 not found the solution can't find the method it is looking for when the call is made.

You can use Fiddler (free), look at the 404 error line in the display of Fiddler and see the raw HTTP being sent and look at the format of the parms.

You should also post to the MVC forum, since this is not a C# issue.

http://forums.asp.net/1146.aspx/1?MVC


这篇关于网格MVC错误404的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆