Link to home
Start Free TrialLog in
Avatar of arnulfoespi
arnulfoespi

asked on

How to customize the error messages in sharepoint

Hello,
I'm looking for a way to customize the error messages in MOSS.
If a user previously had access to an item but then he doesn't he receives an error.
See attached screenshot.
I would like to display a more user friendly message.
Please advise.
Thanks,
error.JPG
Avatar of raybies
raybies
Flag of Australia image

I've had this request before... and while it's possible, it's only possible when a custom dll is performing the logic.

So what I did was to redirect to an error page... and the error page took a message parameter.
My user didn't like the fact that the "Go back to site", wouldn't go back 1 step.

The MS sharepoint dll just Throws an error and that's what's rendered.

Bottom line... too much work for very little benefit.
ASKER CERTIFIED SOLUTION
Avatar of GreatGerm
GreatGerm
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Hmmm might work... context.EndRequest should handle the "throw"'s...

Please report back if it handles the "No Item Exists" error.