Home Page Link
  Skip Navigation Links
Mirrored Blogs
Information Worker > Blogs > Mirrored Blogs > Posts > Debugging – An unexpected error has occurred
Debugging – An unexpected error has occurred

 

Sometime if our support response emails to clients could be blogged I think the world would be a better place and global IT communities could sleep better at night or get some sleep.

Unknown Error has occurred is often found nested in a typical SharePoint page when something with your configuration has gone wrong. Could be a SQL connection, Web.Config setting, SharePoint setting, could be a UFO passing over you – could be anything right.

Here’s how to get rid of it and see an unfriendly error message (it’s been blogged many times before I’m sure, but here’s my explanation):

a)      1) Locate the web.config of your primary SharePoint application on your server file system.  Can often be found at [drive]:\Inetpub\wwwroot\WSS\VirtualDirectories\[app name]\Web.Config

b)      2) Save another copy of the Web.Config for backup purposes

c)       3) Open in Notepad or an editor of your choice and locate the following line element:

 

d)      4) Change the CallStack from “false” to “true

e)      5) Then find customErrors element and change its mode from “On” to “Off

 

f)       6) Save and Close

g)      7) You may need to Run IISRESET /noforce

h)      8) Run that page again

 

Good idea to change it back after development or resolution.

Over n Out

 

Comments

There are no comments yet for this post.

RSS Feed RSS 2.0 Feed



1
1
1
1
Tags
1
1
1
1

1
1
1
1
1
1
1
1

Feedback