Troubleshooting the SharePoint “File not found” Error

Have you ever come across a “File Not Found” error when accessing some part of your WSS 3.0, MOSS 2007, or SharePoint 2010portal? So have I. There are some modifications that the farm administrator can make to the web application’s web.config file to show more information about the error.

I’ll break it down into an easy-to-follow guide that should give you a starting point to troubleshoot the error.

Follow these steps:

  1. Navigate Here:
    C:\inetpub\wwroot\wss\Virtual Directories\<your web app's virtual directory>
    1. You can also open IIS
    2. Expand Sites
    3. Right click on your SharePoint site
    4. Choose explore
    5. proceed to step 2
  2. Copy and paste the web.config file (making a backup)
  3. Open web.config using notepad
  4. Search for “CallStack” , set this equal to true
  5. Search for “Custom”, set the customerrors = “Off”
  6. Search for “Debug”, set Debug = “True”
  7. Save the web.config file and refresh your page in the browser

You should now see what the error actually is.

Many times it is a web part assembly reference missing from the web.config or something similar.

This should at least give you a more precise troubleshooting starting point. Remember to turn CustomErrors back “On” in the web.config after fixing the issue so that your end users won’t see an ugly Asp.Net error if this happens again.

Thanks for reading and stay tuned to the blog for more SharePoint tips and tricks!

最新文章

  1. [转]Web APi之认证(Authentication)及授权(Authorization)【一】(十二)
  2. PBX 评测二
  3. Unity3d知识体系思维导图
  4. MakeCode 递归生成资源文件
  5. AEAI EM费用管理系统V1.0.2版本开源发布
  6. CSS实现样式布局
  7. MySQL 存储php中json_encode格式中文问题及解决
  8. U_boot 的 bootcmd 和bootargs参数详解
  9. 反转链表 --剑指offer
  10. zookeeper部署到linux操作步骤
  11. VMware修改为静态ip
  12. 排序算法的复习和总结[PHP实现]
  13. Sql语句之并(UNION)、交(INTERSECT)、差(minus)、除去(EXCEPT)
  14. 图解安装Debian 9.5全过程
  15. python 爬虫newspaper3k 新闻爬去方法 利用第三方库
  16. K8s 介绍
  17. 使用VS Code新建编译Flutter项目
  18. 摘:strings(字符串)简介
  19. ssh登陆github
  20. Effective C++ 条款12:复制对象时勿忘其每一个成分

热门文章

  1. C# 多线程 Parallel.For 和 For 谁的效率高?那么 Parallel.ForEach 和 ForEach 呢?
  2. linux awk 内置函数实例
  3. springboot 发送邮件+模板+附件
  4. .NetCore实践篇:分布式监控Zipkin持久化之殇
  5. VS2017登陆不了,TFS无法连接成功的问题
  6. iphone忘记锁屏密码却记得appleID密码的不保存数据的刷机办法
  7. GlusterFS分布式存储集群部署记录-相关补充
  8. ACM找bug方案
  9. Linux内核分析作业八
  10. [what is machine learning?]