enter image description hereI have dropped a webpart on publishing page but when i click on (process)button it transfer me to this error:

Sorry, something went wrong An unexpected error has occurred. Web Parts Maintenance Page: If you have permission, you can use this page to temporarily close Web Parts or remove personal settings. For more information, contact your site administrator.

My webpart contains a search button and a process button and a gridview, functionality of process button is to read an excel file and display it in a gridview the whole process is working fine on other site but is not working on my QA site where testing is going on and because of this I can not debuggingSnapshot

scenario is I have to select file and process.

can anybody helps me out why it is transferring me to the "Web Parts Maintenance Page"

the same thing is working fine on the other site

Similar question was asked here.

You will see that on the error page, there is a correlation ID and timestamp of the error. You will need to go into the logs of Sharepoint (something like microsoft shared/15/logs), find the ID corresponding to the error, and this log will show you what was changed that is causing this error.

  • where can i find the log file? – Mohammad Mavia Jun 10 '14 at 7:28
  • It might be different for you, but it can be found in program files/common files/microsoft shared/(15 or 14)/logs. Then go through the most recent logs to find the correlation ID matching the one in the error report. I wish we could give you a more straightforward answer, but this error can be caused by a number of things. It won't be clear until you check the logs. – Brandon C. Jun 10 '14 at 7:30
  • If you are unsure of what you are looking for, it will be a text document containing what looks like compilation error messages, like you would see on any IDE, followed by a string of characters. Those characters are the corr ID, and the ID that matches your will show what is causing the error that bring you to the screen. – Brandon C. Jun 10 '14 at 7:37
  • postimg.org/image/nujbvw1sv there is no log file – Mohammad Mavia Jun 10 '14 at 7:48
  • Then, for clarification, did you delete something on the publishing page, and then it is causing the error when you click the processing button? If that is the case, maybe the actual processing function depended (in some way) on the deleted element. – Brandon C. Jun 10 '14 at 7:52

one thing i can think of is, is it using the correct list that its pulling out the data into the gridview? are you using the correct column names between the gridview and the list on the site??

its given you an id in the error page... you need to copy that id and search on the log file using that id in 14 or 15 hive!!!

  • Process button is not using any sort of list. it is just reading the excel file and display data in gridview – Mohammad Mavia Jun 10 '14 at 7:17
  • what error does it show in the log file?, can you post only the process button code? – Ali Jafer Jun 10 '14 at 7:20
  • where can i find the log file? – Mohammad Mavia Jun 10 '14 at 7:28
  • c:\program files\common files\microsoft shared\web server extensions\14\logs , that is for 2010 if 2013 than change 14 to 15! obviously this would be on the server itself where sharepoint is hosted! – Ali Jafer Jun 10 '14 at 7:32
  • there is no log file in it that you have asking for. – Mohammad Mavia Jun 10 '14 at 7:46

Your Answer

 
discard

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

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