I'm getting the following error while trying to publish my database using Publish Database Wizard from Microsoft SQL Server Management Studio. Anyone knows what the problem is.
Thanks.
TITLE: SqlManagerUI
------------------------------
An error occurred while trying to publish the following script:IF NOT EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[Blog_Upgrade_ForumThreadsList]') AND type in (N'P', N'PC'))
BEGIN
EXEC dbo.sp_executesql @statement = N'
CREATE PROCEDURE [dbo].[Blog_Upgrade_ForumThreadsList]
@ForumID int
AS
SELECT
[ThreadID],
[ForumID],
[Views],
[LastPostedPostID],
[Replies],
[IsPinned],
[PinnedDate],
[Image],
[ObjectTypeCode],
[ObjectID]
FROM Forum_Threads
WHERE ForumID = @ForumID
'
END
------------------------------
ADDITIONAL INformATION:
Invalid column name 'Image'.
Invalid column name 'ObjectTypeCode'. (System.Web.Services)
------------------------------