Forum



02:35

16/12/2010

hi,
i made a web site in visual studio with a jqgrid that have edit and del options. the url's of the initial load and of the options are at a web method in a asmx page. it works fine in visual studio test web server. but when i publish the web site in a iis server, i have a 500 internal error for the edit and del options (the web methods didn't fire).
somebody already has this error?
tks
15:42

16/12/2010

hi,
i add more some info about my page:
1. the jqgrid edit option:
}).navGrid('#pager1',
{ view: true, search: false, edit: true, add: false, del: true },
{ //edit options
hide: true,
width: 400,
closeAfterEdit: true,
reloadAfterSubmit: true,
checkOnUpdate: true,
checkOnSubmit: true,
closeOnEscape: true,
url: '<%= ResolveClientUrl("~/rdo/WebService.asmx/EditPedidosCobol") %>',
afterSubmit: function(response, postdata) {
var json = response.responseText;
var result = eval("(" + json + ")");
return [result.sc, result.msg, null];
},
2. and the error, get from firebug:
<b> Exception Details: </b>System.InvalidOperationException: Request format is unrecognized for URL unexpectedly ending in '/EditPedidosCobol'.<br><br>
[InvalidOperationException: Request format is unrecognized for URL unexpectedly ending in '/EditPedidosCobol'.]
System.Web.Services.Protocols.WebServiceHandlerFactory.CoreGetHandler(Type type, HttpContext context, HttpRequest request, HttpResponse response) +405961
System.Web.Services.Protocols.WebServiceHandlerFactory.GetHandler(HttpContext context, String verb, String url, String filePath) +212
System.Web.Script.Services.ScriptHandlerFactory.GetHandler(HttpContext context, String requestType, String url, String pathTranslated) +47
System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig) +193
System.Web.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +93
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +155
</pre>
tks,
prd[Image Can Not Be Found]
prdpjb,
Sorry if my sentence was rude, it was not the intention.
What I was tried to say was that here you will find a lot of people knowing and trying to know about jqgrid.
Your error is more about asp.net. I advise you to look for the solution in asp.net forums for example. You may be luck to find the solution here, but I think that is not the best place to search for a solution.
In fact, as you said it worked it your test web server. Usually the production server have some limitations/especific configurations. This seems a IIS configuration or something missed in your web.config
You will find a lot of similar problems searching at google.
Let us know when you solve our problem 😉
Good luck,
Most Users Ever Online: 715
Currently Online:
32 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
OlegK: 1255
markw65: 179
kobruleht: 144
phicarre: 132
YamilBracho: 124
Renso: 118
Member Stats:
Guest Posters: 447
Members: 11373
Moderators: 2
Admins: 1
Forum Stats:
Groups: 1
Forums: 8
Topics: 10592
Posts: 31289
Newest Members:
, razia, Prankie, psky, praveen neelam, greg.valainis@pa-tech.comModerators: tony: 7721, Rumen[Trirand]: 81
Administrators: admin: 66