Solved

How to customize the error messages in sharepoint

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

Free Gift Card with Acronis Backup Purchase!

Backup any data in any location: local and remote systems, physical and virtual servers, private and public clouds, Macs and PCs, tablets and mobile devices, & more! For limited time only, buy any Acronis backup products and get a FREE Amazon/Best Buy gift card worth up to $200!

Join & Write a Comment

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…
These days socially coordinated efforts have turned into a critical requirement for enterprises.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

762 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

18 Experts available now in Live!

Get 1:1 Help Now