Solved

How to customize the error messages in sharepoint

Posted on 2009-05-07
4
334 Views
Last Modified: 2012-05-06
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
0
Comment
Question by:arnulfoespi
  • 2
4 Comments
 
LVL 16

Expert Comment

by:raybies
ID: 24332506
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.
0
 
LVL 17

Accepted Solution

by:
GreatGerm earned 500 total points
ID: 24333032
0
 
LVL 16

Expert Comment

by:raybies
ID: 24333098
Hmmm might work... context.EndRequest should handle the "throw"'s...

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

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I recently came across an issue with a MOSS 2007 deployment where access into some sub-sites were denied, even for the MOSS farm administrators. A bit of background to the setup of this MOSS farm; this was a three server setup, consisting of a fr…
The vision: A MegaMenu for a SharePoint portal home page The mission: Make it easy to maintain. Allow rich content and sub headers as well as standard links. Factor in frequent changes without involving developers or a lengthy Dev/Test/Prod rel…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

790 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question