Bug reports Found a bug? Post it here please.
Version 5.x > Bug reports > Hitting select button in media gallery throws exception View modes: 
User avatar
Member
Member
dave-australianinfront.com - 6/3/2010 5:16:56 AM
   
Hitting select button in media gallery throws exception
Hi,

I've just noticed this error after upgrading to 5.5 from 5.0 2 days ago, whenever I try to select an image from the media library to insert into a mediaselector, the window stays open and this error appears in my JS console:

I am using Firefox 3.6.3

Error: Sys.WebForms.PageRequestManagerServerErrorException: [DataConnection.ExecuteQuery]: Query: UPDATE CMS_User SET [UserName] = @UserName, [FirstName] = @FirstName, [MiddleName] = @MiddleName, [LastName] = @LastName, [FullName] = @FullName, [Email] = @Email, [UserPassword] = @UserPassword, [PreferredCultureCode] = @PreferredCultureCode, [PreferredUICultureCode] = @PreferredUICultureCode, [UserEnabled] = @UserEnabled, [UserIsEditor] = @UserIsEditor, [UserIsGlobalAdministrator] = @UserIsGlobalAdministrator, [UserIsExternal] = @UserIsExternal, [UserPasswordFormat] = @UserPasswordFormat, [UserCreated] = @UserCreated, [LastLogon] = @LastLogon, [UserStartingAliasPath] = @UserStartingAliasPath, [UserGUID] = @UserGUID, [UserLastModified] = @UserLastModified, [UserLastLogonInfo] = @UserLastLogonInfo, [UserIsHidden] = @UserIsHidden, [UserVisibility] = @UserVisibility, [UserIsDomain] = @UserIsDomain, [UserHasAllowedCultures] = @UserHasAllowedCultures, [UserSiteManagerDisabled] = @UserSiteManagerDisabled WHERE [UserID] = @UserID: caused exception: Must declare the scalar variable "@UserSiteManagerDisabled".
Source File: http://localhost/GreenHanger/ScriptResource.axd?d=VKaaicFBi5hVT-UVPaTfY-2E1t_yN4T0A3ve4lypYboXlj59Zkg3-cQBOaqb0C-INJiTm8Sgb1sb6AKt5cnwcnrcTPN8g7kurLf2nzEn1qJswaM0rAEa1Ihrb-YalCGi0&t=ffffffff883daff4
Line: 1111

Any ideas? I ran the SQL upgrade on the database and everything ran fine, no errors at all. CMS files are a clean installation.

User avatar
Kentico Developer
Kentico Developer
kentico_helenag - 6/3/2010 8:33:32 AM
   
RE:Hitting select button in media gallery throws exception
Hello,


Could you please follow this post: devnet.kentico.com/Blogs/Juraj-Ondrus/September-2009/Upgrading-from-version-4-0-to-4-1.aspx

It is for previous versions, but the steps to solve this issue are the same and you can use the same packages as mentioned in the post.


Best regards,
Helena Grulichova

User avatar
Member
Member
dave-australianinfront.com - 6/4/2010 11:02:21 PM
   
RE:Hitting select button in media gallery throws exception
Thank you, that worked :)