Well, I don’t know why Elmah does not register any errors when deploying to Windows Azure. Another thing is that he used to work. The environment is the same.
- using SqlErrorLog on Azure Sql
- Sql Azure uses the same database as the main site. I have not used a separate database, so I can use the same connection string.
- building the source, and I excluded the VistaDB and SQLite DLLs.
I checked the settings for web.config and got the handler and module defined in system.webServer. It seems that the log messages are well under local development (webdev.exe), and the local express sql schema has been exported to the azure sql schema (including saved procs).
The only difference is that on the main site the application runs under the main domain with several subdomains. Locally, this is modeled by modifying the host file. Logs are fine locally, but not during deployment.
Any ideas on what I should do to find out what happened? The latter option uses diagnostics to track / find out what is wrong during deployment, but this is lavash.
source
share