This is a migrated thread and some comments may be shown as answers.

Insertion index was out of range. Must be non-negative and less than or equal to size.

3 Answers 166 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
chinnu
Top achievements
Rank 1
chinnu asked on 16 Mar 2012, 07:45 AM

Hi

I am using Rad scheuler for setting appointments for doctors in a hospital.That means its a part of a big hospital management project.

My problem is

When I drag an appointment under one doctor(yes one resource)  to another doctor it shows the following error.
And it is happening sometimes only.I  mean for some particular resources only , the problem occuring.But the data in the database for all the resources are the same.
 

Server Error in '/HMSWeb' Application.

Insertion index was out of range. Must be non-negative and less than or equal to size.
Parameter name: index

 

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.ArgumentOutOfRangeException: Insertion index was out of range. Must be non-negative and less than or equal to size.
Parameter name: index

Source Error:

 

 

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

 

Please help me ASAp.Its very very urgent :(

Regards
Chinnu

3 Answers, 1 is accepted

Sort by
0
Plamen
Telerik team
answered on 19 Mar 2012, 11:59 AM
Hi Chinnu,

 
You can refer to this forum thread where a similar issue have been discussed.

Regards,
Plamen Zdravkov
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
chinnu
Top achievements
Rank 1
answered on 22 Mar 2012, 07:53 AM
Hi Plamen Zdravkov

Thank you for having a look into my problem.
And sorry for the inconvenience from my part.
I solved it later and problem was with one of my primary key ids.

Thanks and Regards
Chinnu :)


0
Simon
Top achievements
Rank 1
answered on 16 Sep 2013, 01:14 PM

What was the problem with your primary key id?
Tags
Scheduler
Asked by
chinnu
Top achievements
Rank 1
Answers by
Plamen
Telerik team
chinnu
Top achievements
Rank 1
Simon
Top achievements
Rank 1
Share this question
or