Skip to main content

I have a code that query an alias item like this Sitecore.Context.Database.SelectSingleItem("/page-help")Sitecore.Context.Database.SelectSingleItem("/page-help") but I get an error saying "End of string expected at position 42."

End of string expected at position 42.

it only throws this error in my content management but not in my content delivery. How can I fix this in my content management?

Thanks

I have a code that query an alias item like this Sitecore.Context.Database.SelectSingleItem("/page-help") but I get an error saying "End of string expected at position 42." it only throws this error in my content management but not in my content delivery. How can I fix this in my content management?

Thanks

I have a code that query an alias item like this Sitecore.Context.Database.SelectSingleItem("/page-help") but I get an error saying

End of string expected at position 42.

it only throws this error in my content management but not in my content delivery. How can I fix this in my content management?

Thanks

Source Link

Sitecore.Context.Database.SelectSingleItem("/page-help") not working in CM

I have a code that query an alias item like this Sitecore.Context.Database.SelectSingleItem("/page-help") but I get an error saying "End of string expected at position 42." it only throws this error in my content management but not in my content delivery. How can I fix this in my content management?

Thanks