很抱歉,在执行您的要求时发生了一个错误 [英] Sorry, an error occurred while processing your request
问题描述
我发表我的asp.net MVC 3应用程序在Windows Azure中,当我去我的网站我看到错误很抱歉,在处理您的请求时出现错误。这是什么意思?
I publish my asp.net mvc 3 app in windows azure and when I go my site I see error "Sorry, an error occurred while processing your request." what does it mean?
推荐答案
至于其他人则建议有可能的事情成绩了错误造成这个问题。我建议你阅读下面的帖子中给出的建议,开始调查你的问题:
As others suggested there could be scores of things went wrong which cause this problem. I would suggest you to read the suggestion given in the following post to start investigating your problem:
<一个href="http://stackoverflow.com/questions/10381345/webrole-is-not-starting-and-always-busy/10386637#10386637">Webrole没有启动,总是忙碌
下面是你需要添加到web.config中从ASP.NET应用程序连接SQL Azure的数据库连接字符串
Here is the connection string you would need to add into web.config to connect SQL Azure DB from ASP.NET application
<connectionStrings>
<add name="SQLAzureConnection" connectionString="Data Source=<ProvideServerName>.database.windows.net;Initial Catalog=TestDb;User ID=<ProvideUserName>;Password=<ProvidePassword>;Encrypt=true;Trusted_Connection=false;"
providerName="System.Data.SqlClient" />
</connectionStrings>
这篇关于很抱歉,在执行您的要求时发生了一个错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!