Forum

November 2nd, 2014
A A A
Avatar

Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

The forums are currently locked and only available for read only access
sp_Feed Topic RSS sp_Related Related Topics sp_TopicIcon
internal error iis
16/12/2010
02:35
Avatar
prdpjb
Member
Members
Forum Posts: 3
Member Since:
16/12/2010
sp_UserOfflineSmall Offline

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

16/12/2010
15:42
Avatar
prdpjb
Member
Members
Forum Posts: 3
Member Since:
16/12/2010
sp_UserOfflineSmall Offline

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>

<pre>

[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&amp; completedSynchronously) +155
</pre>

tks,

prd[Image Can Not Be Found]

16/12/2010
16:52
Avatar
rmvenancio
Portugal
Member
Members
Forum Posts: 12
Member Since:
09/11/2010
sp_UserOfflineSmall Offline

This is not a jqgrid problem.

Try this in your web.config file :

<webServices>
<protocols>
<add name="HttpGet"/>
<add name="HttpPost"/>
</protocols>
</webServices>

16/12/2010
17:14
Avatar
prdpjb
Member
Members
Forum Posts: 3
Member Since:
16/12/2010
sp_UserOfflineSmall Offline

tks rmvenancio for your reply.

i know that it is not a jqgrid problem, but is a problem "with" a jqgrid.

i tried your sugestion but still with same error.

I am grateful if anyone has any clue.

tks

16/12/2010
17:27
Avatar
rmvenancio
Portugal
Member
Members
Forum Posts: 12
Member Since:
09/11/2010
sp_UserOfflineSmall Offline

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,

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

Currently Online:
18 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.com

Moderators: tony: 7721, Rumen[Trirand]: 81

Administrators: admin: 66

Comments are closed.
Privacy Policy   Terms and Conditions   Contact Information