Jump to content
henriqueobaptista

JSON WebService asmx IIS 7.5 Erro 500

Recommended Posts

henriqueobaptista

Tenho um problema em utilizar um WebServer ASMX para obter dados a partir de uma variável enviada via função que tenho abaixo, retorna SEMPRE Erro 500 a ligar ao servidor.

Alguém tem uma ideia como resolver ?

Obrigado

function CarregaMov(rg) {
var id = rg;
var url = "./CarregaMovimento.asmx";
$.ajax({ type: "POST",
url: url + "/CarrMov", data: "{rid=id}",
contentType: "application/json; charset=utf-8",
dataType: "json",
success: OnSuccessCall,
error: OnErrorCall });

 

Share this post


Link to post
Share on other sites
coxosclassic

Boas,

 

Aparentemente está tudo OK com o código.

Normalmente esses erros são do servidor. Tenta no forúm ASP.NET com o código de backend.

Cumps,


Cumps,

cc

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

By using this site you accept our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.