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 ...Upgrade to DNN 5 - log errorsUpgrade to DNN 5 - log errors
Previous
 
Next
New Post
8/2/2009 8:52 PM
 

I have tried upgrading to 5.1.1 from my site that was at 4.9.2.  I get the following errors:

00:00:00.042 -   Executing Script: 05.00.00.SqlDataProvider Error! (see 05.00.00.log for more information)
00:00:05.837 -   Executing Script: 05.00.01.SqlDataProvider Error! (see 05.00.01.log for more information)
00:00:07.859 -   Executing Script: 05.01.00.SqlDataProvider Error! (see 05.01.00.log for more information)
00:00:13.892 -   Executing Script: 05.01.01.SqlDataProvider Error! (see 05.01.01.log for more information)

Each of these files has essentiallly the same error message:

System.Data.SqlClient.SqlException: Incorrect syntax near '3'.
   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 Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteNonQuery(SqlConnection connection, CommandType commandType, String commandText, SqlParameter[] commandParameters)
   at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteNonQuery(String connectionString, CommandType commandType, String commandText, SqlParameter[] commandParameters)
   at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteNonQuery(String connectionString, CommandType commandType, String commandText)
   at DotNetNuke.Data.SqlDataProvider.GrantStoredProceduresPermission(String Permission, String LoginOrRole)

if exists (select * from dbo.sysusers where name='public')  begin    declare @exec nvarchar(2000)     declare @name varchar(150)     declare sp_cursor cursor for select o.name as name     from dbo.sysobjects o     where ( OBJECTPROPERTY(o.id, N'IsProcedure') = 1 or OBJECTPROPERTY(o.id, N'IsExtendedProc') = 1 or OBJECTPROPERTY(o.id, N'IsReplProc') = 1 )     and OBJECTPROPERTY(o.id, N'IsMSShipped') = 0     and o.name not like N'#%%'     and (left(o.name,len('')) = '' or left(o.name,7) = 'aspnet_')     open sp_cursor     fetch sp_cursor into @name     while @@fetch_status >= 0       begin        select @exec = 'grant EXECUTE on ' +  @name  + ' to [public]'        execute (@exec)        fetch sp_cursor into @name       end     deallocate sp_cursor  end

If I check some of the tables/objects affected by all the scripts, it seems the scripts actually worked because I can see the changes in my DB.  So maybe the original errors are misleading?

ps I also did a restore of original site and upgraded to 4.9.4 first and then to 5.1.1 and the same thing happened

 
New Post
8/3/2009 4:57 AM
 

 please make sure, sql server, database and all tables use Latin_CI_AS (case insensitive) as default collation.


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
8/3/2009 5:26 PM
 

My SQL Server Express 2005 has a default collation of SQL_Latin1_General_CP1_CI_AS - is this the same?

Thanks, Richard

 
New Post
8/5/2009 11:03 PM
 

 Sebastian,

On my machine, I have found that the server is having the collation Latin_CI_AS, but the tables are having Latin_CI_AI.

How does this happen? The tables are created by the installation package scripts right?

Do we have to change any settings before installing to get this collation for all the tables?

Regards,

Jiju

 
New Post
8/6/2009 3:38 AM
 

Hello,

 

I got exactly the same problème for a client who wants to migrate from dnn 4.9.4 pro to a 5.1.1 pro.

The database is French_CI_AS and the same for the server. I cannot change this param because the sql server is used for other databases.

I don't understand why dnn need to apply a GRANT Execute on storeproc when the account is dbo, it cannot work.

Regards,

 

JB


Jean-Baptiste Bouillet
Developer - Aricie
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Upgrade to DNN 5 - log errorsUpgrade to DNN 5 - log errors


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