[英]Deploy Azure mobile service code to Azure App Service
Currently, I have an existed App Service (A) that have been migrated from Mobile Service. 当前,我有一个已经从移动服务迁移的应用程序服务(A) 。 And now I want the newly created App service (C) work compatible with old code of (A).
现在,我希望新创建的App服务(C)与(A)的旧代码兼容。
I have deployed all files in wwwroot of (A) to (B) but unfortunately (B) can't access to Database request.service.tables.getTable('User').read....
will return Error: Internal Server Error
Does anyone know this issue? 我已将(A)的wwwroot中的所有文件部署到(B),但不幸的是(B)无法访问数据库
request.service.tables.getTable('User').read....
将返回Error: Internal Server Error
有人知道这个问题吗?
Is able to deploy old code of Mobile Service (or the App Service migrated from Mobile service) to the new App Service? 是否可以将旧版本的移动服务代码(或从移动服务迁移的应用程序服务)部署到新的应用程序服务?
There are two options for moving from Mobile Services to App Service: migration or upgrade. 从移动服务到应用服务有两种选择:迁移或升级。 Either option will give you access to all of the hosting capabilities of App Service:
两种选择都可以让您访问App Service的所有托管功能:
For more details, refer to Migrate your existing Azure Mobile Service to Azure App Service . 有关更多详细信息,请参阅将现有的Azure移动服务迁移到Azure应用服务 。
Since you have not provided complete error message details, I suggest you Enable diagnostics logging for web apps in Azure App Service in case if you haven't enabled earlier to check the complete error details. 由于尚未提供完整的错误消息详细信息,因此建议您在Azure App Service中启用Web应用程序的诊断日志记录 ,以防万一您之前未启用过检查完整错误详细信息的情况。
Hope this helps. 希望这可以帮助。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.