This seems to have worked. I first had to drop the FK Constraint, then let it Alter the Users table... then had to re-add the constraint. At the very beginning of the 03.00.13.SqlDataProvider script I added: ALTER TABLE DnnForge_NewsArticles_Article DROP CONSTRAINT FK_DnnForge_NewsArticles_Article_Users GO Then after this: ALTER TABLE Users ADD CONSTRAINT PK_Users PRIMARY KEY CLUSTERED ( UserID ) ON [PRIMARY] GO I added this to put the constraint back... did this with AuthorID... I hope that's right!! ALTER TABLE DnnForge_NewsArticles_Article WITH NOCHECK ADD CONSTRAINT FK_DnnForge_NewsArticles_Article_Users FOREIGN KEY ( AuthorID ) REFERENCES Users ( UserID ) ON DELETE CASCADE NOT FOR REPLICATION GO Anyone care to verify? SQL scripting is not my strong suit. Drinking is......  p.s. I still get an error, unrelated I believe: Server: Msg 2705, Level 16, State 4, Line 2 Column names in each table must be unique. Column name 'Email' in table 'Users' is specified more than once. but I'm choosing to ignore it.  |