AI OnAI Off
Also getting "[NullReferenceException: Object reference not set to an instance of an object.]" when trying to send a page to the Recycle Bin..
If you have disabled ViewState globally, check that enableViewState="true" for edit/admin etc.
<location path="CMS">
<system.web>
<pages enableEventValidation="true" enableViewState="true">
Getting some weird errors after upgrading a site from CMS 5 R2 SP2 to 6. The site is globalized with no/dk/se.
The site is running and browseable, but certain functions in Admin Mode causes errors. For instance:
** ERROR 1: Searching for users or groups gives the error: "Input string was not in correct format".
It gives the same error whether the name/email/number of hits fields are filled in or left blank.
Error info from the Event Log:
Request information:
Request URL: http://mysitepath/cms/CMS/Admin/SearchUsers.aspx
Request path: /cms/CMS/Admin/SearchUsers.aspx
User host address: xxx.xxx.xxx.xxx
User: myuser
Is authenticated: True
Authentication Type: Forms
Thread account name: myAppPoolUser
Thread information:
Thread ID: 12
Thread account name: myAppPoolUser
Is impersonating: False
Stack trace: at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
at EPiServer.UI.Admin.SearchUsers.get_IsUserSearch()
at EPiServer.UI.Admin.SearchUsers.BindData(Int32 page)
at EPiServer.UI.WebControls.ToolButton.OnClick(EventArgs e)
at EPiServer.UI.WebControls.ToolButton.RaisePostBackEvent(String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
--------
** ERROR 2: Trying to change the interval type (hour/minute etc) on a scheduled job, e.g. Subscriptions, gives the error "Object reference not set.." when clicking the Save button.
Error info from Event Log:
Request information:
Request URL: http://mysitepath/cms/CMS/Admin/DatabaseJob.aspx?pluginId=41
Request path: /cms/CMS/Admin/DatabaseJob.aspx
User host address: xxx.xxx.xxx.xxx
Is authenticated: True
Authentication Type: Forms
Thread account name: myAppPoolUser
Thread information:
Thread ID: 12
Thread account name: myAppPoolUser
Is impersonating: False
Stack trace: at EPiServer.UI.Admin.DatabaseJob.SaveChanges_Click(Object sender, EventArgs e)
at EPiServer.UI.WebControls.ToolButton.OnClick(EventArgs e)
at EPiServer.UI.WebControls.ToolButton.RaisePostBackEvent(String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
All these functions worked well on the CMS5 version of the site. Note: CMS6 version is NOT running on the same web server as the CMS5 site.
Any clues?