An error occurred while processing the request.

I am publishing an asp.net mvc 3 application in azure windows and when I go to my site I see the error "Sorry, an error occurred while processing your request." what does it mean?

+8
asp.net-mvc azure
source share
1 answer

As others have stated, many errors can occur that cause this problem. I would suggest you read the sentence in the following post to start investigating your problem:

Webrole does not start and is always busy

Here is the connection string that you need to add to web.config to connect SQL Azure DB from an 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> 
+3
source share

All Articles