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

HomeHomeUsing DNN Platf...Using DNN Platf...Upgrading DNN P...Upgrading DNN P...SQL Provider error upgrading from 5.4.4 to 5.5.0SQL Provider error upgrading from 5.4.4 to 5.5.0
Previous
 
Next
New Post
8/19/2010 5:32 AM
 
Hi!
I have upgraded 6 sites now to 5.5 ( 4 test and developmentsites and 2 live sites ). In one instance , ofcourse in the first of the live sites I upgraded I get an error on the SQL provider. I have tracked it down to this part of the sql-code, edited to run in the SQL executor on the site :

/* Copy ModuleTitle, Header, Footer to TabModule table */
/*******************************************************/
-- this was done in 5.2.0 script - but any modules added since would not be updated - so redo
UPDATE dbo.TabModules
SET ModuleTitle = M.ModuleTitle,
Header = M.Header,
Footer = M.Footer
FROM dbo.Modules M
INNER JOIN dbo.TabModules TM ON M.ModuleID = TM.ModuleID
GO

Error message:
System.Data.SqlClient.SqlException: Invalid column name 'ModuleTitle'. Invalid column name 'Header'. Invalid column name 'Footer'. 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 ConnectionString, String SQL) at DotNetNuke.Data.SqlDataProvider.ExecuteScript(String ConnectionString, String Script) UPDATE dbo.TabModules SET ModuleTitle = M.ModuleTitle, Header = M.Header, Footer = M.Footer FROM dbo.Modules M INNER JOIN dbo.TabModules TM ON M.ModuleID = TM.ModuleID

Since it  only occurs once in 6 sites I do not know if I should report it in Gemini...
Any solution to this, or can I just ignore it?

BR
Jari Ivanoff

 
New Post
8/19/2010 8:56 AM
 
please record it as an error at support.dotnetnuke.com . I would not ignore it as well - instead I suggest you check the ~\Providers\DataProviders\SqlDataProvider folder and check the 05.02.00.log.resources file and ensure it was empty (this was the version where the columns were added to the TabModules table.

If it's empty, please check the database and make sure that TabModules has ModuleTitle, Header and Footer fields.

If it does not I recommend you roll back and retry, I'm not sure why such basic instructions (i.e. 3 ALTER TABLE ) would fail, so I recommend you check your database user has rights to alter tables (typically most peoples database user has dbo rights)

Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
8/19/2010 9:15 AM
 
Hi! Thanks for Your answer!
The 05.02.00 log is empty and the table has the fields mentioned. I do have rights to alter table too..
It is also reported as a bug now.

BR
Jari
 
New Post
8/19/2010 9:26 AM
 
can you check the modules table has those fields also?

Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
8/19/2010 9:37 AM
 
Hi again!
The Modules Table did not have the columns,  I added them and then the script executed without problems...

BR
Jari
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Upgrading DNN P...Upgrading DNN P...SQL Provider error upgrading from 5.4.4 to 5.5.0SQL Provider error upgrading from 5.4.4 to 5.5.0


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