无法访问网络应用

编程入门 行业动态 更新时间:2024-10-25 05:11:19
本文介绍了无法访问网络应用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我使用Azure创建了一个默认应用程序.我首先启用了对该网站的访问,但随后又启用了匿名访问.

I created a default app using Azure. I first enabled the access to the site but then enabled back the anonymous access onto it.

此站点与OneDrive集成.

This site is integrated with OneDrive.

我正在尝试访问该网站,但我得到的是"您无权查看此目录或页面. "信息.我曾经能够访问该网站.但是当我创建一个文件到 我的onedrive网站文件夹中,指出尽管删除了所有文件,但仍收到此错误消息,并将访问级别恢复为默认值.

I am trying to access the site but i am getting "You do not have permission to view this directory or page." message. I was once able to access the site. But when I create one file into my onedrive site folder, post that I am getting this error message despite removing all files and restored the access level to default.

请帮忙吗?

推荐答案

尝试重置您的 部署凭据 ,然后重新启动网站,然后进行检查. 如果这样做没有帮助,则可以使用以下命令检查已部署/更新的文件是否可用 Kudu控制台 .确定您是否正在处理部署 或 部署与运行时问题 .

Try to reset your Deployment credentials and restart your web site once then check. If that doesn’t help, you may check whether the deployed/updated files are available or not using Kudu Console. Determine whether you are dealing with a deployment or a runtime issue as outlined in the post Deployment vs runtime issues.

您需要启用并查看详细错误.创建一个< customErrors>在"web.config"中的标签.配置文件 位于当前Web应用程序的根目录中,并设置为关闭".

You need to enable and see the detailed errors. Create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application and set to "Off".

例如:

<configuration> <system.web> <customErrors mode="Off"/> <compilation debug="true"/> </system.web> </configuration>

如果它是一个空白网站,没有web.config文件,您应该在wwwroot位置下创建一个.

此外,查看 中指定的子状态代码span> 网络 服务器日志 找出确切的根本原因.

Also, check the sub-status code as specified in the Web Server Logs for getting to the exact root cause.

您可以还 为网站启用诊断日志记录 应用 ,看看是否有帮助.

You can also Enable diagnostics logging for web apps and see if it helps.

- -------------------------------------------------- -------------------------------------- 如果此答案有帮助,请单击标记为答案"或上投票".要提供有关您的论坛体验的其他反馈,请单击 span> .

------------------------------------------------------------------------------------------ If this answer was helpful, click "Mark as Answer" or "Up-Vote". To provide additional feedback on your forum experience, click here.

更多推荐

无法访问网络应用

本文发布于:2023-11-23 10:13:41,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1621072.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:无法访问   网络

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!