Not running in a hosted service or the Development Fabric

简介:

今天尝试在azure上发布网站后,无法正常访问

本地调试也提示:

Not running in a hosted service or the Development Fabric

谷歌百度半天…

最后发现是之前直接在azure发布webapplication的问题

只要删除掉web.config中的以下内容就OK了

<trace><listeners><addtype="Microsoft.WindowsAzure.Diagnostics.DiagnosticMonitorTraceListener, Microsoft.WindowsAzure.Diagnostics, Version=2.2.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"name="AzureDiagnostics"><filtertype=""/></add></listeners>

</trace>



本文转自 sun8134 博客园博客,原文链接: http://www.cnblogs.com/sun8134/p/3499450.html ,如需转载请自行联系原作者

相关文章
|
3月前
|
存储 应用服务中间件 开发工具
Platform as a Service
PaaS(Platform as a Service,平台即服务)是一种云计算服务模型,它提供了一组开发工具和服务,使开发人员可以构建和部署应用程序,而无需关心底层基础设施的管理。PaaS 通常包括一个操作系统级别的基础设施、服务器、存储和网络服务,以及一系列开发工具和服务,如数据库、Web 服务器、应用服务器、消息传递、身份认证等。
55 2
Platform as a Service
|
2月前
|
虚拟化 数据中心 Windows
AWS 的Server Migration Service (SMS)
AWS的 Server Migration Service (SMS)
23 1
|
2月前
|
数据库 数据中心
AWS 的Application Discovery Service (ADS)
AWS 的Application Discovery Service (ADS)
26 3
Understanding services:理解服务(Service)
Understanding services:理解服务(Service)
92 0
Understanding services:理解服务(Service)
|
Kubernetes Cloud Native 安全
Kubernetes CKS 2021【7】---Cluster Setup - Verify Platform
Kubernetes CKS 2021【7】---Cluster Setup - Verify Platform
Kubernetes CKS 2021【7】---Cluster Setup - Verify Platform
|
Kubernetes 安全 API
Kubernetes CKS【23】---Runtime Security - Auditing
Kubernetes CKS【23】---Runtime Security - Auditing
Kubernetes CKS【23】---Runtime Security - Auditing
|
Kubernetes Linux 容器
Kubernetes CKS【13】---Microservice Vulnerabilities - Container Runtime Sandboxes
Kubernetes CKS【13】---Microservice Vulnerabilities - Container Runtime Sandboxes
Kubernetes CKS【13】---Microservice Vulnerabilities - Container Runtime Sandboxes
|
SQL Kubernetes Ubuntu
在 Google Kubernetes Cluster 上使用 HANA Expression Database Service
在 Google Kubernetes Cluster 上使用 HANA Expression Database Service
156 0
在 Google Kubernetes Cluster 上使用 HANA Expression Database Service
|
虚拟化
The VMware Authorization Service is not running.
  The VMware Authorization Service is not running.           右击启动                                             捐助开发者  在兴趣的驱动下,写一个免费的东西,有欣喜,也还有汗水,希望你喜欢我的作品,同时也能支持一下。
1089 0
|
中间件 Serverless Go
Backend-as-a-Service (BaaS) for Efficient Software Development
The adoption of the Internet and mobile technologies has revolutionized the business ecosystem, with entrepreneurs able to implement ideas quickly by .
1715 0
Backend-as-a-Service (BaaS) for Efficient Software Development

热门文章

最新文章