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 from 4 to 5 problemsUpgrade from 4 to 5 problems
Previous
 
Next
New Post
7/29/2009 7:39 AM
 

 

Hey All,
 
     I’m trying to upgrade DNN from 4 to 5 and I keep getting an error. I follow the “read me” documentation that is included in the upgrade folder, but no luck. I’ve included the “Upgrade Status Report”. I’ve also tried changing the customErrors tag to “off” like it suggests, but that does not give me any more detail about the error. Any suggestions would be GREATLY appreciated. If I need to supply anymore information please ask.
 
Thanks,
Ross
Upgrading DotNetNuke
Current Assembly Version: 05.01.00
Current Database Version: 04.08.02
 
Upgrade Status Report
00:00:00.890 - Upgrading to Version: 05.01.00
00:00:01.359 -   Executing Script: 04.09.00.SqlDataProvider 
Success
00:00:02.218 -   Executing Script: 04.09.01.SqlDataProvider 
Success
00:00:02.374 -   Executing Script: 05.00.00.SqlDataProvider 
Error! (see 05.00.00.log for more information)
00:00:03.703 -   Executing Script: 05.00.01.SqlDataProvider 
Success
00:00:03.937 -   Executing Script: 05.01.00.SqlDataProvider 
Error! (see 05.01.00.log for more information)
00:00:05.062 -   Executing Application Upgrades: 04.09.00 
Success
00:00:05.062 -   Executing Application Upgrades: 04.09.01 
Success
00:00:05.062 -   Executing Application Upgrades: 05.00.00 
Error!
00:00:06.609 -   Executing Application Upgrades: 05.00.01 
Success
00:00:06.624 -   Executing Application Upgrades: 05.01.00 
Error!
00:00:06.656 -   Cleaning Up Files: 04.09.00 
Success
00:00:06.687 -   Cleaning Up Files: 04.09.01 
Success
00:00:06.687 -   Cleaning Up Files: 05.00.00 
Success
00:00:06.921 -   Cleaning Up Files: 05.00.01 
Success
00:00:06.937 -   Cleaning Up Files: 05.01.00 
Success
00:00:06.968 -   Updating Config Files: 04.09.00 
Success
00:00:06.984 -   Updating Config Files: 04.09.01 
Success
00:00:06.984 -   Updating Config Files: 05.00.00 
Success
00:00:06.984 -   Updating Config Files: 05.00.01 
Success
00:00:06.984 -   Updating Config Files: 05.01.00 
Success
00:00:06.984 - Performing General Upgrades
00:00:07.078 - Installing Optional Modules:
00:00:07.078 -   Installing Package File HTML_Community_05.01.00_Install:
 

Server Error in '/dnn' Application.

Runtime Error
Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.

Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".

 
<!-- Web.Config Configuration File -->
 
<configuration>
    <system.web>
        <customErrors mode="Off"/>
    </system.web>
</configuration>


Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.

 
<!-- Web.Config Configuration File -->
 
<configuration>
    <system.web>
        <customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
    </system.web>
</configuration>

 
 
 
New Post
7/29/2009 9:09 AM
 

5.1.1 was released yesterday.
Please download and upgrade to 5.1.1 (from 4.8.2).

Thanks.



Alex Shirley


 
New Post
7/29/2009 10:36 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
7/30/2009 2:50 AM
 

Mark it's better you start your own thread - your issue could be completely different. Thanks.



Alex Shirley


 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Upgrade from 4 to 5 problemsUpgrade from 4 to 5 problems


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