Don’t forget spcontnt is your key for ‘web part’ error resolution

 

English:
(This articles has already been posted in
www.msd2d.com. Now I post it again in my own blog.)

Eventough webpart is very powerfull, but debuging web part is painfull. For example, you forget to put try-catch block in your code – and one day you get error without any clue to edit. Or imagine, you’re creating on-the-fly graph web part, and send wrong HTML header to the page. Causing Sharepoint page shows image only and no interface to access.

What should we do ?

Remember that Sharepoint has spcontnt.aspx – an interface to edit web farm content,

http://[YOURSITES/_layouts/1033/spcontnt.aspx?&url=[FULLYENCODED_WEBFARMPAGE]

Change [YOURSITES] to url of your site, and [FULLYENCODED_WEBFARMPAGE] to url to your web farm.aspx page.

Then, close the offending web part.

About

Riwut Libinuko, experienced Architect. Currently working with Credit Agricole CIB, responsible for SharePoint platform in Asia Pasific. . Certification: SharePoint 2013, SharePoint 2010, SharePoint 2007, ITiL v3

Posted in Microsoft Sharepoint
One comment on “Don’t forget spcontnt is your key for ‘web part’ error resolution
  1. Any S. says:

    Thanks, I’ve been looking for this for long time.

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: