User-1330468790 posted
Hi amendoza29,
Since you post that you have followed the guidance, could you please confirm that you have completed following steps:
If you confirm that you have prepared all above necessary component for hosting the asp.net core website, the next step is to check if you have access to the web.config file.
- Ensure that the Identity is set to use ApplicationPoolIdentity.
- Then check if the publish folder has granted permission to the
application pool. (following below steps)
Regarding how to check and grant permission:
- Open Windows Explorer
- Select the directory for the publish folder where the web.config locates
- Right click the directory and select Properties
- Select the Security tab
- Check if the application pool has been in the list of the group and users.
- If not, then add
- Click the Edit button and then Add button
- Click the Locations button and make sure that you select your computer.
- Enter IIS AppPool\<myappoolname> in the Enter the object names to select: text box.
- Click the Check Names button and click OK.
- Check Modify under the Allow column, and click OK, and OK.
I could not provide one-shot solution so that we are trying to narrow down the problem and target it.
If you have tried above suggestions with no luck, feel free to let me know.
Best regards,
Sean