This is the complete error I get:
Msg 547, Level 16, State 0, Line 2
The INSERT statement conflicted with the FOREIGN KEY constraint "FK_BugNet_Issues_aspnet_Users2". The conflict occurred in database "bugnet", table "dbo.aspnet_Users", column 'UserId'.
Msg 1088, Level 16, State 11, Line 3
Cannot find the object "BugNet_ProjectCustomFieldValues" because it does not exist or you do not have permissions.
Msg 1088, Level 16, State 11, Line 3
Cannot find the object "BugNet_IssueNotifications" because it does not exist or you do not have permissions.
Msg 1088, Level 16, State 11, Line 3
Cannot find the object "BugNet_IssueHistory" because it does not exist or you do not have permissions.
Msg 1088, Level 16, State 11, Line 3
Cannot find the object "BugNet_IssueComments" because it does not exist or you do not have permissions.
Msg 1088, Level 16, State 11, Line 3
Cannot find the object "BugNet_IssueAttachments" because it does not exist or you do not have permissions.
Msg 208, Level 16, State 1, Line 4
Invalid object name 'BugNet_RelatedIssues'.
Msg 1088, Level 16, State 11, Line 3
Cannot find the object "BugNet_IssueWorkReports" because it does not exist or you do not have permissions.
Msg 1088, Level 16, State 11, Line 3
Cannot find the object "BugNet_ProjectMailBoxes" because it does not exist or you do not have permissions.
Msg 4701, Level 16, State 1, Line 3
Cannot find the object "BugNet_UserProfiles" because it does not exist or you do not have permissions.
Msg 3902, Level 16, State 1, Line 2
The COMMIT TRANSACTION request has no corresponding BEGIN TRANSACTION.