LightSwitch HTML Client pubished on azure get an 400.0 bad request error -
well, have problem: "request failed status code '400' , status text 'bad request'." when run lightswitch htmlclient application published in azure web applications.
i everywhere 3 days , still not find answer problem.
the fiddler throws these: notice: don't follow links, dummies
get http://myapp.azurewebsites.net/applicationdata.svc/$metadata 400 bad request (text/html)
the request
get /applicationdata.svc/$metadata http/1.1 maxdataserviceversion: 3.0 accept: application/xml referer: http://myapp.azurewebsites.net/htmlclient/default.htm accept-language: es-mx,es;q=0.8,en-us;q=0.5,en;q=0.3 accept-encoding: gzip, deflate user-agent: mozilla/5.0 (windows nt 6.3; wow64; trident/7.0; rv:11.0) gecko connection: keep-alive host: myapp.azurewebsites.net cookie: arraffinity=354b4b5b87b2f1e4e8b6c19a5566c6e055bf3e4047b54b4d2ea846ba1b33d561; msls-client-parameters=preferredlanguage=es-mx; asp.net_sessionid=bkf52whz0rkufhcxmqrfuirm
the response
http/1.1 400 bad request cache-control: private content-type: text/html server: microsoft-iis/8.0 x-aspnet-version: 4.0.30319 x-content-type-options: nosniff x-powered-by: asp.net date: wed, 01 apr 2015 04:23:39 gmt content-length: 1647 connection: keep-alive
the azure logs, lightswitch diagnostic , debugger not show difference these.
i hope in forum can me.
thanks.
i solved issue, needed add references bin directory of application not adding.
thanks.
Comments
Post a Comment