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 ...URL styles cause problem with access to portal and Startindex errorURL styles cause problem with access to portal and Startindex error
Previous
 
Next
New Post
8/25/2009 3:08 AM
 

Hi,

I have DNN 4.9.3 installed. I lost access to few portals and got "Startindex cannot be less than zero" error after manipulations with URL styles in web.config (at least, I think so, but I am not sure).
 
Symptoms:
When I browse to portal full domain name like:  http://www.audarma.kz - it gives Server application error, "Startindex cannot be less tan zero"! 
When I accidently tried an old not humanfriendly url style link saved in Google Chrome like: 
http://www.audarma.kz/ru/Контакты/tabid/85/Default.aspx  - I successfully accessed the site and could login to the portal.
When I looked the logs, I saw lots of entries with the same error "Startindex cannot be less tan zero" (and the only parameter less than zero seemed to be UserID, which value was -1).
 
What I did before the error: I tried to make changes in web.config
a) to switch on HumanFriendly URLs (it worked for a couple of days), and
b) to use 404 redirect in CustomErrors section (it worked fine too, for acouple of days);
 
But all of a sudden one day I encountered errors:
- first I could not login to few portals (only one portal worked fine - the one with 404 redirect configured, the others just returned Default.aspx page when clicking login link; and it was not a misconfigured default login page issue, since I checked the DB and saw that the value was NULL...- that is it was not a common "lost login page" mistake with "OpenSesame.aspx" solution);
- later on, I restored the old web.config file to get rid of all my changes. It helped for a day only. After a day I again could not access the same portals.
 
Questions:
1) Is this problem because of URLs?
2) Is this problem because of "UserID: -1" value causing "Startindex cannot be less than zero" problem?
3) How can I fix the UserID value?
4) Any other ideas?
 
Please, help me, I lost few portals and have no idea how to get them working again.
Regards,
Alexander
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...URL styles cause problem with access to portal and Startindex errorURL styles cause problem with access to portal and Startindex error


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