Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

Internal Server Error on change Pic #2414


User avatar
0
avanekar02 created

Hello

Deployed My web app on a hosting server, all runs well but when i try to change profile picture it gives internal server error 500

General Request URL:http://e-tdreeb.com/signalr/start?transport=webSockets&clientProtocol=1.5&connectionToken=H39U11JpJg96TNCHFAruOua7YI%2BQyvXXIKHbvH6ukVGsuiuK8nfCCXg0OJdRKk8YBSRaGQ6OmypY4YXJdV3EX7sTkfC%2Bx1XXZL%2FJxGfDDhSsYGWx%2BlfYLiF9b8dhp%2Bnh&connectionData=%5B%7B%22name%22%3A%22abpcommonhub%22%7D%2C%7B%22name%22%3A%22chathub%22%7D%5D&_=1486182056736 Request Method:GET Status Code:500 Internal Server Error Remote Address:182.50.151.86:80 Response Headers view source

ResponseHeader Cache-Control:private Content-Type:text/html; charset=utf-8 Date:Sat, 04 Feb 2017 04:29:11 GMT Server:Microsoft-IIS/8.5 Transfer-Encoding:chunked X-AspNet-Version:4.0.30319 X-Powered-By:ASP.NET X-Powered-By-Plesk:PleskWin Request Headers view source

RequestHeader Accept:text/plain, /; q=0.01 Accept-Encoding:gzip, deflate, sdch Accept-Language:en-US,en;q=0.8 Connection:keep-alive Content-Type:application/json; charset=UTF-8 Cookie:ASP.NET_SessionId=v5w41vbjlfotglkxrnyweeel; Abp.Localization.CultureName=en; __RequestVerificationToken=yFzOFZc9xsb4aZQ848hPx6G9I75YZ2ybvwhofdEq71RRDyRTMIJqDz86agB4YgYqoYPHBVM97b0j6hdpOdqaId3sHYkGvT99TLohTfypoYM1; .AspNet.TwoFactorRememberBrowser=rWJ2PkZ4usH_QQ9udIk9QFcj65s7tHpZbAgOztCxmR_57oE1pjhI-UjD68OpB7Gx8Sxc4tuUsQnDK1-UVTexMNKfpTw9zu-745AD20KuLpkLV0diL7Oaqi4hfelXLRTMVwHT6Q0wMvHW1daDguNtX9PTD27k0lUXunMw3re2zMapkypbWHvVYlo_ap_kL8KXMX8YH1S_A1KXBgAYMq9NKGYwOGFC1rb7JLdIQoRnWr8c0C6Z21ehZTyy7pXMhwxdpUIT3493d_H8vflRSpR3F4BNbDwL4jQxnY-UvFfGNbQ; .AspNet.ApplicationCookie=zI9bq1sU4Z_lY0imsR1ZonKQVUBCp6ctxu41uYkeCtB7uiCiCwsYpWCZUdHQwY9uUmvh351k21DOJgDQ1YmtfyuM1j7jSDS63zU2gi0MT5GKTVEXUVX0Q71ybLb6BmNYbc_cr5SUTB4_GoV_JleqMJizZAggFll0U99Bm_LZXKxH9IlUVCx7wYozZDkQuDYsHeL5Um3WRgfMoB9Tkrgo_kpLfsBwm4Q-A9ngrJfmv1EWJ1nvrApBqc38o6jA2dcLj2rimYAc3okNTOhcyVnOrMiVnRrZBDirAo32JFg1jXFl0AmVDJ7aKj0OuQlZztMspe1XadRKF9LZ07QY4k5OizMhLnUH7ClBH0dMEvGLtfb0THVL1EXXrIGEAzwP8jqHQOA9-6FVIt6Njz0O736QP9k4xeXIpMarkPrPbdKSrQy2kHRagrKE_lylQM0RirxhV0vBv52tsWCWB6Q0LULFevEQ5oRpEX0sSt4a0EfI6hTGg1aacC9k8k7PJErLSRzi; XSRF-TOKEN=vL4i8RIy2c-RedMWG94duuvkwwZRrm8I08jbXmBuoYmV27I_I0qd9bPcnyht4BY1MZIcgYd9pKi0Z8UnHQf-WW2jzYCmRlT7Lh1W4PJh1o0E6Myoby0swprI_1XIxFGkO9uK-DfYSR2uPzSK-it5xA2 Host:e-tdreeb.com Referer:http://e-tdreeb.com/Application User-Agent:Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36 X-Requested-With:XMLHttpRequest Query String Parameters view source view URL encoded

