hi,
i have also an problem by upgrade from 1.9.1.8 to 1.9.3
FILE:
mssql/constraints.sql
ERROR:
The ALTER TABLE statement conflicted with the FOREIGN KEY constraint "FK_yaf_Forum_yaf_Message". The conflict occurred in database "visendo_forum_online", table "dbo.yaf_Message", column 'MessageID'.
STATEMENT:
if not exists(select 1 from dbo.sysobjects where name='FK_yaf_Forum_yaf_Message' and parent_obj=object_id('[dbo].[yaf_Forum]') and OBJECTPROPERTY(id,N'IsForeignKey')=1)
alter table [dbo].[yaf_Forum] add constraint [FK_yaf_Forum_yaf_Message] foreign key (LastMessageID) references [dbo].[yaf_Message] (MessageID)
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.Exception: FILE:
mssql/constraints.sql
ERROR:
The ALTER TABLE statement conflicted with the FOREIGN KEY constraint "FK_yaf_Forum_yaf_Message". The conflict occurred in database "visendo_forum_online", table "dbo.yaf_Message", column 'MessageID'.
STATEMENT:
if not exists(select 1 from dbo.sysobjects where name='FK_yaf_Forum_yaf_Message' and parent_obj=object_id('[dbo].[yaf_Forum]') and OBJECTPROPERTY(id,N'IsForeignKey')=1)
alter table [dbo].[yaf_Forum] add constraint [FK_yaf_Forum_yaf_Message] foreign key (LastMessageID) references [dbo].[yaf_Message] (MessageID)
Any ideas & help would be appreciated...
thank you
cosmin
Edited by user
14 years ago
|
Reason: Not specified