0
mengvisal created
Support Team
Hi!
When I try to change the profile picture for the project hosted in IIS of Amazon EC2, it gives me error: <a class="postlink" href="http://mywebsite.com/Profile/UploadProfilePicture">http://mywebsite.com/Profile/UploadProfilePicture</a> 500 (Internal Server Error) but when I test in IIS Express, it is working fine.
FYI: I configure default route in the project to Application/Index instead of Home/Index because I want to go directly to Login Page or Tenant Page (Not Front-end Page)
routes.MapRoute(
name: "Default",
url: "{controller}/{action}/{id}",
defaults: new { controller = "Application", action = "Index", id = UrlParameter.Optional },
namespaces: new[] { "CarlWeb.Controllers" }
);
Thanks!
1 Answer(s)
-
0
Hi,
Uploaded files are stored in "~/Temp/Downloads" temporarily. Probably you dont have permission to write to this folder.
Can you check that ?