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...Administration ...Administration ...DNN 5 Dashboard error on Fresh InstallDNN 5 Dashboard error on Fresh Install
Previous
 
Next
New Post
2/17/2009 5:41 PM
 

I have  a fresh install on DNN 5.0 and I receive the following error when I try to view the Dashboard:

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'

This is installed on a webserver with a separate database server.  Any ideas?

 
New Post
2/19/2009 10:47 AM
 

Found the problem.

The ShortFileName in DbFileInfo formats the value of the database file path stored in the database.

Dim

sname As String = String.format("{0}...{1}", FileName.Substring(0, FileName.IndexOf("\"c) + 1), FileName.Substring(FileName.LastIndexOf("\"c, FileName.LastIndexOf("\"c) - 1)))

I set up my database on the root of a drive, which causes this to throw an exception.  Once I moved my database into a folder the dashboard started working.  The format is still off, but at least it works.

 
New Post
10/22/2009 11:49 AM
 

I am having this problem with DNN 5.01.04.  Is this still an issue for hosters?  I just submitted a ticket to one of my hosts.


Will Strohl

Upendo Ventures Upendo Ventures
DNN experts since 2003
Official provider of the Hotcakes Commerce Cloud and SLA support
 
New Post
2/6/2011 5:05 PM
 
I am getting the same error. Giving the database user all rights did not help. Any other ideas? Started happening after I upgraded to 5.6.1

Tareq Mahmud
Fowara
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...DNN 5 Dashboard error on Fresh InstallDNN 5 Dashboard error on Fresh Install


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