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 ...User login issues & Forum issuesUser login issues & Forum issues
Previous
 
Next
New Post
8/31/2010 12:44 PM
 
We recently went through a DNN migration where we started a new website based on our then production site, did a bunch of work on the new site (skinning, content, etc.), then cutover to the new site.  The process took about 3 months.  Right before we cutover, we exported our user database from the old production website to the new website using the Bulk User Manager module, and that seemed to go ok.  However, a lot of our users (over 2,000) are now getting login error messages, as follows:

A critical error has occurred.
StartIndex cannot be less than zero. Parameter name: startIndex


So, they cannot get logged in.

Furthermore, the users who can login, are unable to post to our forums (we use the DNN core forum module).  They get the same error message above.  Any ideas how we can troubleshoot this to get it fixed?  TIA for any help!
 
New Post
8/31/2010 1:26 PM
 
Ok, to keep the thread updated, I have fixed the user login issue.  Here is what I discovered.  In our user export, I noticed a field called "AcceptTerms".  It is a profile property, which we were requiring on the old site.  For whatever reason, users that had their "AcceptTerms" value set to True, were not having any issues logging in.  However, users that had a blank value in the AcceptTerms field were receiving this error message.  I'm guessing something has changed in the framework or something is misaligned somehow.  At any rate, all our users are now able to get logged in, which leaves us still with users inability to post to the forum.  Users are still receiving that same error message and are unable to post to the forum... However, our host accounts can post no problem.  Any ideas on this?
 
New Post
8/31/2010 1:48 PM
 
Does anyone have any idea why a user would be getting this error message immediately after clicking on the "New Thread" link on the forum?

A critical error has occurred.
StartIndex cannot be less than zero. Parameter name: startIndex

This is even an Admin account.

The only users currently able to post in our forums are host accounts.  Any assistance is greatly appreciated!
 
New Post
8/31/2010 2:02 PM
 
To further elaborate and update this thread, I have just upgraded the forum module on the site from 4.4.3 to 4.5.3.  I did receive an error message when installating, but the install seemed to get past it and successfully upgrade to 4.5.3.  Additionally, it is worth noting that no user other than hosts can create a new thread, edit a thread or message, reply, etc. etc.  Not even admins can perform the most basic functions as it pertains to posting on the forum.  Any ideas?

Consequenty, here is the error I received when upgrading from 4.4.3 to 4.5.3:

Info Start Sql execution: 04.05.00.SqlDataProvider file
Warning SQL Execution resulted in following Exceptions: System.Data.SqlClient.SqlException: Subquery returned more than 1 value. This is not permitted when the subquery follows =, !=, <, <= , >, >= or when the subquery is used as an expression. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async) at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe) at System.Data.SqlClient.SqlCommand.ExecuteNonQuery() at DotNetNuke.Data.SqlDataProvider.ExecuteADOScript(String SQL) at DotNetNuke.Data.SqlDataProvider.ExecuteScript(String Script, Boolean UseTransactions) DECLARE @default_constraint_name SYSNAME, @sql NVARCHAR(3750) IF EXISTS ( SELECT name FROM dbo.sysobjects WHERE parent_obj = OBJECT_ID(N'dbo.Forum_EmailQueue_TaskEmails') AND type = 'D' AND id = ( SELECT cdefault FROM syscolumns WHERE name = N'DateAdded' ) ) BEGIN SELECT @default_constraint_name = name FROM dbo.sysobjects WHERE parent_obj = OBJECT_ID(N'dbo.Forum_EmailQueue_TaskEmails') AND type = 'D' AND id = ( SELECT cdefault FROM syscolumns WHERE name = N'DateAdded' ) SET @sql = N'ALTER TABLE dbo.Forum_EmailQueue_TaskEmails DROP Constraint ' + @default_constraint_name EXEC sp_executesql @sql END System.Data.SqlClient.SqlException: Column already has a DEFAULT bound to it. Could not create constraint. See previous errors. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async) at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe) at System.Data.SqlClient.SqlCommand.ExecuteNonQuery() at DotNetNuke.Data.SqlDataProvider.ExecuteADOScript(String SQL) at DotNetNuke.Data.SqlDataProvider.ExecuteScript(String Script, Boolean UseTransactions) ALTER TABLE dbo.Forum_EmailQueue_TaskEmails ADD CONSTRAINT DF_Forum_EmailQueue_TaskEmails_DateAdded DEFAULT (GETDATE()) FOR DateAdded
 
New Post
8/31/2010 3:09 PM
 
The saga continues.  I have discovered this problem to be more widespread than just users not being able to post to the forum.  My admin users cannot even edit any content on the site.  So, if they go to a regular HTML module, then click on the Edit Content link, they get this error message:

A critical error has occurred.
StartIndex cannot be less than zero. Parameter name: startIndex

Any ideas what could be going on here?
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...User login issues & Forum issuesUser login issues & Forum issues


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