In my SharePoint 2013 after creating web application and site creation the site is not opening and its throwing following error.Why its happening,please someone help for this.

enter image description here

enter image description here

  • do you have any custom solution deployed into your farm? – Waqas Sarwar MVP Apr 28 '16 at 14:01
  • yes i was deployed solution from visual studio. – Elina Apr 29 '16 at 6:03

Did you make any manual changes to the web.config file? Looks like there is safe control entry in web.config file that is causing the error (in your screenshot the line that is highlighted). The safe control line is not correct and probably also not in the correct node. Try removing that line from web.config file.

  • I was removed that line now it was working,But manually i did not change anything in web.config then why its coming like this ?If you know pls share with me – Elina Apr 28 '16 at 12:59
  • i shared screenshot above in that web.bak files are there.this files are generated in only my system, in my colleague system only web.conf file is there. – Elina Apr 28 '16 at 13:05
  • 1
    .bak file is generated everytime the web.config is updated. It is just a backup of the file so you can have a look or revert back to an older version. – Suleyman Apr 28 '16 at 13:09

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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