System.IndexOutOfRangeException: UserTypeName error in v 3.0.5
Has anyone come across this error, or have any pointers to what's causing it.
I've been told the error happens on saving or publishing content, but it inconsistent and I don't have specific steps to be able to reproduce it, but it's happening often enough to be a problem.
Server Error in '/' Application.
UserTypeName
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.
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.
Just to confirm, this specific error happens on login. I was given a number of errors to look at and wasn't told when each of the errors happened (and didn't read the intro to the email properly), sorry if this caused any confusion.
I looked through each user, and it displayed a user type without any errors. I've asked the client to give further info, like what user the error relates to.
System.IndexOutOfRangeException: UserTypeName error in v 3.0.5
Has anyone come across this error, or have any pointers to what's causing it.
I've been told the error happens on saving or publishing content, but it inconsistent and I don't have specific steps to be able to reproduce it, but it's happening often enough to be a problem.
Server Error in '/' Application.
UserTypeName
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.IndexOutOfRangeException: UserTypeName
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.
Stack Trace:
[IndexOutOfRangeException: UserTypeName]
System.Data.ProviderBase.FieldNameLookup.GetOrdinal(String fieldName) +4839010
System.Data.SqlClient.SqlDataReader.GetOrdinal(String name) +67
System.Data.SqlClient.SqlDataReader.get_Item(String name) +15
umbraco.BusinessLogic.UserType..ctor(Int32 id) +171
umbraco.BusinessLogic.<>c__DisplayClass1.<GetUserType>b__0() +26
businesslogic.CacheHelper.GetCacheItem(String cacheKey, Object syncLock, CacheItemPriority priority, CacheItemRemovedCallback refreshAction, CacheDependency cacheDependency, TimeSpan timeout, GetCacheItemDelegate`1 getCacheItem) +114
umbraco.BusinessLogic.UserType.GetUserType(Int32 id) +155
umbraco.BusinessLogic.User.setupUser(Int32 ID) +544
umbraco.BusinessLogic.User..ctor(String Login, String Password) +111
umbraco.cms.presentation.login.Button1_Click(Object sender, EventArgs e) +120
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +111
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +110
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +36
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1565
TIA
Tom Madden
Quix
Just to confirm, this specific error happens on login. I was given a number of errors to look at and wasn't told when each of the errors happened (and didn't read the intro to the email properly), sorry if this caused any confusion.
Tom
Any chance this is an upgraded site that is now trying to use hashed passwords for the users?
cheers,
doug.
I don't think so It's in v 3.0.5.
I looked through each user, and it displayed a user type without any errors. I've asked the client to give further info, like what user the error relates to.
Regards
Tom
is working on a reply...