0

I have two SharePoint websites

A web part is working on one site but corrupted in second site and it is stored in the database.

When I recover database from first site database then the web part is working fine.

Anybody know in which table SharePoint storing template for web parts?

4
  • is it custom webpart or OOTB?
    – Waqas Sarwar MVP
    Jul 6, 2015 at 16:29
  • this is custom webpart and i donot have its template.I am finding the way to recover it from first site.
    – Chander .k
    Jul 6, 2015 at 16:35
  • Did you try the solution mentioned by eric?
    – Waqas Sarwar MVP
    Jul 6, 2015 at 16:43
  • Yes i had tried it before. But didnot get any success.
    – Chander .k
    Jul 6, 2015 at 16:50

1 Answer 1

1

Tinkering around to fix it in the database is not recommended or supported. The old stand by is to navigate to your web part page and add ?contents=1 to the end of the URL. Here you can delete the corrupt web part. Then go back to your web part page and add it back.

You can always try exporting the web part from the site it is working in and importing it into the new site after you delete the corrupted one.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.