Sorry, an error occurred while processing your request

25,425

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>
Share:
25,425
user
Author by

user

Updated on March 25, 2020

Comments

  • user
    user about 4 years

    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?

  • user94559
    user94559 about 12 years
    I doubt it. I think that error message is coming from the MVC app, which means it's running.
  • AvkashChauhan
    AvkashChauhan about 12 years
    I totally agree smarx. I just wanted to suggest that as role is already running you could RDP to instance (RDP should work in this situation) and look for event log for any possible exception or investigate what could be issue over there..