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 ...DNN 4.8.1 Install Package (didnDNN 4.8.1 Install Package (didn't try upgrade) SQL error
Previous
 
Next
New Post
2/27/2008 9:37 AM
 

Installing the DNN 4.8.1 update on my staging server over a 4.7 installation yields an error in the 4.8.1 sql provider file:

System.Data.SqlClient.SqlException: For DROP INDEX, you must give both the table and the index name, in the form tablename.indexname.
   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)


DROP INDEX IX_ScheduleHistory ON dbo.ScheduleHistory

 

 


-- Jon Seeley
DotNetNuke Modules
Custom DotNetNuke and .NET Development
http://www.seeleyware.com
 
New Post
2/27/2008 10:58 AM
 

That is good to know.....that script needs to be fixed as it will never execute.


-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
2/27/2008 11:05 AM
 

Yeah, I ended up removing that line from the script and then running it on my staging server (manually removed the index on that table as well), but this definitely needs to be fixed and redeployed for the masses.  I've been holding off upgrading to 4.7+ on my live server because of the "multiple controls with id..." error that has started surfacing lately (and I've only seen it in 4.7+) but testing things on my staging server in the meantime. 


-- Jon Seeley
DotNetNuke Modules
Custom DotNetNuke and .NET Development
http://www.seeleyware.com
 
New Post
2/27/2008 12:39 PM
 

I checked the Upgrade and Source packages and it has the same problem.

Line 72 in file \Providers\DataProviders\SqlDataProvider\04.08.01.SqlDataProvider.sql

Change

DROP INDEX IX_{objectQualifier}ScheduleHistory ON {databaseOwner}{objectQualifier}ScheduleHistory

To

DROP INDEX {databaseOwner}[{objectQualifier}ScheduleHistory].[IX_{objectQualifier}ScheduleHistory]

That should fix it



Gary
 
New Post
2/27/2008 1:54 PM
 

thanks, i've posted this in the core forums, so it can be picked up

Cathal


Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...DNN 4.8.1 Install Package (didnDNN 4.8.1 Install Package (didn't try upgrade) SQL error


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