'Azure web Service problem with "You do not have permission to view this directory or page."
Solution 1:[1]
there is no fill called web config,
- A
web.configis used to manage various settings that define a website. The settings are stored in XML files that are separate from your application code. - Generally a website contains a single
Web.configfile stored inside the application root directory. However there can be many configuration files that manage settings at various levels within an application.
Web.config file contains
- Database connections
- Caching settings
- Session States
- Error Handling
- Security
- Create
web.configfile , Put it in /public It will then be copied over to /dist during build. -Create the config file in public folder, After running npm run build , web.config file is copied todistfolder.
- To create
web.config, Right click on the public folder-->Add new file, name it asweb.configand add the below mentioned code snippet and save. Create web config file - After creating
web.config, re-deploy the application once again - Go to Azure portal, your Web App =>Advanced Tools=>KUDU - Debug Console =>CMD => site=>wwwroot , check if web.config file exists or not.
web.configfile has to be in the wwwroot directory in KUDU console.
"You do not have permission to view this directory or page."
Please refer Azure website message and SO Thread for more information
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 |





