We would like to clarify an error that we keep getting randomly. This happens when we use Umbraco DataLayer to read from the Umbraco Database. I am showing the stack trace below..
So this error happens randly when we read something from the Database using Records Reader. I believe it fails to read at this point. But the worst par tis that this is not consistent. That is if I refresh the page the error disappears. If I refresh a considerable number of times(usually more than 20) then I get this error back. What are the reasons for this server error and can you please help us fix it?
We are using Umbraco 4.0 with ASP.NET 3.5, SQL Server 2005.
We would greatly appreciate a quick response.
Just to add on the error varies each time. But it consistently fails in the SqlDataReader.GetOrdinal() function.
Umbraco DataLayer Issue - Random Error
We would like to clarify an error that we keep getting randomly. This happens when we use Umbraco DataLayer to read from the Umbraco Database. I am showing the stack trace below..
[IndexOutOfRangeException: TITLE]
System.Data.ProviderBase.FieldNameLookup.GetOrdinal(String fieldName) +4839010
System.Data.SqlClient.SqlDataReader.GetOrdinal(String name) +67
umbraco.DataLayer.RecordsReaderAdapter`1.GetOrdinal(String fieldName) +23
umbraco.DataLayer.RecordsReaderAdapter`1.GetString(String fieldName) +27
So this error happens randly when we read something from the Database using Records Reader. I believe it fails to read at this point. But the worst par tis that this is not consistent. That is if I refresh the page the error disappears. If I refresh a considerable number of times(usually more than 20) then I get this error back. What are the reasons for this server error and can you please help us fix it?
We are using Umbraco 4.0 with ASP.NET 3.5, SQL Server 2005.
We would greatly appreciate a quick response.
Just to add on the error varies each time. But it consistently fails in the SqlDataReader.GetOrdinal() function.
Thanks
is working on a reply...