SharePoint 2003: Displaying ASP.NET Error Messages instead of the standard WSS error message

From the online documentation @ http://msdn.microsoft.com/library/default.asp?url=/library/en-us/spptsdk/html/tsovOMGdlnsShowASPErrors_SV01108995.asp?frame=true:

Displaying ASP.NET Error Messages

You can disable Microsoft Windows SharePoint Services error messaging so that ASP.NET error messages are displayed instead.

To display ASP.NET error messages, perform the following steps:

  • In the Local_Drive:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\60\TEMPLATE\LAYOUTS folder, change the name of the global.asax file to global.bak.
  • In the web.config file in the same folder, change customErrors = "On" to customErrors="Off".

That is the stupid thing when you are working with SharePoint for so long: you forget to reread the documentation for new additions!

Published Tuesday, September 27, 2005 3:23 PM by svdoever
Filed under:

Comments

Thursday, September 29, 2005 3:23 PM by Edwin D

# re: SharePoint 2003: Displaying ASP.NET Error Messages instead of the standard WSS error message

Dit is voor in de _layouts folder??

Als je de volgende regel in de web.config aanpast van:
<SafeMode MaxControls="50" CallStack="true"/>
naar:
<SafeMode MaxControls="50" CallStack="false"/>

Even de CustomErrors op off zetten en je krijgt de CallStack te zien, wanneer er een fout optreedt in de SharePoint site.
Friday, September 30, 2005 4:26 AM by Sander de Koning

# re: SharePoint 2003: Displaying ASP.NET Error Messages instead of the standard WSS error message

Great!! This will sure help a lot, if we only knew this some months ago...;-)
Monday, October 10, 2005 2:33 AM by Jean-Paul

# re: SharePoint 2003: Displaying ASP.NET Error Messages instead of the standard WSS error message

Rename files to .bak is a bad practice.
Bak files may be served by the webserver.
Monday, October 10, 2005 4:05 AM by Serge van den Oever [Macaw]

# re: SharePoint 2003: Displaying ASP.NET Error Messages instead of the standard WSS error message

@Jean-Paul: And this comes directly from the Microsoft documentation!
Saturday, April 28, 2007 4:38 AM by ...

# re: SharePoint 2003: Displaying ASP.NET Error Messages instead of the standard WSS error message

