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

HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...DNN6.1.1 install error - alter dbo.Tabs failed - DB 6.0.0 install scriptDNN6.1.1 install error - alter dbo.Tabs failed - DB 6.0.0 install script
Previous
 
Next
New Post
12/7/2011 4:11 PM
 

Hi,

I performed an web-install through installwizard using MSSQL2005 db.
App permissions and DBO permissions are set before install.

Install starts with Creating database - 6.0.0 scrip. After a minute of db-creation it fails. The DotNetNuke.Data.log file displays a Cannot alter table dbo.Tabs. When connecting through SQL Manager all tables are there, but not the Tabs table.
It looks like somewhere a create table is not being performed.

After that I created a new environment, new db, new domain package (it's on shared hosting), and exactly the same problem. Am I doing something wrong or is the install procedure for 6.1.1 not ok?

Thanks for any tips!
Jan-Pieter

 

 

 

System.Data.SqlClient.SqlException: Cannot alter table 'dbo.Tabs' because this table does not exist in database 'stido_db611'.
   at System.Data.SqlClient.SqlConnection. (SqlException exception, Boolean breakConnection)
   at System.Data.SqlClient.SqlInternalConnection. (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)

 
New Post
12/7/2011 5:17 PM
 

Tried a complete reinstall, but now using the normal install.aspx (instead of wizard).

Steps performed:
1. cleaned db
2. removed all files and uploaded all files again
3. altered web.config for SQL2005 db
4. loaded domain.com/install/install.aspx

Same issue, however more info here:

Installing DotNetNuke

Version: 06.01.01

Installation Status Report

00:00:00.483 - Checking File and Folder permissions Success
00:00:00.529 - Installing Version: 06.00.00
00:00:00.561 - Executing Script: DotNetNuke.Schema.SqlDataProvider Error! (see DotNetNuke.Schema.log.resources for more information)
00:00:08.399 - Executing Script: DotNetNuke.Data.SqlDataProvider Error! (see DotNetNuke.Data.log.resources for more information)
00:00:10.176 - Installing MemberRole Provider:
00:00:10.176 - Executing Script: InstallCommon
00:00:10.394 - Executing Script: InstallMembership
00:00:11.578 - Executing Script: InstallProfile
00:00:12.404 - Executing Script: InstallRoles
00:00:12.529 - Upgrading to Version: 06.01.01
00:00:12.607 - Executing Script: 06.00.01.SqlDataProvider Error! (see 06.00.01.log.resources for more information)
00:00:12.747 - Executing Script: 06.00.02.SqlDataProvider Success
00:00:12.747 - Executing Script: 06.01.00.SqlDataProvider Error! (see 06.01.00.log.resources for more information)
00:00:14.555 - Executing Script: 06.01.01.SqlDataProvider Success
00:00:14.571 - Executing Application Upgrades: 06.00.01 Success
00:00:14.695 - Executing Application Upgrades: 06.00.02 Error!
00:00:14.945 - Executing Application Upgrades: 06.01.00 Error!
00:00:15.708 - Executing Application Upgrades: 06.01.01 Success
00:00:15.708 - Cleaning Up Files: 06.00.01 Success
00:00:15.708 - Cleaning Up Files: 06.00.02 Success
00:00:15.708 - Cleaning Up Files: 06.01.00 Success
00:00:15.708 - Cleaning Up Files: 06.01.01 Success
00:00:15.880 - Updating Config Files: 06.00.01 Success
00:00:16.051 - Updating Config Files: 06.00.02 Success
00:00:16.051 - Updating Config Files: 06.01.00 Success
00:00:16.347 - Updating Config Files: 06.01.01 Success
00:00:16.347 - Performing General Upgrades
00:00:16.410 - Loading Host Settings:
00:00:16.737 - Configuring SuperUser:
00:00:18.171 - Synchronizing Host Files:

 

In the DotNetNuke.Schema.log.resources lots of errors. Only the first ones:

System.Data.SqlClient.SqlException: Line 12: Incorrect syntax near 'max'.
   at System.Data.SqlClient.SqlConnection. (SqlException exception, Boolean breakConnection)
   at System.Data.SqlClient.SqlInternalConnection. (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 TABLE dbo.[Messaging_Messages]
(
[MessageID] [bigint] NOT NULL IDENTITY(1, 1),
[PortalID] [int] NOT NULL,
[FromUserID] [int] NOT NULL,
[ToUserName] [nvarchar] (50) NULL,
[FromUserName] [nvarchar] (50) NULL,
[ToUserID] [int] NULL,
[ToRoleID] [int] NULL,
[Status] [tinyint] NOT NULL,
[Subject] [nvarchar] (max) NULL,
[Body] [nvarchar] (max) NULL,
[Date] [datetime] NOT NULL,
[Conversation] [uniqueidentifier] NOT NULL,
[ReplyTo] [bigint] NULL,
[AllowReply] [bit] NOT NULL,
[SkipPortal] [bit] NOT NULL,
[EmailSent] [bit] NOT NULL,
[EmailSentDate] [datetime] NULL,
[EmailSchedulerInstance] [uniqueidentifier] NULL
)

System.Data.SqlClient.SqlException: Cannot alter table 'dbo.Messaging_Messages' because this table does not exist in database 'stido_db611'.
   at System.Data.SqlClient.SqlConnection. (SqlException exception, Boolean breakConnection)
   at System.Data.SqlClient.SqlInternalConnection. (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)

 


Any clue on this?
Thanks!
Jan-Pieter

 
New Post
12/8/2011 9:23 AM
 
Although you indicated that you are using MS SQL Server 2005, is there any possibility that either the server or database compatibility level might be set to 80 (MS SQL Server 2000) which would not all the use of nvarchar(max) data type, etc.? DotNetNuke v 5.02.00 and later requires MS SQL Server 2005 (compatibility level 90) or 2008 (compatibility level 100).

Bill, WESNet Designs
Team Lead - DotNetNuke Gallery Module Project (Not Actively Being Developed)
Extensions Forge Projects . . .
Current: UserExport, ContentDeJour, ePrayer, DNN NewsTicker, By Invitation
Coming Soon: FRBO-For Rent By Owner
 
New Post
12/8/2011 4:09 PM
 

Hi William,

It's even worser than that. I was pretty sure the SQL version was 2005, but in fact the server was still running MSSQL2000..... That has cost me a lot of hours.....
So I will install again on SQL2005.... You can assumme this thread answered..

Only one thing that is bothering me: does the DNN install-script not check the DB version? Should be not too difficult.....

Thanks for your reply and best regards,
Jan-Pieter

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...DNN6.1.1 install error - alter dbo.Tabs failed - DB 6.0.0 install scriptDNN6.1.1 install error - alter dbo.Tabs failed - DB 6.0.0 install script


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