Nuget Demo doesn't save file with VS2010
xxayay opened this issue · 1 comments
I've installed the package with nuget in a new MVC4 project in VS2010 and the demo doesn't save a small jpg file or any file to the server. There is no error message.
Here is the issue on StackOverflow , http://stackoverflow.com/questions/19664486/mvcfileuploader-1-3-2-not-saving-file
Here is the returned JSON
{
"files": [{
"error": null,
"name": "C:\MvcApplication2\MvcApplication2\Content\txt.jpg",
"size": 286054,
"type": "image/bmp",
"url": "/MvcUploaderTest/DownloadFile?fileUrl=/Content/uploads/C:\MvcApplication2\MvcApplication2\Content\txt.jpg\u0026mimetype=image/bmp",
"delete_url": "/MvcUploaderTest/DeleteFile?entityId=1234\u0026fileUrl=/Content/uploads/C:\MvcApplication2\MvcApplication2\Content\txt.jpg",
"thumbnail_url": "/Content/uploads/C:\MvcApplication2\MvcApplication2\Content\txt.jpg?width=80\u0026height=80",
"delete_type": "POST",
"FullPath": "C:\MvcApplication2\MvcApplication2\Content\uploads/C:\MvcApplication2\MvcApplication2\Content\txt.jpg",
"SavedFileName": "C:\MvcApplication2\MvcApplication2\Content\txt.jpg",
"Title": "txt"
}]
}
Happens in case of IE8.
version 1.3.3 has the demo with one line of content-negotiating code.