ESWARAN M
ESWARAN M

Reputation: 47

Sitecore error : System.InvalidOperationException: args.Item

getting invalidOperationexception in Sitecore Experience editor but not happen in preview and site. See the below screenshot for more information

find the exception message here

Upvotes: 0

Views: 1024

Answers (2)

ESWARAN M
ESWARAN M

Reputation: 47

Check all renderings and remove renderings which are having empty (or) invalid Items in the DataSource.

Upvotes: 0

Marek Musielak
Marek Musielak

Reputation: 27132

See at the stack trace. Exception is in line 292 of your ControlCascadeCommandVisibility class.

There must be something in the Process method which fails in Sitecore Experience Editor mode in that line.

Just debug, put a breakpoint there and see what's happening there.

Upvotes: 1

Related Questions