안녕하세요? 웹 초보입니다.
WebMatrix 로 만든 webpages 사이트를 웹서버에 올릴때 web deploy 방법이 아닌 기존의
FTP 파일 업로드 는 사용이 안되는 가요? 닷넷프레임워크 4.0 설치하고 iis7에 맵핑하고
웹주소/Default.cshtml 을 주소창에 입력하니 웹브라우저에 아래 문구만 나오네요.
Server Error in '/' Application.
This type of page is not served.
Description: The type of page you have requested is not served because it has been explicitly forbidden. The extension '.cshtml' may be incorrect. Please review the URL below and make sure that it is spelled correctly.
이것저것 수정해도 이상하게 웹폼 aspx파일은 잘 나오는데 cshtml은 안나오네요..
초보이다 보니 하루종일 삽질 중입니다. cshtml파일은 배포방법이 다른가요?
웹매트릭스로 만든 사이트 FTP 업로드 배포시 IIS 등 기타 설정 방법 좀 부탁드립니다.
감사합니다.
Comment 1
-
도도한레인씨
2013.09.05 22:22
web.config 에
<add key="webpages:Enabled" value="false" /> 속성 true로.. 해보세용