Query string parameters transport:webSockets clientProtocol:1.5 connectionToken:H39U11JpJg96TNCHFAruOua7YI+QyvXXIKHbvH6ukVGsuiuK8nfCCXg0OJdRKk8YBSRaGQ6OmypY4YXJdV3EX7sTkfC+x1XXZL/JxGfDDhSsYGWx+lfYLiF9b8dhp+nh connectionData:[{"name":"abpcommonhub"},{"name":"chathub"}] _:1486182056736


3 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    Which version of AspNet Zero do you use (Angular1, ASP.NET MVC.5x, ASP.NET Core or Angular 2 )? I think this problem is not related to file upload. This is another problem and we can try to solve according to your answer.

    About changing profile picture, do you have "Temp\Downloads" folder in your deployed website folders ? And do you have write permission to this folder ?

  • User Avatar
    0
    avanekar02 created

    yes,

    i do have a Temp\Downloads folder and i get this error, i am using Angulatjs SPA application. even from my other pages i am not able to load images.

    i have sent the credentials to login in to the site at you email. you can try to login and see the error i get.

    This request has been blocked because sensitive information could be disclosed to third party web sites when this is used in a GET request. To allow GET requests, set JsonRequestBehavior to AllowGet.

    Regards Anwar

  • User Avatar
    0
    avanekar02 created

    when i try the image upload from my page for example catalog and browse and select an image it gives the following 2 error

    1. Server Error in '/' Application.

    This request has been blocked because sensitive information could be disclosed to third party web sites when this is used in a GET request. To allow GET requests, set JsonRequestBehavior to AllowGet.

    1. {"message":"An error has occurred.","exceptionMessage":"There is an action CreateOrUpdateCourseLevel defined for api controller app/courseLevel but with a different HTTP Verb. Request verb is GET. It should be Post","exceptionType":"Abp.AbpException","stackTrace":" at Abp.WebApi.Controllers.Dynamic.Selectors.AbpApiControllerActionSelector.GetActionDescriptorByActionName(HttpControllerContext controllerContext, DynamicApiControllerInfo controllerInfo, String actionName)\r\n at Abp.WebApi.Controllers.Dynamic.Selectors.AbpApiControllerActionSelector.SelectAction(HttpControllerContext controllerContext)\r\n at System.Web.Http.ApiController.ExecuteAsync(HttpControllerContext controllerContext, CancellationToken cancellationToken)\r\n at Castle.Proxies.DynamicApiController1Proxy_5.ExecuteAsync_callback(HttpControllerContext controllerContext, CancellationToken cancellationToken)\r\n at Castle.Proxies.Invocations.ApiController_ExecuteAsync_5.InvokeMethodOnTarget()\r\n at Castle.DynamicProxy.AbstractInvocation.Proceed()\r\n at Abp.WebApi.Controllers.Dynamic.Interceptors.AbpDynamicApiControllerInterceptor1.Intercept(IInvocation invocation)\r\n at Castle.DynamicProxy.AbstractInvocation.Proceed()\r\n at Castle.Proxies.DynamicApiController`1Proxy_5.ExecuteAsync(HttpControllerContext controllerContext, CancellationToken cancellationToken)\r\n at System.Web.Http.Dispatcher.HttpControllerDispatcher.