我的网站http://www.haoword.com/重写URL经常出现下面这个错误是怎么回事?要怎么解决呢?
Server Error in '/' Application.
--------------------------------------------------------------------------------Object reference not set to an instance of an object.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. Stack Trace:
[NullReferenceException: Object reference not set to an instance of an object.]
URLRewriter.RewriterFactoryHandler.GetHandler(HttpContext context, String requestType, String url, String pathTranslated) +118
System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig) +175
System.Web.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +120
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +155
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42
Server Error in '/' Application.
--------------------------------------------------------------------------------Object reference not set to an instance of an object.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. Stack Trace:
[NullReferenceException: Object reference not set to an instance of an object.]
URLRewriter.RewriterFactoryHandler.GetHandler(HttpContext context, String requestType, String url, String pathTranslated) +118
System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig) +175
System.Web.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +120
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +155
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42
解决方案 »
- 代码错误,找不到具体问题 ,问题(点击更新后,就提示更新成功,无法进行编辑)
- 如何在后台获取前台页面静态CheckBox的ID(选中的)
- repeater中删除怎么弹出提醒
- 怎样实现这样的排序SELECT * FROM TABLE WHERE ID IN (-1,200795,200032,200037,200048,200063)
- vs2005的命名空间问题:郁闷了几天,请高手解决!!分不够再加!!
- 怎么用asp.net在win2003下动态创建IIS虚拟目录
- Application["xxx"] 已经赋值 在另外一个类中访问 总是提示对象未实例化 请问还要应用什么?
- vs2005 Web界面开发, 控件为什么不能拖动?
- CSDN社区的导航页咋个做?
- 新手请教:如何将table里表格内容取数据库里的字段 来居左或居右
- 请教数据采集
- 如何在Ajax中操作asp.net Profile
请问要怎么检查错误与解决问题呢