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 ...File Manager Problem after Upgrade 3.3.4 to 4.4File Manager Problem after Upgrade 3.3.4 to 4.4
Previous
 
Next
New Post
1/13/2007 1:56 PM
 

I just upgraded a 3.3.4 site to a 4.4 on a hosted environment and besides 1 error in the upgrade process everything seemed to run fine.

Upgrade process error : 00:00:03.109 - Upgrading to Version: 4.3.6 Error! seed:\www\vwuf.be\www\Providers\DataProviders\SqlDataProvider\04.03.06.log for more information)

However, once 4.4 came up there are issues with the file manager :

several symptoms occur :

1. top of each page of the portal (using standard skin, next to the logo) is full of gibberish code (not sure if it's related to file manager)

2. in site settings error occur at the Logo and background settings

3. Accessing the file manager doesn't work

See respective errors references below : 1, 2 and 3

Can anyone please help me out ...

DIRK

1.

' ' DotNetNuke - http://www.dotnetnuke.com ' Copyright (c) 2002-2006 ' by DotNetNuke Corporation ' ' Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated ' documentation files (the "Software"), to deal in the Software without restriction, including without limitation ' the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and ' to permit persons to whom the Software is furnished to do so, subject to the following conditions: ' ' The above copyright notice and this permission notice shall be included in all copies or substantial portions ' of the Software. ' ' THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED ' TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL ' THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF ' CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER ' DEALINGS IN THE SOFTWARE. ' Imports DotNetNuke.Services.Vendors Namespace DotNetNuke.UI.Skins.Controls ''' ----------------------------------------------------------------------------- '''

''' ''' ''' [cniknet] 10/15/2004 Replaced public members with properties and removed ''' brackets from property names ''' ''' ----------------------------------------------------------------------------- Public MustInherit Class Banner Inherits UI.Skins.SkinObjectBase ' private members Private _groupName As String Private _bannerTypeId As String Private _bannerCount As String Private _width As String Private _orientation As String Private _borderWidth As String Private _borderColor As String Private _rowHeight As String Private _colWidth As String Const MyFileName As String = "Banner.ascx" #Region "Public Members" Public Property GroupName() As String Get Return _groupName End Get Set(ByVal Value As String) _groupName = Value End Set End Property Public Property BannerTypeId() As String Get Return _bannerTypeId End Get Set(ByVal Value As String) _bannerTypeId = Value End Set End Property Public Property BannerCount() As String Get Return _bannerCount End Get Set(ByVal Value As String) _bannerCount = Value End Set End Property Public Property Width() As String Get Return _width End Get Set(ByVal Value As String) _width = Value End Set End Property Public Property Orientation() As String Get Return _orientation End Get Set(ByVal Value As String) _orientation = Value End Set End Property Public Property BorderWidth() As String Get Return _borderWidth End Get Set(ByVal Value As String) _borderWidth = Value End Set End Property Public Property BorderColor() As String Get Return _borderColor End Get Set(ByVal Value As String) _borderColor = Value End Set End Property Public Property RowHeight() As String Get Return _rowHeight End Get Set(ByVal Value As String) _rowHeight = Value End Set End Property Public Property ColWidth() As String Get Return _colWidth End Get Set(ByVal Value As String) _colWidth = Value End Set End Property #End Region #Region "Event Handlers" '******************************************************* ' ' The Page_Load server event handler on this page is used ' to populate the role information for the page ' '******************************************************* Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load ' public attributes If BannerTypeId = "" Then BannerTypeId = "1" ' banner End If If BannerCount = "" Then BannerCount = "1" End If If PortalSettings.BannerAdvertising <> 0 Then Dim intPortalId As Integer If PortalSettings.BannerAdvertising = 1 Then intPortalId = PortalSettings.PortalId ' portal Else intPortalId = Null.NullInteger ' host End If ' load banners Dim objBanners As New BannerController Dim arrBanners As ArrayList = objBanners.LoadBanners(intPortalId, Null.NullInteger, Integer.Parse(BannerTypeId), GroupName, Integer.Parse(BannerCount)) If arrBanners.Count = 0 Then If BannerTypeId = "1" Then ' add default banner if none found Dim objBanner As New BannerInfo objBanner.BannerId = -1 objBanner.ImageFile = Common.Globals.ApplicationPath & "/images/banner.gif" objBanner.URL = GetDomainName(Request) objBanner.BannerName = Services.Localization.Localization.GetString("Banner", Services.Localization.Localization.GetResourceFile(Me, MyFileName)) arrBanners.Add(objBanner) End If End If ' bind to datalist lstBanners.DataSource = arrBanners lstBanners.DataBind() ' set banner display characteristics If lstBanners.Items.Count <> 0 Then ' container attributes lstBanners.RepeatLayout = RepeatLayout.Table If Width <> "" Then lstBanners.Width = Unit.Parse(Width & "px") End If If lstBanners.Items.Count = 1 Then lstBanners.CellPadding = 0 lstBanners.CellSpacing = 0 Else lstBanners.CellPadding = 4 lstBanners.CellSpacing = 0 End If If Orientation <> "" Then Select Case Orientation Case "H" lstBanners.RepeatDirection = RepeatDirection.Horizontal Case "V" lstBanners.RepeatDirection = RepeatDirection.Vertical End Select Else lstBanners.RepeatDirection = RepeatDirection.Vertical End If If BorderWidth <> "" Then lstBanners.ItemStyle.BorderWidth = Unit.Parse(BorderWidth & "px") End If If BorderColor <> "" Then Dim objColorConverter As New System.Drawing.ColorConverter lstBanners.ItemStyle.BorderColor = CType(objColorConverter.ConvertFrom(BorderColor), System.Drawing.Color) End If ' item attributes lstBanners.ItemStyle.VerticalAlign = VerticalAlign.Middle If RowHeight <> "" Then lstBanners.ItemStyle.Height = Unit.Parse(RowHeight & "px") End If If ColWidth <> "" Then lstBanners.ItemStyle.Width = Unit.Parse(ColWidth & "px") End If Else lstBanners.Visible = False End If Else lstBanners.Visible = False End If End Sub #End Region #Region "Public Methods" Public Function FormatItem(ByVal VendorId As Integer, ByVal BannerId As Integer, ByVal BannerTypeId As Integer, ByVal BannerName As String, ByVal ImageFile As String, ByVal Description As String, ByVal URL As String, ByVal Width As Integer, ByVal Height As Integer) As String Dim objBanners As New BannerController Return objBanners.FormatBanner(VendorId, BannerId, BannerTypeId, BannerName, ImageFile, Description, URL, Width, Height, CType(IIf(PortalSettings.BannerAdvertising = 1, "L", "G"), String), PortalSettings.HomeDirectory) End Function #End Region End Class End Namespace

2.

An error has occurred.
DotNetNuke.Services.Exceptions.ModuleLoadException: Parameter count does not match Parameter Value count. ---> System.ArgumentException: Parameter count does not match Parameter Value count. at Microsoft.ApplicationBlocks.Data.SqlHelper.AssignParameterValues(SqlParameter[] commandParameters, Object[] parameterValues) at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteScalar(String connectionString, String spName, Object[] parameterValues) at DotNetNuke.Data.SqlDataProvider.UpdateFolder(Int32 PortalID, Int32 FolderID, String FolderPath, Int32 StorageLocation, Boolean IsProtected, Boolean IsCached, DateTime LastUpdated) at DotNetNuke.Services.FileSystem.FolderController.UpdateFolder(FolderInfo objFolderInfo) at DotNetNuke.Common.Utilities.FileSystemUtils.SynchronizeFolder(Int32 PortalId, String physicalPath, String relativePath, Boolean isRecursive, Boolean syncFiles, Boolean forceFolderSync) at DotNetNuke.Common.Utilities.FileSystemUtils.GetFolder(Int32 PortalID, String FolderPath) at DotNetNuke.Common.Globals.GetFileList(Int32 PortalId, String strExtensions, Boolean NoneSpecified, String Folder, Boolean includeHidden) at DotNetNuke.UI.UserControls.UrlControl.GetFileList(Boolean NoneSpecified) at DotNetNuke.UI.UserControls.UrlControl.ShowControls() at DotNetNuke.UI.UserControls.UrlControl.Page_Load(Object sender, EventArgs e) --- End of inner exception stack trace ---

3.

An error has occurred.
DotNetNuke.Services.Exceptions.PageLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.Security.Permissions.Controls.FolderPermissionsGrid.SaveViewState() at System.Web.UI.Control.SaveViewStateRecursive() at System.Web.UI.Control.SaveViewStateRecursive() at System.Web.UI.Control.SaveViewStateRecursive() at System.Web.UI.Control.SaveViewStateRecursive() at System.Web.UI.Control.SaveViewStateRecursive() at System.Web.UI.Control.SaveViewStateRecursive() at System.Web.UI.Control.SaveViewStateRecursive() at System.Web.UI.Control.SaveViewStateRecursive() at System.Web.UI.Control.SaveViewStateRecursive() at System.Web.UI.Control.SaveViewStateRecursive() at System.Web.UI.Control.SaveViewStateRecursive() at System.Web.UI.Control.SaveViewStateRecursive() at System.Web.UI.Control.SaveViewStateRecursive() at System.Web.UI.Control.SaveViewStateRecursive() at System.Web.UI.Control.SaveViewStateRecursive() at System.Web.UI.Page.SaveAllState() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---

 
New Post
1/13/2007 4:38 PM
 

Some changed info ...

1. seems to be related to the default skins that are messed up ... when I upload a 3rd party skin I don't have the gibberish ... ANY idea on how to fix the default skin ?

2 & 3 : Now the filemanager comes up but when I try to syncronize get the below message ...

Any idea ??

THX
DIRK

 

Server Error in '/' Application.


Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.ArgumentException: Parameter count does not match Parameter Value count.

Source Error:

The source code that generated this unhandled exception can only be shown when compiled in debug mode. To enable this, please follow one of the below steps, then request the URL:

1. Add a "Debug=true" directive at the top of the file that generated the error. Example:

  <%@ Page Language="C#" Debug="true" %>

or:

2) Add the following section to the configuration file of your application:

