mercoledì, aprile 04, 2007

SharePoint: Contents = 1!!!

Wow. So, I accidentally deleted a list that was the source feeding several Data View Web Parts. When these Data View Web Parts, couldn't locate the list it caused the entire page they were embedded in to result in an error, producing an error like this:

http://[the site]/[sub site]/_layouts/1033/error.aspx?
ErrorText=List+does+not+exist%
0a0aThe+page+you+selected+contains+a+list+that+does+not+exist.+
+It+may+have+been+deleted+by+another+user.++Click+%22Home%
22+at+the+top+of+the+page+to+return+to+your+Web+site.

A brilliant co-worker provided the answer:

http://[the site]/[sub site]/default.aspx?contents=1

From there it was a simple matter to delete the offending DVWP. Viva contents=1!