HomeHomeGetting StartedGetting StartedInstalling DotN...Installing DotN...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 5: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 6:58 AM
 

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


-Mitchel Sellers
Microsoft C# MVP, MCITP
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 Consulting Quotes, and DNN Technical Support Services

I recommend PowerDNN and 3Essentials for DotNetNuke Hosting and BaseCamp for project management
 
New Post
2/27/2008 7: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 8:39 AM
 

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 9:54 AM
 

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

Cathal

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DotN...Installing DotN...DNN 4.8.1 Install Package (didnDNN 4.8.1 Install Package (didn't try upgrade) SQL error


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

Attend A Webinar
Free Demo Site
Download DotNetNuke Professional Edition Trial
Have Someone Contact Me
Have Someone Contact Me
Charlotte DoDNN

Like Us on Facebook Join our Network on LinkedIn Follow DNN Corporate on Twitter Follow DNN on Twitter

Advertisers

PowerDNN
r2integrated
Telerik JustCode Free

DotNetNuke Scoop!

Sponsors

DotNetNuke Corporation

DotNetNuke Corp. is the steward of the DotNetNuke open source project, the most widely adopted Web Content Management Platform for building web sites and web applications on Microsoft. Organizations use DotNetNuke to quickly develop and deploy interactive and dynamic web sites, intranets, extranets and web applications. The DotNetNuke platform is available in a free Community and subscription-based Professional and Enterprise Editions with an Elite Support option. DotNetNuke Corp. also operates the DotNetNuke Store where users purchase third party apps for the platform.