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

HomeHomeUsing DNN Platf...Using DNN Platf...Upgrading DNN P...Upgrading DNN P...ERRORS Upgrading 5.1.4 Site to 5.2.0ERRORS Upgrading 5.1.4 Site to 5.2.0
Previous
 
Next
New Post
10/31/2010 1:09 AM
 
I have been trying to upgrade from 5.1.4 to a higher version, and it has been failing, the problem is the \Providers\DataProviders\SqlDataProvider folder  05.02.00.log.resources file always empty?


Executing Script: 05.02.00.SqlDataProvider  (see 05.02.00.log for more information) Error!
Executing Application Upgrades: 05.02.00 Success
Cleaning Up Files: 05.02.00 Success
Updating Config Files: 05.02.00 Error!
Performing General Upgrades
Installing Optional Modules:
Installing Package File HTML_Community_05.02.00_Install: Success
Installing Package File UCanUse.Core.1.9.0-5: Success
Installing Optional Skins:
Installing Optional Containers:
Installing Optional Languages:
Installing Optional Providers:
Installing Package File AspNetMembershipProvider_05.02.00_Install: Success
Installing Package File CorePermissionProvider_05.01.01_Install: Success
Installing Package File DatabaseLoggingProvider_05.01.01_Install: Success
Installing Package File DNNMembershipProvider_05.01.03_Install: Success
Installing Package File DNNMenuNavigationProvider_05.01.00_Install: Success
Installing Package File DNNTreeNavigationProvider_05.01.00_Install: Success
Installing Package File FckHtmlEditorProvider_02.00.04_Install: Success
Installing Package File FileBasedCachingProvider_05.01.03_Install: Success
Installing Package File FileModuleCachingProvider_05.02.00_Install: Error!
Installing Package File MemoryModuleCachingProvider_05.02.00_Install: Error!
Installing Package File SchedulingProvider_05.02.00_Install: Success
Installing Package File SearchIndexProvider_05.01.00_Install: Success
Installing Package File SearchProvider_05.01.01_Install: Success
Installing Package File SolpartMenuNavigationProvider_05.01.00_Install: Success
Installing Optional AuthSystems:
Installing Package File LiveID_01.00.01_Install: Success
Installing Package File OpenID_02.00.00_Install: Success


Any feedback is appreciated.

Regards,
 
New Post
10/31/2010 1:45 AM
 
Have you set both connection strings on the web.config file?
 
New Post
10/31/2010 2:14 AM
 
Hi:

Yes, both connection strings in the web.config were set.

Regards,

 
New Post
10/31/2010 2:40 AM
 

Hi:

With my last attempt the SqlDataProvider  log was not empty, here it is:

System.Data.SqlClient.SqlException: Cannot insert the value NULL into column 'CultureCode', table 'Portal.dbo.PortalLocalization'; column does not allow nulls. INSERT fails.
Cannot insert the value NULL into column 'CultureCode', table 'Portal.dbo.PortalSettings'; column does not allow nulls. UPDATE fails.
The statement has been terminated.
The statement has been terminated.
   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)


/*  script to move settings for portal default langugage here*/

/* migrate portal values to portalsettings */
DECLARE @PortalID int
DECLARE @PortalName nvarchar(128)
DECLARE @LogoFile nvarchar(50)
DECLARE @FooterText nvarchar(100)
DECLARE @Description nvarchar(500)
DECLARE @KeyWords nvarchar(500)
DECLARE @BackgroundFile nvarchar(50)
DECLARE @HomeTabId int
DECLARE @LoginTabId int
DECLARE @UserTabId int
DECLARE @AdminTabId int
DECLARE @SplashTabId int
DECLARE @DefaultLanguage nvarchar(10)

--Iterate through each portal
DECLARE Portals_Cursor CURSOR FOR
SELECT PortalID, PortalName, LogoFile, FooterText, Description, KeyWords, BackgroundFile, HomeTabId, LoginTabId, UserTabId, AdminTabId, SplashTabId,
                      DefaultLanguage
FROM         dbo.Portals

OPEN Portals_Cursor
--get first
FETCH NEXT FROM Portals_Cursor
into @PortalID, @PortalName, @LogoFile, @FooterText, @Description, @KeyWords, @BackgroundFile, @HomeTabId, @LoginTabId, @UserTabId, @AdminTabId, @SplashTabId, @DefaultLanguage
WHILE @@FETCH_STATUS = 0
   BEGIN
       exec dbo.InsertPortalLocalization @PortalID,@DefaultLanguage, @PortalName, @LogoFile, @FooterText, @Description, @KeyWords, @BackgroundFile, @HomeTabId, @LoginTabId, @UserTabId, @AdminTabId, @SplashTabId, -1

--also update portalsettings to correct default language
  UPDATE dbo.PortalSettings
  SET CultureCode=@DefaultLanguage where PortalID=@PortalID
 
       FETCH NEXT FROM Portals_Cursor
       into @PortalID, @PortalName, @LogoFile, @FooterText, @Description, @KeyWords, @BackgroundFile, @HomeTabId, @LoginTabId, @UserTabId, @AdminTabId, @SplashTabId, @DefaultLanguage

   END
CLOSE Portals_Cursor
DEALLOCATE Portals_Cursor

 
New Post
10/31/2010 3:15 AM
 
The issue is that the column CultureCode on your table PortalLocalization did not allow a value with NULL.  I have to research what should be the correct setting on the database.  I did not have yet this version installed on my system.    For now if it is a production install, you have to restore the backup of the database and files to get your system worked.
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Upgrading DNN P...Upgrading DNN P...ERRORS Upgrading 5.1.4 Site to 5.2.0ERRORS Upgrading 5.1.4 Site to 5.2.0


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