-
Notifications
You must be signed in to change notification settings - Fork 266
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error to upload file to server #214
Comments
Is your server url correct? |
Can you post the server side code for handling the upload and the Javascript code you're using? |
CLIENT:
SERVER: using RedRingQuiscoDB.Modelos.Seguridad; namespace RedRingQuioscoWeb.Views.Home /// Summary description for SaveFiles /// [WebService(Namespace = "http://tempuri.org/")] [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)] [System.ComponentModel.ToolboxItem(false)] // To allow this Web Service to be called from script, using ASP.NET AJAX, uncomment the following line. // [System.Web.Script.Services.ScriptService] public class SaveFiles : System.Web.Services.WebService {
} |
I'm try to upload file to server, but the browser console write this:
SimpleAjaxUploader.js:1828 POST ..../SaveFiles.asmx/Save 500 (Internal Server Error)
_uploadXhr @ SimpleAjaxUploader.js:1828
_initUpload @ SimpleAjaxUploader.js:1882
submit @ SimpleAjaxUploader.js:1160
(anonymous) @ SimpleAjaxUploader.js:2046
The text was updated successfully, but these errors were encountered: