天蓝色的严重错误 [英] Deply error to azure

查看:73
本文介绍了天蓝色的严重错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

现有部署。在Dev上做了一些更改并再次部署,但是收到错误。 如何覆盖和部署?

Have existing deploy. Made some changes on Dev and deploy again, but get error.  How to override and deploy anyway?

错误  1  .Net SqlClient数据提供程序:消息50000,级别16,状态127,行6检测到行。架构更新正在终止,因为可能会发生数据丢失。  C:\Program Files(x86)\ MSBuild \ Microsoft \ VisualStudio \ LightSwitch \v1.0 \ Microsoft.LightSwitch.targets  1112  10  ; FamilyBizNew

Error 1 .Net SqlClient Data Provider: Msg 50000, Level 16, State 127, Line 6 Rows were detected. The schema update is terminating because data loss might occur. C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\LightSwitch\v1.0\Microsoft.LightSwitch.targets 1112 10 FamilyBizNew

推荐答案

当我收到此错误时,我登录到生产数据库并删除该表中的数据。

When I get this error, I log into the production database and delete the data in that table.

如果那是不可能的(因为它是我需要的数据),我更改生产数据库表以匹配我试图发布的LightSwitch的模式。

If that is not possible (because it is data I need), I change the production database table to match the schema of the LightSwitch one I am trying to publish.


这篇关于天蓝色的严重错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