无法访问网络应用 [英] Not able to access the Web-app

查看:63
本文介绍了无法访问网络应用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用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.


这篇关于无法访问网络应用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