Solved

How to customize the error messages in sharepoint

Posted on 2009-05-07
4
332 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 used to be SharePoint evangelist in our company, so my Outlook always full of questions about how to do this, or where I can find that. One day I found such an email with the following question: "how to attach 3-State workflow (one of the workflow…
SharePoint Designer 2010 has tools and commands to do everything that can be done with web parts in the browser, and then some – except uploading a web part straight into a page that is edited in SPD. So, can it be done? Scenario For a recent pr…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…
Delivering innovative fully-managed cloud services for mission-critical applications requires expertise in multiple areas plus vision and commitment. Meet a few of the people behind the quality services of Concerto.

929 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now