CKeditor Upload Image Not working only when I deploy it to IIS7.5 server

qlimegreen

New Member
I am currently building an ASP.Net MVC3 website and using ckeditor as my wsywig. Everything works perfectly find when deploying the server from visual studio, but when I set the website up on IIS7.5 for some reason the posted file keeps coming back as null.Here is the code:\[code\]public ActionResult Upload(HttpPostedFileBase upload, string CKEditorFuncNum, string CKEditor, string langCode) { string fileName = upload.FileName; string basePath = Server.MapPath("~/Uploads"); upload.SaveAs(basePath + "\\" + fileName); return View(); }\[/code\]HttpPostedFileBase upload keeps coming in as being null. I have given MachineName\IIS_IUSRS all of the appropriate permissions so I know it is not a permissions issue. If you need me to post anything else let me know.Thanks,Sam
 
Back
Top