Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more

"Input string not in correct format" when searching for users, and NullReferenceExceptions when changing scheduled jobs

Vote:
0

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?

#45630
Nov 11, 2010 11:39
Vote:
0

Also getting "[NullReferenceException: Object reference not set to an instance of an object.]" when trying to send a page to the Recycle Bin..

#45631
Nov 11, 2010 12:30
Vote:
0

If you have disabled ViewState globally, check that enableViewState="true" for edit/admin etc.

<location path="EPiServer">
    <system.web>

<location path="CMS">
   <system.web>
      <pages enableEventValidation="true" enableViewState="true">

 

#45636
Nov 11, 2010 13:22
Vote:
0

Thank you Thomas, it works now.

#45642
Nov 11, 2010 14:20
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.