Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForumForumGreat problem installing DNN 4.09 in production environmentGreat problem installing DNN 4.09 in production environment
Previous
 
Next
New Post
9/14/2008 9:45 PM
 

Hello... I am having several problems installing DNN database in production environment, specially concerning stored procedures.

The strangest thing happens with SP dnn_Forum_AA_StatisticsSiteUpdate

It does not compile because of this fragment of code:

 

-- Most viewed thread  
SET @MostViewsThreadID = ISNULL((
    SELECT
     TOP 1 T.ThreadID
    FROM
     dbo.dnn_Forum_Threads T (nolock)     
     INNER JOIN dbo.dnn_Forum_Forums F (nolock) ON T.ForumID = F.ForumID
     INNER JOIN dbo.dnn_Forum_Groups G (nolock) ON F.GroupID = G.GroupID       
    WHERE
     G.ModuleID = @ModuleID AND
     F.IsPrivate = 0
    ORDER By
     T.[Views] DESC
    ), 0)

IsPrivate column does not exist in dnn_Forum_Forums table. Why may be that? for me it could be easy to fix it by just adding a bit column with that name, but it would seem it was a patch, not a real solution to this.

Can you explain why is this?

Thanks

Jaime

 
New Post
9/15/2008 9:27 AM
 

Is this a fresh installation?  Which version of the forum did you install?


-Mitchel Sellers
Microsoft MVP, ASPInsider, DNN MVP
CEO/Director of Development - IowaComputerGurus Inc.
LinkedIn Profile

Visit mitchelsellers.com for my mostly DNN Blog and support forum.

Visit IowaComputerGurus.com for free DNN Modules, DNN Performance Tips, DNN Consulting Quotes, and DNN Technical Support Services
 
New Post
9/15/2008 3:36 PM
 

Hi Jaime,

if it is a new install of the forum module, I suggest to uninstall the module, and then check manual the Database if all Forum artifacts are deleted, if not do it manual.  Then check the permissions of your physical Portal paths.  After this try to re-install the module.  If you still getting this error you can ping me via MSN.

 

 
New Post
9/15/2008 8:27 PM
 

Thanks for answering..

I have uninstalled forums module and I saw that all tables and procedures relating to forums were deleted.

Then I downloaded forum module from http://www.dotnetnuke.com/tabid/125/default.aspx and installed forum module again, and tha same problem happened.

I viewed *.*.*.SqlDataProvider files of the installatin package, and I saw, for example, this code in the first file (03.00.00.SqlDataProvider):

CREATE TABLE {databaseOwner}{objectQualifier}Forum_Forums (
 [ForumID] [int] IDENTITY (1, 1) NOT NULL ,
 [GroupID] [int] NOT NULL ,
 [IsActive] [bit] NOT NULL ,
 [ParentID] [int] NOT NULL ,
 [Name] [nvarchar] (255) NOT NULL ,
 [Description] [nvarchar] (2048)  NULL ,
 [CreatedDate] [datetime] NULL ,
 [CreatedByUser] [int] NULL ,
 [UpdatedByUser] [int] NULL ,
 [UpdatedDate] [datetime] NULL ,
 [IsModerated] [bit] NULL ,
 [DaysToView] [int] NULL ,
 [SortOrder] [int] NULL ,
 [TotalPosts] [int] NULL ,
 [TotalThreads] [int] NULL ,
 [EnablePostStatistics] [bit] NULL ,
 [EnableAutoDelete] [bit] NULL ,
 [AutoDeleteThreshold] [int] NULL ,
 [MostRecentPostID] [int] NULL ,
 [MostRecentThreadID] [int] NULL ,
 [MostRecentPostAuthorID] [int] NULL ,
 [MostRecentPostDate] [datetime] NULL ,
 [PostsToModerate] [int] NULL ,
 [ForumType] [int] NULL ,
 [IsIntegrated] [bit] NULL ,
 [IntegratedModuleID] [int] NULL ,
 [IntegratedObjects] [nvarchar] (255)  NULL ,
 [IsPrivate] [bit] NULL ,
 [AuthorizedRoles] [nvarchar] (255)  NULL ,
 [AuthorizedEditRoles] [nvarchar] (255)  NULL
) ON [PRIMARY]
 

Tha is, the IsPrivate column is created in the Forum_Forums table.

Then I saw this code in 04.03.00.SqlDataProvider file:

UPDATE {databaseOwner}{objectQualifier}Forum_Forums
SET
 PublicView = 1
WHERE
 IsPrivate = 0
GO
 

Immediately after that command, this other is issued:

ALTER TABLE {databaseOwner}{objectQualifier}Forum_Forums DROP
COLUMN [IsPrivate]
GO

As you see, IsPrivate column is being deleted.

That's why all the procedures are created correctly when the module is installed but when trying to deploy, SQL erros are thrown.

Any further comments on this will be very appreciated.

Jaime

 
New Post
9/15/2008 9:56 PM
 

I have try it on a fresh DNN 4.9.0 instance and the Forum 4.4.3 installes without errors.  It looks it is happend with your permission settings on IIS, Paths or your database settings.

I must know your OS, the database server version and how you have done the database settings (databaseowner, objectqulifier, database permissions as so on).  Then I must know the IIS version and permission settings, and the permission setting of your physical paths.  Do you use the file database?

Is it on a hosting or on a local maschine?

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForumForumGreat problem installing DNN 4.09 in production environmentGreat problem installing DNN 4.09 in production environment


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out