- 最后登录
- 2010-4-12
- 注册时间
- 2006-9-7
- 威望
- 0
- 金钱
- 37
- 贡献
- 0
- 阅读权限
- 10
- 积分
- 37
- 日志
- 0
- 记录
- 0
- 帖子
- 9
- 主题
- 2
- 精华
- 0
- 好友
- 0

该用户从未签到  - 注册时间
- 2006-9-7
- 最后登录
- 2010-4-12
- 积分
- 37
- 精华
- 0
- 主题
- 2
- 帖子
- 9
|
Server Error in '/' Application.
--------------------------------------------------------------------------------
UPDATE 语句与 COLUMN FOREIGN KEY 约束 'FK_Participantor_Rank' 冲突。该冲突发生于数据库 'ChinaHRD',表 'Rank', column 'RankUID'。
语句已终止。
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Data.SqlClient.SqlException: UPDATE 语句与 COLUMN FOREIGN KEY 约束 'FK_Participantor_Rank' 冲突。该冲突发生于数据库 'ChinaHRD',表 'Rank', column 'RankUID'。
语句已终止。
Source Error:
Line 370: CRMHR mypar = im.GetParticipator(ParUID) as CRMHR;
Line 371: fillUpdate(mypar);
Line 372: im.ModifyParticipator(mypar);
Line 373: lblMessage.Text = "更新成功";
Line 374: jFunction.Value = mypar.CompanyPosition;
Source File: d:\Website\crm.myhrd.com\Participator\ParPersonEdit.aspx.cs Line: 372
Stack Trace:
[SqlException (0x80131904): UPDATE 语句与 COLUMN FOREIGN KEY 约束 'FK_Participantor_Rank' 冲突。该冲突发生于数据库 'ChinaHRD',表 'Rank', column 'RankUID'。
语句已终止。]
System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) +1779202
System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) +826
ChinaHRD.CRM.DAL.Admin.IParticipatorDataService.Update(ParticipatorDTO participatorInfo) +0
ChinaHRD.CRM.BLL.Admin.ParticipatorManager.ModifyParticipator(Participator participator) +46
Participator_ParPersonEdit.Update() in d:\Website\crm.myhrd.com\Participator\ParPersonEdit.aspx.cs:372
Participator_ParPersonEdit.btnSave_Click(Object sender, EventArgs e) in d:\Website\crm.myhrd.com\Participator\ParPersonEdit.aspx.cs:203
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +105
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +107
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +7
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +11
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5102
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42 |
|