guashtiSingh / EatOutEatSafeSoftwareProject

Software Development Project #2 - Group 5
1 stars 1 forks source link

Deploying EOES web application on AWS #3

Closed roycol closed 8 years ago

roycol commented 8 years ago

As we have IIS installed on AWS, now it's time to deploy the EOES to IIS. In order for that, followings are required.

  1. Install either web deploy and visual studio on the server.
  2. Make sure IIS settings and framework version to run .net application
iloy1004 commented 8 years ago

@roycol @AnjithBabu I've tried to deploy our web site on virtual server, but I'm getting some error message now. I guess it's because some problem in Web.config file... Please check out on our server

chemceem commented 8 years ago

Is it possible to deploy to the server directly from Visual Studio ? Were you able to successfully install and configure mysql in the server ?

iloy1004 commented 8 years ago

@chemceem Yes, it's possible to deploy via Visual studio directly. So I've done to deploy by using VS, but this web site is occuring error, 404.3? 405? anyways.. the error message said "if the page is a script, add a handler.. " that's why I thought it might be because of setting problem. My sql was installed succesfully without any error, and database and tables were set up too. So.. I think My sql is fine..

roycol commented 8 years ago

I'm checking IIS setting. As far as I investigated, a mime type(aspx//application/aspx) missed to register on IIS. I've added it, but still, IIS doesn't recognize .aspx extension.

roycol commented 8 years ago

I'm trying to deploy again. (looks what Jihee has done and set up for deployment are fine though.) For any case that we might miss a tiny step and it causes the problem, I'll thoroughly check and follow the instruction of Microsoft(https://www.asp.net/mvc/overview/deployment/visual-studio-web-deployment/deploying-to-iis).

roycol commented 8 years ago

I've solved the issue. Main cause of this issue was .Net framework. We didn't completely install it before setting IIS.