Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

Maximum ASP
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
Aspose - The .NET & Java component publisher
 


  Sponsors  

Meet Our Sponsors

SourceGear - Tools for Developers
.: CounterSoft :.
telerik
ExactTarget email software solutions
Merak Mail Server
FCKeditor Project
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Install It!  DNN 4.8.1 Install Package (didn't try upgrade) SQL error
Previous Previous
 
Next Next
New Post 2/27/2008 5:37 AM
User is offline Fooberichu
340 posts
www.seeleyware.com
8th Ranked


DNN 4.8.1 Install Package (didn't try upgrade) SQL error 

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

 

 


-- Fooberichu
http://www.seeleyware.com
 
New Post 2/27/2008 6:58 AM
Online now... Mitch Sellers
5028 posts
www.mitchelsellers.com
3rd Ranked




Re: DNN 4.8.1 Install Package (didn't try upgrade) SQL error 

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


-Mitchel Sellers
MCITP, MCPD, MCTS
Director of Development
IowaComputerGurus Inc.
View Mitchel Sellers's profile on LinkedIn

Visit mitchelsellers.com for DotNetNuke tutorials, modules and technical help

Custom DotNetNuke Services Available (Development, etc).

My sites are hosted with 3Essentials
 
New Post 2/27/2008 7:05 AM
User is offline Fooberichu
340 posts
www.seeleyware.com
8th Ranked


Re: DNN 4.8.1 Install Package (didn't try upgrade) SQL error 

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. 


-- Fooberichu
http://www.seeleyware.com
 
New Post 2/27/2008 8:39 AM
User is offline Gary
89 posts
10th Ranked


Re: DNN 4.8.1 Install Package (didn't try upgrade) SQL error 

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
User is offline cathal connolly
2375 posts
www.cathal.co.uk
5th Ranked










Re: DNN 4.8.1 Install Package (didn't try upgrade) SQL error 

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

Cathal

 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Install It!  DNN 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.

 


AfterImage Internet Consulting and SEO Services
AfterImage provides search engine optimization (SEO), Internet consulting and hosting services for the Windows platform (IIS, ASP, SQL Server).
www.afterimage.nl/
Willhite & Sharron Realtors
Exemplary service for your Seattle Real Estate needs. It's what you deserve from your Realtor®!
www.alkihomes.com
Swanzey Internet Group LLC
DotNetNuke design, development, hosting, maintenance, and training. Translation of conventional (non-DNN) sites welcomed. Cleanup of existing DNN sites welcomed.
www.swanzey.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP