I have a fresh installation of dotnetnuke 6.1.2. When I try to load the dashboard, i receive the following error:
A critical error has occurred. Property accessor 'ShortFileName' on object 'DotNetNuke.Modules.Dashboard.Components.Database.DbFileInfo' threw the following exception:'StartIndex cannot be less than zero. Parameter name: startIndex'
Based on previous threads, I've taken a look at my SQL account permissions. I'm using SQL Server 2005 on a separate box from my web server. I've tried giving my SQL account permissions on the master database so it can retrieve database info, but I still receive the error.
here's the complete info from the dnn Event Viewer. Thanks in advance for any guidance on getting my dashboard working
AssemblyVersion: 6.1.2
PortalID: 0
PortalName: MyPortal
UserID: 1
UserName: admin
ActiveTabID: 37
ActiveTabName: Dashboard
RawURL: /Host/Dashboard/tabid/37/portalid/0/Default.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://mydomain.com/Host/tabid/7/portalid/0/Default.aspx
UserAgent: Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: b8580155-87e9-45f7-9075-57980600d97a
InnerException: Property accessor 'ShortFileName' on object 'DotNetNuke.Modules.Dashboard.Components.Database.DbFileInfo' threw the following exception:'StartIndex cannot be less than zero. Parameter name: startIndex'
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.String.InternalSubStringWithChecks
StackTrace:
Message: DotNetNuke.Services.Exceptions.PageLoadException: Property accessor 'ShortFileName' on object 'DotNetNuke.Modules.Dashboard.Components.Database.DbFileInfo' threw the following exception:'StartIndex cannot be less than zero. Parameter name: startIndex' ---> System.Reflection.TargetInvocationException: Property accessor 'ShortFileName' on object 'DotNetNuke.Modules.Dashboard.Components.Database.DbFileInfo' threw the following exception:'StartIndex cannot be less than zero. Parameter name: startIndex' ---> System.ArgumentOutOfRangeException: StartIndex cannot be less than zero. Parameter name: startIndex at System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy) at DotNetNuke.Modules.Dashboard.Components.Database.DbFileInfo.get_ShortFileName() --- End of inner exception stack trace --- at System.ComponentModel.ReflectPropertyDescriptor.GetValue(Object component) at System.Web.UI.DataBinder.GetPropertyValue(Object container, String propName) at System.Web.UI.DataBinder.Eval(Object container, String[] expressionParts) at ASP.desktopmodules_admin_dashboard_modules_database_ascx.__DataBinding__control27(Object sender, EventArgs e) at System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) at System.Web.UI.Control.DataBindChildren() at System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) at System.Web.UI.Control.DataBindChildren() at System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) at System.Web.UI.WebControls.GridView.CreateRow(Int32 rowIndex, Int32 dataSourceIndex, DataControlRowType rowType, DataControlRowState rowState, Boolean dataBind, Object dataItem, DataControlField[] fields, TableRowCollection rows, PagedDataSource pagedDataSource) at System.Web.UI.WebControls.GridView.CreateChildControls(IEnumerable dataSource, Boolean dataBinding) at System.Web.UI.WebControls.CompositeDataBoundControl.PerformDataBinding(IEnumerable data) at System.Web.UI.WebControls.GridView.PerformDataBinding(IEnumerable data) at System.Web.UI.WebControls.DataBoundControl.OnDataSourceViewSelectCallback(IEnumerable data) at System.Web.UI.WebControls.DataBoundControl.PerformSelect() at DotNetNuke.Modules.Dashboard.Controls.Database.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---
Source:
Server Name: myserver