查看Azure的云服务IIS日志 [英] View Azure cloud service IIS logs

查看:139
本文介绍了查看Azure的云服务IIS日志的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我创建了从表中的Azure数据库显示数据的简单MVC3网站。我创建了一个云服务中运行的网站,并可以成功发布。我也成功了Azure的模拟器中运行的站点。

I have created a simple MVC3 site that displays data from a table in an Azure database. I have created a cloud service to run the site in and can publish it successfully. I have also run the site successfully in the Azure emulator.

我的问题是,当我选择显示的数据页有错误,因为我得到默认的错误页面。我觉得我有数据库连接设置正确,但我看不到任何日志。所以我的问题是:

My problem is that when I select the page that displays the data there is an error as I get the default error page. I think I have the db connections set correctly but I cannot see any logs. So my questions are:


  • 在哪里IIS日志?我想看看是什么错误。

  • 是否有任何其他日志/我可以用它来看看是什么问题?
  • 诊断

感谢。

推荐答案

我建议你使用Windows Azure诊断收集您的日志。

I suggest you use Windows Azure Diagnostics to collect your logs.

您可以在这里阅读所有关于它(设置和使用):
http://msdn.microsoft.com/en-us/library/windowsazure /gg433048.aspx

You can read all(setup and usage) about it here: http://msdn.microsoft.com/en-us/library/windowsazure/gg433048.aspx

这篇关于查看Azure的云服务IIS日志的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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