Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Sorry, an error occurred while processing your request [closed]

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?

like image 769
user Avatar asked May 03 '12 15:05

user


1 Answers

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 is not starting and always busy

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>
like image 84
AvkashChauhan Avatar answered Sep 28 '22 04:09

AvkashChauhan