i have mvc application send email this:
<authorize> <httppost()> <allowanonymous> <validateantiforgerytoken()> public function submitissue(<bind(include:="id,summary,description,comment,attachment")> table itable, mail itable, fileuploader httppostedfilebase) 'send email code 'redirect view end function then view contains this:
@using (html.beginform("submitissue","user",formmethod.post, new { .id = "form1", .enctype = "multipart/form-data"})) @html.antiforgerytoken() 'html view page the exact same code , sql database being used on server application , localhost application being used. why http 1.1 500 internal server error message on server application?
is there difference between server , localhost application prevents working properly? had working before on simpler way had add information not server blocking request.
the application on server redirect mvc error message page , say:
error. error occurred while processing request.
the localhost application return http result return 302 , redirect correct view, published application http result return 500.
Comments
Post a Comment