简体   繁体   English

kendo grid update \\ insert在IIS服务器上不起作用,但在本地服务器上起作用

[英]kendo grid update\insert not working on IIS server but it is working on Local

我正在使用Kendo UI Asp.Net MVC4 Q2 2013,在本地上一切正常,但是当我在IIS服务器上部署它时,它会停止对数据库执行insert \\ update,并且没有发生任何未引发任何错误的事件。

as pwdst mentioned, the best way to start debugging this is to look at the web page interaction with your server using the browser's debugging tools. 如pwdst所述,开始调试的最佳方法是使用浏览器的调试工具查看与服务器的网页交互。 You're looking for the web page requests back to the server. 您正在寻找发回服务器的网页请求。 Following is example of how to do this in IE using my jsfiddle example page . 以下是使用jsfiddle示例页面在IE中执行此操作的示例 In this sample the grid is asynchronously loading data from the server. 在此示例中,网格正在从服务器异步加载数据。 This sample uses Jsfiddle's ability to simulate ajax requests (the POST request to jsfiddle's /echo/jason URL, which will simply reply back with the json data that we send it.) 该示例使用Jsfiddle的能力来模拟ajax请求(对jsfiddle的/ echo / jason URL的POST请求,它将简单地用我们发送的json数据进行回复。)

read: {
    url:'/echo/json/',
    type:'POST',
    data: {
        json: JSON.stringify(testdata)
    }                
}
  1. When the browser is started, click F12 to start developer tools. 启动浏览器后,单击F12以启动开发人员工具。 This will open a new "Developer tools" window. 这将打开一个新的“开发人员工具”窗口。
  2. Click on the Network tab (this varies by browser version), and then click on the "Start" button to start the network trace. 单击“网络”选项卡(这因浏览器版本而异),然后单击“开始”按钮以启动网络跟踪。
  3. Select the browser's normal page window and start the target page (or hit F5 to refresh it). 选择浏览器的常规页面窗口并启动目标页面(或按F5刷新它)。
  4. Select the browser's "Developer tools" window and observe the network requests sent to the server. 选择浏览器的“开发人员工具”窗口,并观察发送到服务器的网络请求。 You can double click a specific request to see the details. 您可以双击特定的请求以查看详细信息。 The problem is probably that the request is being sent to the wrong URL. 问题可能是该请求被发送到错误的URL。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 DirectorySearcher 在本地工作但不在 IIS 服务器中工作 - DirectorySearcher working in Local but not working in IIS server ClientTemplateId无法与Kendo Grid一起使用 - ClientTemplateId not working with Kendo Grid 剑道网格中的dropdownlist不起作用 - dropdownlist in kendo grid not working css在服务器iis 7上运行不正常,就像本地一样 - css not working well in server iis 7 like on local WCF服务在本地而非服务器IIS上运行以实现功能 - WCF service working on local not server IIS for functions Multiview 在 IIS 服务器中不起作用,但在我的本地服务器(XAMPP)中运行良好 - Multiview is not working in IIS server, but working well in my local server (XAMPP) Kendo UI网格:更新/保存不起作用(_AntiForgeryToken不存在) - Kendo UI Grid: update/save not working (_AntiForgeryToken not present) 更新面板在服务器(IIS7)上不起作用 - Update Panel Not working on Server (IIS7) 当数据源为服务器时,Telerik Kendo网格聚合不起作用 - Telerik Kendo grid aggregates not working when DataSource is Server MVC应用程序在IIS Express中工作正常,但在本地IIS Web服务器中不工作 - MVC Application is working fine in IIS Express but not working in Local IIS web server
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM