Actually, there is no web.config file when run in local but after publish automatic create web.config file.
Asked
Active
Viewed 89 times
1
-
1did you use .net 5 in your project ? – mohammadmahdi Talachi Dec 02 '20 at 11:22
-
Please refer this link https://stackoverflow.com/a/5615457/986259. This link will solve your issue. – Jig12 Dec 15 '20 at 08:50
-
@Jig12 there was already permission which you refer link but not working. – Dec 18 '20 at 00:59
1 Answers
0
As far as I know, if you want to host asp.net core application on IIS, you should make sure you have installed the asp.net core host bundle.
I suggest you could try to download it from this url and install it.
More details, you could refer to this article.
Notice:
If the Hosting Bundle is installed before IIS, the bundle installation must be repaired. Run the Hosting Bundle installer again after installing IIS.
Brando Zhang
- 19,106
- 6
- 28
- 54
-
i have not install asp.net core host bundle. but in same server framework application run without any error. – Dec 18 '20 at 01:00
-