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...Problem upgrading from 4.6.2 to 4.9.5Problem upgrading from 4.6.2 to 4.9.5
Previous
 
Next
New Post
5/7/2010 2:56 PM
 

After upgrading from 4.5.5 to 4.6.2 without a problem, I encountered two errors on upgrading to 4.9.5.

The first error of, Compiler Error Message: BC30560: 'DataProvider' is ambiguous in the namespace 'DotNetNuke.Modules.HTML'., was fixed by deleting DotNetNuke.Modules.Html.dll and DotNetNuke.Modules.Html.SqlDataProvider.dll.


The second seems to be a skin releated problem. Were there any changes that would prevent using either hyphens or periods in the skin names?


The first error of, BC30560: 'DataProvider' is ambiguous in the namespace 'DotNetNuke.Modules.HTML'., was fixed by deleting DotNetNuke.Modules.Html.dll and DotNetNuke.Modules.Html.SqlDataProvider.dll.

Server Error in '/' Application.

Compilation Error

Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: BC30451: Name 'glbDefaultSkinFolder' is not declared.

Source Error:

An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately. BC30451: Name 'glbDefaultSkinFolder' is not declared.
 

Line 542: ' could not load skin control - load default skin

Line 543: If IsAdminSkin(PortalSettings.ActiveTab.IsAdminTab) Then

Line 544: PortalSettings.ActiveTab.SkinSrc = Common.Globals.HostPath & SkinInfo.RootSkin & glbDefaultSkinFolder & glbDefaultAdminSkin

Line 545: Else

Line 546: PortalSettings.ActiveTab.SkinSrc = Common.Globals.HostPath & SkinInfo.RootSkin & glbDefaultSkinFolder & glbDefaultSkin

Source File: G:\INetPAG\wwwPAGNet2010\Default.aspx.vb Line: 544

Show Detailed Compiler Output:

...snip...

Microsoft (R) Visual Basic Compiler version 8.0.50727.3053

for Microsoft (R) .NET Framework version 2.0.50727.3603

Copyright (c) Microsoft Corporation. All rights reserved.

G:\INetPAG\wwwPAGNet2010\Default.aspx(23) : warning BC40004: withEvents variable 'Form' conflicts with property 'Form' in the base class 'Page' and should be declared 'Shadows'.

Protected WithEvents Form As Global.DotNetNuke.Common.Controls.Form

~~~~

G:\INetPAG\wwwPAGNet2010\Default.aspx.vb(544) : error BC30451: Name 'glbDefaultSkinFolder' is not declared.

PortalSettings.ActiveTab.SkinSrc = Common.Globals.HostPath & SkinInfo.RootSkin & glbDefaultSkinFolder & glbDefaultAdminSkin

~~~~~~~~~~~~~~~~~~~~

G:\INetPAG\wwwPAGNet2010\Default.aspx.vb(544) : error BC30451: Name 'glbDefaultAdminSkin' is not declared.

PortalSettings.ActiveTab.SkinSrc = Common.Globals.HostPath & SkinInfo.RootSkin & glbDefaultSkinFolder & glbDefaultAdminSkin

~~~~~~~~~~~~~~~~~~~

G:\INetPAG\wwwPAGNet2010\Default.aspx.vb(546) : error BC30451: Name 'glbDefaultSkinFolder' is not declared.

PortalSettings.ActiveTab.SkinSrc = Common.Globals.HostPath & SkinInfo.RootSkin & glbDefaultSkinFolder & glbDefaultSkin

~~~~~~~~~~~~~~~~~~~~

G:\INetPAG\wwwPAGNet2010\Default.aspx.vb(546) : error BC30451: Name 'glbDefaultSkin' is not declared.

PortalSettings.ActiveTab.SkinSrc = Common.Globals.HostPath & SkinInfo.RootSkin & glbDefaultSkinFolder & glbDefaultSkin

~~~~~~~~~~~~~~

G:\INetPAG\wwwPAGNet2010\ErrorPage.aspx(10) : warning BC40004: withEvents variable 'Form' conflicts with property 'Form' in the base class 'Page' and should be declared 'Shadows'.

Protected WithEvents Form As Global.System.Web.UI.HtmlControls.HtmlForm

~~~~

Version Information: Microsoft .NET Framework Version:2.0.50727.3603; ASP.NET Version:2.0.50727.3082

 
New Post
5/7/2010 9:16 PM
 
Regarding the problem with glbDefaultSkinFolder and glbDefaultAdminSkin, it appears that during the upgrade from 4.6.2 to 4.9.5, the file Default.aspx.vb from the version 4.9.5 upgrade package did not replace the older version 4.6.2 file. Perhaps there was a permissions problem which prevented the replacement or the upgrade package zip file was not "unblocked" before extraction. This latter possibility is due to a Windows security update which prevents files with certain "dangerous" extensions from being un-zipped unless one first right-clicks over the zip package file, selects "Properties" from the context menu, and then clicks the "Unblock" button.

The errors relating to the WithEvents variable 'Form' in default.aspx.vb and ErrorPage.aspx.vb appear to be namespace issues due to Global. somehow being prefixed to the namespace. There are no such namespaces as Global.DotNetNuke.Common.Controls or Global.System.Web.UI.HtmlControls. As these are warnings rather than errors, hopefully they will go away after fixing the first problem.

I am however concerned that other version 4.9.5  files may not have extracted properly from the zip package or failed to replace prior version files when copying them over your 4.6.2 site. You may want to consider rolling back to your file system and database backup of the working 4.6.2 upgrade then reattempting the upgrade after ensuring that files have extracted and copied properly from the 4.9.5 package.

Bill, WESNet Designs
Team Lead - DotNetNuke Gallery Module Project (Not Actively Being Developed)
Extensions Forge Projects . . .
Current: UserExport, ContentDeJour, ePrayer, DNN NewsTicker, By Invitation
Coming Soon: FRBO-For Rent By Owner
 
New Post
5/10/2010 7:19 PM
 
Thank you very much, the zip file security block was the problem.  Unblocked and installed up to 5.4.1 with only two minor hitches that don't seem to have an impact on the site. 

00:00:00.281 -   Executing Script: 05.00.00.SqlDataProvider Error! (see 05.00.00.log for more information)
Error: Cannot insert duplicate key row in object 'dbo.Packages' with unique index 'IX_Packages'.
The statement has been terminated.

00:00:00.015 -   Executing Script: 05.02.00.SqlDataProvider Error! (see 05.02.00.log for more information)
System.Data.SqlClient.SqlException: Column names in each table must be unique. Column name 'FriendlyName' in table 'dbo.Schedule' is specified more than once.
 
New Post
5/11/2010 5:27 AM
 
AFAIK you may ignore both errors.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Upgrading DNN P...Upgrading DNN P...Problem upgrading from 4.6.2 to 4.9.5Problem upgrading from 4.6.2 to 4.9.5


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