PeterLee.KR
Today
Literature
Dance
Public_Administration
Programming
programming
Easy Pay System
Paypal
Something else here
Carpentry
Chronology
Tanzmate
Cntanz
Search
Edit
Back to List
PersonModel
ID
Date
Target
Title
Contents
403 - Forbidden: Access is denied. You do not have permission to view this directory or page using the credentials that you supplied. ANSWER visual studio application properties 에서 publish 과정을 거쳐야 한다. Publish과정 마지막에 Configure web server (IIS)connection이 있는데 target : 218.888.888.888 site name : letsdance.kr Destination URL : https://letsdance.kr User name : lballet Password : a1352612 로 했다. 이렇게 하면 안되고 ANSWER 폴더로 publish한다. 주소를 써주어야 하는데 해야 한다. 폴더 publish주소를 어디로 하느냐에 따라 앱의 폴더에 publish가 들어가기도 하고 그렇지 않기도 하다. 하지만 두 가지 다 작동이 된다. 어느것이 좋은지는 아직 잘 모르겠다. 하지만 해당 사이트의 폴더로 할 경우가 더 나은 거 같다. 가령 wwwroot폴더가 중복 생성되지 않는 점에서 적어도 그렇다. REFERENCE cmd dotnet --version https://dotnet.microsoft.com/download/dotnet/thank-you/runtime-aspnetcore-3.1.6-windows-hosting-bundle-installer 주소로 가서 ASP.NET Core 5 와 3.16을 다운 받아 48서버에 설치하고 재실행한 후 iis가 정상작동하고 홈페이지를 볼 수 있다. BETTER ANSWER VS2019에서 솔루션 혹은 프로젝트를 만들고 물리적 주소 지정 Site_Folder Publish할 물리적 주소 지정 Site_Folder_Publish Publish할 때 Site_Folder_Publish로 Publish한다. 이로써 Site_Folder_Publish에 있는 것을 카피해서 어디로 가져가든 그것은 그 당시의 버전으로 실행이 된다.
Back to List