Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Azure App Service Web App compilation error

After sucesfully publishing my app trough Azure web deploy, I am facing this error upon opening the website:

Server Error in '/' Application.

Compilation Error

Description: An error occurred during the compilation of a resource required to service this request.
Please review the following specific error details and modify your source code appropriately. 

Compiler Error Message: The compiler failed with error code -532462766.

How can I address this issue?

like image 538
devSparkle Avatar asked Dec 03 '22 15:12

devSparkle


2 Answers

This compilation error is due to issues with .DLL's uploaded in the past. It can happen if you have uploaded previously with web deploy, and Visual Studio did not correctly detect dependency updates on a second deploy, therefor not deploying the changed .DLL.

Update: The best solution is while updating the website trough Web Deploy, select the Remove additional files at destination option under File Publishing Options

like image 94
devSparkle Avatar answered Dec 25 '22 11:12

devSparkle


Enable Application Logging, Web Server, Detailed Error, and Failed Request tracing in your diagnostic options on Azure

https://azure.microsoft.com/en-us/documentation/articles/web-sites-enable-diagnostic-log/

FTP the logs down and see if this helps.

like image 27
Adam Tuliper Avatar answered Dec 25 '22 10:12

Adam Tuliper