<configuration>
   <system.web>
       <compilation debug="true"/>
   </system.web>
</configuration>

Note that this second technique will cause all files within a given application to be compiled in debug mode. The first technique will cause only that particular file to be compiled in debug mode.

Important: Running applications in debug mode does incur a memory/performance overhead. You should make sure that an application has debugging disabled before deploying into production scenario.

Stack Trace:

[ArgumentException: Parameter count does not match Parameter Value count.]
   Microsoft.ApplicationBlocks.Data.SqlHelper.AssignParameterValues(SqlParameter[] commandParameters, Object[] parameterValues) +133
   Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteScalar(String connectionString, String spName, Object[] parameterValues) +218
   DotNetNuke.Data.SqlDataProvider.UpdateFolder(Int32 PortalID, Int32 FolderID, String FolderPath, Int32 StorageLocation, Boolean IsProtected, Boolean IsCached, DateTime LastUpdated) +313
   DotNetNuke.Services.FileSystem.FolderController.UpdateFolder(FolderInfo objFolderInfo) +107
   DotNetNuke.Common.Utilities.FileSystemUtils.SynchronizeFolder(Int32 PortalId, String physicalPath, String relativePath, Boolean isRecursive, Boolean syncFiles, Boolean forceFolderSync) +497
   DotNetNuke.Common.Utilities.FileSystemUtils.SynchronizeFolder(Int32 PortalId, String physicalPath, String relativePath, Boolean isRecursive) +19
   DotNetNuke.Modules.Admin.FileSystem.FileManager.lnkSyncFolder_Command(Object sender, CommandEventArgs e) +136
   System.Web.UI.WebControls.LinkButton.OnCommand(CommandEventArgs e) +105
   System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument) +163
   System.Web.UI.WebControls.LinkButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +7
   System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +11
   System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +174
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5102

[PageLoadException: Parameter count does not match Parameter Value count.]
   DotNetNuke.Services.Exceptions.Exceptions.ProcessPageLoadException(Exception exc, String URL) +353
   DotNetNuke.Framework.PageBase.Page_Error(Object Source, EventArgs e) +376
   System.Web.UI.TemplateControl.OnError(EventArgs e) +105
   System.Web.UI.Page.HandleError(Exception e) +73
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +6944
   System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +154
   System.Web.UI.Page.ProcessRequest() +86
   System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) +18
   System.Web.UI.Page.ProcessRequest(HttpContext context) +49
   ASP.default_aspx.ProcessRequest(HttpContext context) +4
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +154
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64

Parameter count does not match Parameter Value count.

 

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...File Manager Problem after Upgrade 3.3.4 to 4.4File Manager Problem after Upgrade 3.3.4 to 4.4


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