Solved

How to customize the error messages in sharepoint

Posted on 2009-05-07
4
335 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

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

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

When installing SharePoint 2010 RTM I came across a strange error, I was getting timeouts during the installation. I searched the web and found the best solution to be found here (http://social.msdn.microsoft.com/Forums/en-US/sharepoint2010genera…
There is one common problem that all we SharePoint developers share: custom solution deployment. This topic can't be covered fully in this short article, so all I want to do in this one is to review it from a development-to-operations perspectiv…
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…

756 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