Azure App Service Web App 编译错误
Azure App Service Web App compilation error
通过 Azure 网络部署成功发布我的应用程序后,我在打开网站时遇到此错误:
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?
在 Azure 上的诊断选项中启用应用程序日志记录、Web 服务器、详细错误和失败请求跟踪
https://azure.microsoft.com/en-us/documentation/articles/web-sites-enable-diagnostic-log/
FTP 日志记录下来,看看是否有帮助。
此编译错误是由于过去上传的 .DLL 存在问题。如果您之前使用 web 部署上传,并且 Visual Studio 没有正确检测到第二次部署的依赖更新,因此没有部署更改的 .DLL,就会发生这种情况。
更新: 最好的解决方案是在通过 Web Deploy 更新网站时,select File Publishing Options
[=12 下的 Remove additional files at destination
选项=]
通过 Azure 网络部署成功发布我的应用程序后,我在打开网站时遇到此错误:
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?
在 Azure 上的诊断选项中启用应用程序日志记录、Web 服务器、详细错误和失败请求跟踪
https://azure.microsoft.com/en-us/documentation/articles/web-sites-enable-diagnostic-log/
FTP 日志记录下来,看看是否有帮助。
此编译错误是由于过去上传的 .DLL 存在问题。如果您之前使用 web 部署上传,并且 Visual Studio 没有正确检测到第二次部署的依赖更新,因此没有部署更改的 .DLL,就会发生这种情况。
更新: 最好的解决方案是在通过 Web Deploy 更新网站时,select File Publishing Options
[=12 下的 Remove additional files at destination
选项=]