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 ForumsBlogBlogmissing dbo.Blog_Blogs and dbo.Blog_Settings in Stored Procedures of my databasemissing dbo.Blog_Blogs and dbo.Blog_Settings in Stored Procedures of my database
Previous
 
Next
New Post
8/29/2007 6:40 AM
 

Hi,

I don't know what's happened.. but my blog missing dbo.Blog_Blogs and dbo.Blog_Settings in Stored Procedures (my database) where aren't presents.

I have tried a new installation module but nothing to do..

What I can solve this problem?

 
New Post
8/29/2007 10:18 AM
 

Sh@wn,

just installing the module OVER the existing one will not work, because, by design, ONLY the files will be overwritten and NOT the SQL. Therefore the stored procedure you are looking for will not make back in.

What you will need to do is UNINSTALL the Blog module and then REINSTALL - BUT... you should only do this if you do not have any blogs already created as uninstalling will WIPE everything OFF!

Your next option is to open the Blog module package and look in the SQLDataProvider files (which contain the SQL scripts) and located the code that create the procedure. Copy it and past in the HOST >> SQL page and click execute.

Start looking for the sprocs from the top of the SQL scripts - 03.03.01 for instance should be the first you look into, if you do not find it then look for it in 03.03.00 and so on. This is because you already want the latest version of the script.

I hope this helps.

-- Be carefull next time when snooping around the database :) --


Maxiom TechnologyAntonio Chagoury | Microsoft MVP
Maxiom Technology
Professional .net & DotNetNuke Solutions
web: www.maxiomtech.com
blog: www.cto20.com
twitter: @antoniochagoury & @maxiomtech

 
New Post
8/29/2007 5:50 PM
 

Thank you Antonio,

my error is appeared after site transfer.

I have looked in the (03.03.00) SQLDataProvider file  and I have seen Blog_Blogs SQL scripts only, while I have seen Blog_Settings in (03.01.21) SQLDataProvider file.

Unfortunately, I'm not able to create the procedure.

These are the link where you can quickly see the files:

http://www.etruscancharter.com/mailinglist/public/03.03.00.SqlDataProvider.txt

http://www.etruscancharter.com/mailinglist/public/03.01.21.SqlDataProvider.txt

Can you help me to recover these scripts?

 
New Post
8/30/2007 8:40 AM
 

Have you tried running those script in the HOST >> SQL page?

Also, note that you mave to change the word ALTER with the word CREATE in the scripts, since the do not exist in your db yet.


Maxiom TechnologyAntonio Chagoury | Microsoft MVP
Maxiom Technology
Professional .net & DotNetNuke Solutions
web: www.maxiomtech.com
blog: www.cto20.com
twitter: @antoniochagoury & @maxiomtech

 
New Post
9/1/2007 9:52 AM
 

Antonio Chagoury wrote

Have you tried running those script in the HOST >> SQL page?

Also, note that you mave to change the word ALTER with the word CREATE in the scripts, since the do not exist in your db yet.

Hi,

I have tried to running those scripts ( changinng >ALTER with CREATE ) in host > sql but I have many errors. This is I can see:

System.Data.SqlClient.SqlException: Incorrect syntax near the keyword 'ADD'. Incorrect syntax near 'UseCaptcha'. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async) at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe) at System.Data.SqlClient.SqlCommand.ExecuteNonQuery() at DotNetNuke.Data.SqlDataProvider.ExecuteADOScript(String SQL) at DotNetNuke.Data.SqlDataProvider.ExecuteScript(String Script, Boolean UseTransactions) /* captcha for comments */ CREATE TABLE dbo.Blog_Blogs ADD UseCaptcha bit NULL System.Data.SqlClient.SqlException: Incorrect syntax near 'bit'. Must declare the scalar variable "@AllowTrackbacks". at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async) at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe) at System.Data.SqlClient.SqlCommand.ExecuteNonQuery() at DotNetNuke.Data.SqlDataProvider.ExecuteADOScript(String SQL) at DotNetNuke.Data.SqlDataProvider.ExecuteScript(String Script, Boolean UseTransactions) CREATE PROCEDURE dbo.Blog_UpdateBlog @PortalID int, @BlogID int, @ParentBlogID int = -1, @UserID int, @Title nvarchar(512), @Description nvarchar(1024), @Public bit, @AllowComments bit, @AllowAnonymous bit, @ShowFullName bit, @Culture nvarchar(10), @DateFormat nvarchar(50), @TimeZone int, @Syndicated bit, @SyndicateIndependant bit, @SyndicationURL nvarchar(1024), @SyndicationEmail nvarchar(255), @EmailNotification bit, @llowTrackbacks bit, @AutoTrackback bit, @MustApproveComments bit, @MustApproveAnonymous bit, @MustApproveTrackbacks bit, @UseCaptcha bit AS UPDATE dbo.Blog_Blogs SET [PortalID] = @PortalID, [ParentBlogID] = @ParentBlogID, [UserID] = @UserID, [Title] = @Title, [Description] = @Description, [Public] = @Public, [AllowComments] = @AllowComments, [AllowAnonymous] = @AllowAnonymous, [ShowFullName] = @ShowFullName, [Culture] = @Culture, [DateFormat] = @DateFormat, [TimeZone] = @TimeZone, [Syndicated] = @Syndicated, [SyndicateIndependant] = @SyndicateIndependant, [SyndicationURL] = @SyndicationURL, [SyndicationEmail] = @SyndicationEmail, [EmailNotification] = @EmailNotification, [AllowTrackbacks] = @AllowTrackbacks, [AutoTrackback] = @AutoTrackback, [MustApproveComments] = @MustApproveComments, [MustApproveAnonymous] = @MustApproveAnonymous, [MustApproveTrackbacks] = @MustApproveTrackbacks, [UseCaptcha] = @UseCaptcha WHERE [BlogID] = @BlogID System.Data.SqlClient.SqlException: There is already an object named 'Blog_UpdateEntry' in the database. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async) at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe) at System.Data.SqlClient.SqlCommand.ExecuteNonQuery() at DotNetNuke.Data.SqlDataProvider.ExecuteADOScript(String SQL) at DotNetNuke.Data.SqlDataProvider.ExecuteScript(String Script, Boolean UseTransactions) CREATE PROCEDURE dbo.Blog_UpdateEntry @BlogID int, @EntryID int, @Title nvarchar(255), @Description nvarchar(1024), @Entry ntext, @Published bit, @AllowComments bit, @AddedDate datetime, @DisplayCopyright bit, @Copyright nvarchar(256), @PermaLink nvarchar(1024) AS UPDATE dbo.Blog_Entries SET [BlogID] = @BlogID, [Title] = @Title, [Description] = @Description, [Entry] = @Entry, /*[AddedDate] = @AddedDate,*/ [AddedDate] = GetUTCDate(), [Published] = @Published, [AllowComments] = @AllowComments, [DisplayCopyright] = @DisplayCopyright, [Copyright] = @Copyright, [PermaLink] = @PermaLink WHERE [EntryID] = @EntryID If @Published = 1 UPDATE dbo.Blog_Blogs SET [LastEntry] = GetUTCDate() WHERE [BlogID] = @BlogID

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsBlogBlogmissing dbo.Blog_Blogs and dbo.Blog_Settings in Stored Procedures of my databasemissing dbo.Blog_Blogs and dbo.Blog_Settings in Stored Procedures of my database


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