得到错误推到Windows Azure后:您没有权限查看该目录或页面 [英] Getting error after pushing to Windows Azure: You do not have permission to view this directory or page

查看:402
本文介绍了得到错误推到Windows Azure后:您没有权限查看该目录或页面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我用Google搜索在过去的3小时,发现如何处理对于Windows Azure的问题什么都不做:

I have googled for the past 3 hours and found nothing on what to do with respect to the windows azure problem:

您没有权限查看该目录或页面。

You do not have permission to view this directory or page.

我做了git的主推Azure和部署是成功的。我也打开了失败请求跟踪,但没有显示出来,但上述表示的。

I did a git master push to azure and the deployment was successful. I also turned on the failed request tracing but nothing shows up but the above statement.

如何解决这个任何想法?

Any ideas on how to troubleshoot this?

推荐答案

我只是测试,如果你作为server.js不部署主Node.js的文件,你会因为web.config文件是专门找得到这个错误详情如下,server.js:

I just tested that if you don't deploy your main node.js file as server.js you will get this error because the web.config is specifically looking for server.js as below:

  <handlers>
       <add name="iisnode" path="server.js" verb="*" modules="iisnode"/>
 </handlers>

要进一步troubleshot此问题,可以作为描述访问该网站通过FTP <一个href=\"http://blogs.msdn.com/b/avkashchauhan/archive/2012/06/19/windows-azure-website-uploading-downloading-files-over-ftp-and-collecting-diagnostics-logs.aspx\">here.

To further troubleshot this issue you can access the website over FTP as described here.

这篇关于得到错误推到Windows Azure后:您没有权限查看该目录或页面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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