由网友(趁早@)分享简介:我发表我的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 "So...
我发表我的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:
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>
相关推荐
最新文章