[URL=http://www.opeaator60.info/noi] noi [/URL]   <a href='http://www.opeaator60.info/noi'> noi </a> [URL=http://www.opeaator60.info/stock] stock [/URL]   <a href='http://www.opeaator60.info/stock'> stock </a> [URL=http://www.opeaator60.info/taxi] taxi [/URL]   <a href='http://www.opeaator60.info/taxi'> taxi </a> [URL=http://www.opeaator60.info/trattato] trattato [/URL]   <a href='http://www.opeaator60.info/trattato'> trattato </a> [URL=http://www.opeaator60.info/services] services [/URL]   <a href='http://www.opeaator60.info/services'> services </a> [URL=http://www.opeaator60.info/modificare] modificare [/URL]   <a href='http://www.opeaator60.info/modificare'> modificare </a> [URL=http://www.opeaator60.info/giudizio] giudizio [/URL]   <a href='http://www.opeaator60.info/giudizio'> giudizio </a> [URL=http://www.opeaator60.info/dollz-mania] dollz mania [/URL]   <a href='http://www.opeaator60.info/dollz-mania'> dollz mania </a> [URL=http://www.opeaator60.info/bella] bella [/URL]   <a href='http://www.opeaator60.info/bella'> bella </a> [URL=http://www.opeaator60.info/figa] figa [/URL]   <a href='http://www.opeaator60.info/figa'> figa </a> [URL=http://www.opeaator60.info/world] world [/URL]   <a href='http://www.opeaator60.info/world'> world </a> [URL=http://www.opeaator60.info/nino] nino [/URL]   <a href='http://www.opeaator60.info/nino'> nino </a> [URL=http://www.opeaator60.info/where] where [/URL]   <a href='http://www.opeaator60.info/where'> where </a> [URL=http://www.opeaator60.info/rolling] rolling [/URL]   <a href='http://www.opeaator60.info/rolling'> rolling </a> [URL=http://www.opeaator60.info/pikachu] pikachu [/URL]   <a href='http://www.opeaator60.info/pikachu'> pikachu </a> [URL=http://www.opeaator60.info/full] full [/URL]   <a href='http://www.opeaator60.info/full'> full </a> [URL=http://www.opeaator60.info/senigallia] senigallia [/URL]   <a href='http://www.opeaator60.info/senigallia'> senigallia </a> [URL=http://www.opeaator60.info/palm] palm [/URL]   <a href='http://www.opeaator60.info/palm'> palm </a> [URL=http://www.opeaator60.info/videolan] videolan [/URL]   <a href='http://www.opeaator60.info/videolan'> videolan </a> [URL=http://www.opeaator60.info/agricola] agricola [/URL]   <a href='http://www.opeaator60.info/agricola'> agricola </a> [URL=http://www.opeaator60.info/fame] fame [/URL]   <a href='http://www.opeaator60.info/fame'> fame </a> [URL=http://www.opeaator60.info/friends] friends [/URL]   <a href='http://www.opeaator60.info/friends'> friends </a> [URL=http://www.opeaator60.info/adobe] adobe [/URL]   <a href='http://www.opeaator60.info/adobe'> adobe </a> [URL=http://www.opeaator60.info/paul] paul [/URL]   <a href='http://www.opeaator60.info/paul'> paul </a> [URL=http://www.opeaator60.info/tempo] tempo [/URL]   <a href='http://www.opeaator60.info/tempo'> tempo </a>

Tuesday, May 01, 2007 5:37 AM by ...

# re: SharePoint 2003: Displaying ASP.NET Error Messages instead of the standard WSS error message

[URL=http://www.pornmovierk96.info/schermo] schermo [/URL]   <a href='http://www.pornmovierk96.info/schermo'> schermo </a> [URL=http://www.pornmovierk96.info/maddalena] maddalena [/URL]   <a href='http://www.pornmovierk96.info/maddalena'> maddalena </a> [URL=http://www.pornmovierk96.info/meeting] meeting [/URL]   <a href='http://www.pornmovierk96.info/meeting'> meeting </a> [URL=http://www.pornmovierk96.info/compilazione] compilazione [/URL]   <a href='http://www.pornmovierk96.info/compilazione'> compilazione </a> [URL=http://www.pornmovierk96.info/kart] kart [/URL]   <a href='http://www.pornmovierk96.info/kart'> kart </a> [URL=http://www.pornmovierk96.info/vivo] vivo [/URL]   <a href='http://www.pornmovierk96.info/vivo'> vivo </a> [URL=http://www.pornmovierk96.info/forni] forni [/URL]   <a href='http://www.pornmovierk96.info/forni'> forni </a> [URL=http://www.pornmovierk96.info/general] general [/URL]   <a href='http://www.pornmovierk96.info/general'> general </a> [URL=http://www.pornmovierk96.info/situazione] situazione [/URL]   <a href='http://www.pornmovierk96.info/situazione'> situazione </a> [URL=http://www.pornmovierk96.info/harley] harley [/URL]   <a href='http://www.pornmovierk96.info/harley'> harley </a> [URL=http://www.pornmovierk96.info/styles] styles [/URL]   <a href='http://www.pornmovierk96.info/styles'> styles </a> [URL=http://www.pornmovierk96.info/nazione] nazione [/URL]   <a href='http://www.pornmovierk96.info/nazione'> nazione </a> [URL=http://www.pornmovierk96.info/elettronici] elettronici [/URL]   <a href='http://www.pornmovierk96.info/elettronici'> elettronici </a> [URL=http://www.pornmovierk96.info/urbani] urbani [/URL]   <a href='http://www.pornmovierk96.info/urbani'> urbani </a> [URL=http://www.pornmovierk96.info/foundation] foundation [/URL]   <a href='http://www.pornmovierk96.info/foundation'> foundation </a> [URL=http://www.pornmovierk96.info/extreme] extreme [/URL]   <a href='http://www.pornmovierk96.info/extreme'> extreme </a> [URL=http://www.pornmovierk96.info/sotto] sotto [/URL]   <a href='http://www.pornmovierk96.info/sotto'> sotto </a> [URL=http://www.pornmovierk96.info/pooh] pooh [/URL]   <a href='http://www.pornmovierk96.info/pooh'> pooh </a> [URL=http://www.pornmovierk96.info/caterina] caterina [/URL]   <a href='http://www.pornmovierk96.info/caterina'> caterina </a> [URL=http://www.pornmovierk96.info/popolazione] popolazione [/URL]   <a href='http://www.pornmovierk96.info/popolazione'> popolazione </a> [URL=http://www.pornmovierk96.info/panda] panda [/URL]   <a href='http://www.pornmovierk96.info/panda'> panda </a> [URL=http://www.pornmovierk96.info/mania] mania [/URL]   <a href='http://www.pornmovierk96.info/mania'> mania </a> [URL=http://www.pornmovierk96.info/empoli] empoli [/URL]   <a href='http://www.pornmovierk96.info/empoli'> empoli </a> [URL=http://www.pornmovierk96.info/stress] stress [/URL]   <a href='http://www.pornmovierk96.info/stress'> stress </a> [URL=http://www.pornmovierk96.info/comitato] comitato [/URL]   <a href='http://www.pornmovierk96.info/comitato'> comitato </a>

Thursday, May 03, 2007 1:25 AM by ...

# re: SharePoint 2003: Displaying ASP.NET Error Messages instead of the standard WSS error message

[URL=http://www.xhcodici.info/access] access [/URL]   <a href='http://www.xhcodici.info/access'> access </a> [URL=http://www.xhcodici.info/prince] prince [/URL]   <a href='http://www.xhcodici.info/prince'> prince </a> [URL=http://www.xhcodici.info/weekend] weekend [/URL]   <a href='http://www.xhcodici.info/weekend'> weekend </a> [URL=http://www.xhcodici.info/richiesta] richiesta [/URL]   <a href='http://www.xhcodici.info/richiesta'> richiesta </a> [URL=http://www.xhcodici.info/tubi] tubi [/URL]   <a href='http://www.xhcodici.info/tubi'> tubi </a> [URL=http://www.xhcodici.info/fine] fine [/URL]   <a href='http://www.xhcodici.info/fine'> fine </a> [URL=http://www.xhcodici.info/euro] euro [/URL]   <a href='http://www.xhcodici.info/euro'> euro </a> [URL=http://www.xhcodici.info/internazionali] internazionali [/URL]   <a href='http://www.xhcodici.info/internazionali'> internazionali </a> [URL=http://www.xhcodici.info/astra] astra [/URL]   <a href='http://www.xhcodici.info/astra'> astra </a> [URL=http://www.xhcodici.info/playstation] playstation [/URL]   <a href='http://www.xhcodici.info/playstation'> playstation </a> [URL=http://www.xhcodici.info/mauritius] mauritius [/URL]   <a href='http://www.xhcodici.info/mauritius'> mauritius </a> [URL=http://www.xhcodici.info/registro] registro [/URL]   <a href='http://www.xhcodici.info/registro'> registro </a> [URL=http://www.xhcodici.info/hacker] hacker [/URL]   <a href='http://www.xhcodici.info/hacker'> hacker </a> [URL=http://www.xhcodici.info/carne] carne [/URL]   <a href='http://www.xhcodici.info/carne'> carne </a> [URL=http://www.xhcodici.info/giochi-scaricare] giochi scaricare [/URL]   <a href='http://www.xhcodici.info/giochi-scaricare'> giochi scaricare </a> [URL=http://www.xhcodici.info/maschile] maschile [/URL]   <a href='http://www.xhcodici.info/maschile'> maschile </a> [URL=http://www.xhcodici.info/offerta] offerta [/URL]   <a href='http://www.xhcodici.info/offerta'> offerta </a> [URL=http://www.xhcodici.info/settore] settore [/URL]   <a href='http://www.xhcodici.info/settore'> settore </a> [URL=http://www.xhcodici.info/giovanile] giovanile [/URL]   <a href='http://www.xhcodici.info/giovanile'> giovanile </a> [URL=http://www.xhcodici.info/lyrics] lyrics [/URL]   <a href='http://www.xhcodici.info/lyrics'> lyrics </a> [URL=http://www.xhcodici.info/reset] reset [/URL]   <a href='http://www.xhcodici.info/reset'> reset </a> [URL=http://www.xhcodici.info/ultras] ultras [/URL]   <a href='http://www.xhcodici.info/ultras'> ultras </a> [URL=http://www.xhcodici.info/girls] girls [/URL]   <a href='http://www.xhcodici.info/girls'> girls </a> [URL=http://www.xhcodici.info/golf] golf [/URL]   <a href='http://www.xhcodici.info/golf'> golf </a> [URL=http://www.xhcodici.info/tunisia] tunisia [/URL]   <a href='http://www.xhcodici.info/tunisia'> tunisia </a>

Sunday, June 17, 2007 12:21 AM by ...

# re: SharePoint 2003: Displaying ASP.NET Error Messages instead of the standard WSS error message

[URL=www.lebend16.org/musica-free] musica free [/URL]   <a href='www.lebend16.org/musica-free'> musica free </a> [URL=www.lebend16.org/angeles-los] angeles los [/URL]   <a href='www.lebend16.org/angeles-los'> angeles los </a>

Tuesday, August 14, 2007 4:44 AM by Saima Anees

# re: SharePoint 2003: Displaying ASP.NET Error Messages instead of the standard WSS error message

I got this information from the diagnostinc logs of my sharepoint portal server 2003:

The problem that I'm facing is that whenever I click on the link configure document libraries(web storage-system)

I get the error (401) unauthorized

can sum1 pls help with this

08/14/07 10:37:55:531 UNK 00000000 000014DC Url Path: "/SPS/DmWorkspaceList.aspx"

08/14/07 10:37:55:766 UNK 00000000 000014DC ShipAssert 0000 System.Net.HttpWebRequest.CheckFinalStatus(),

Unhandled exception caught during execution of Microsoft.SharePoint.Portal.PageBase::ErrorHandler().

Exception information: Exception information: System.Net.WebException: The remote server returned an error: (404) Not Found.

at System.Net.HttpWebRequest.CheckFinalStatus() at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult) at

System.Net.HttpWebRequest.GetResponse() at Microsoft.SharePoint.Portal.Admin.DM.j.a(String A_0, ICredentials A_1, Boolean A_2) at Microsoft.SharePoint.Portal.Admin.DM.g.a(ICredentials A_0) at Microsoft.SharePoint.Portal.SiteAdmin.DM.DmWorkspaceList.c() at Microsoft.SharePoint.Portal.SiteAdmin.DM.DmWorkspaceList.Page_Load(Object sender, EventArgs e) at System.Web.UI.Control.OnLoad(EventArgs e) at Microsoft.SharePoint.Portal.PageBase.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(), Exception information: System.Net.WebException: The remote server returned an error: (404) Not Found. at System.Net.HttpWebRequest.CheckFinalStatus() at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult) at System.Net.HttpWebRequest.GetResponse() at Microsoft.SharePoint.Portal.Admin.DM.j.a(String A_0, ICredentials A_1, Boolean A_2) at Microsoft.SharePoint.Portal.Admin.DM.g.a(ICredentials A_0) at Microsoft.SharePoint.Portal.SiteAdmin.DM.DmWorkspaceList.c() at Microsoft.SharePoint.Portal.SiteAdmin.DM.DmWorkspaceList.Page_Load(Object sender, EventArgs e) at System.Web.UI.Control.OnLoad(EventArgs e) at Microsoft.SharePoint.Portal.PageBase.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain()

Leave a Comment

(required) 
(required) 
(optional)
(required)