Pages.Instance is null when installing in subdirectory(ScrewTurn Wiki)

news/2024/7/5 7:55:35

 

“/”应用程序中的服务器错误。

Pages.Instance is null

说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。
异常详细信息: System.InvalidOperationException: Pages.Instance is null
源错误:

执行当前 Web 请求期间生成了未处理的异常。可以使用下面的异常堆栈跟踪信息确定有关异常原因和发生位置的信息。

堆栈跟踪:

[InvalidOperationException: Pages.Instance is null]
   ScrewTurn.Wiki.Pages.get_Instance() +86
   ScrewTurn.Wiki.DefaultPage.Page_Load(Object sender, EventArgs e) +213
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +15
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +33
   System.Web.UI.Control.OnLoad(EventArgs e) +99
   ScrewTurn.Wiki.BasePage.OnLoad(EventArgs e) +11
   System.Web.UI.Control.LoadRecursive() +47
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1436


版本信息: Microsoft .NET Framework 版本:2.0.50727.1433; ASP.NET 版本:2.0.50727.1433

 

重新启动Application(更新Web.config)

http://www.screwturn.eu/forum/viewtopic.php?f=1&t=4399

http://www.screwturn.eu/forum/viewtopic.php?f=1&t=4407

转载于:https://www.cnblogs.com/emanlee/archive/2009/07/07/1518475.html


http://www.niftyadmin.cn/n/3297881.html

相关文章

C# DES

using System;//这个是使用DES的基础using System.Security.Cryptography;//这个是处理文字编码的前提using System.Text;//以“流”的形式处理文字&#xff0c;也是微软DES算法要求的using System.IO;/// <summary>/// DES加密方法/// </summary>/// <param na…

raft算法与paxos算法相比有什么优势,使用场景有什么差异?

raft利用日志连续性对Paxos做了大量很好的简化&#xff0c;但是其中有一点有很强的误导性&#xff0c;就是新任leader对于旧日志的处理&#xff0c;他的原文描述是“Raft uses a simpler approach where it guarantees that all the committed entries from previous terms are…

前端词汇大全

A absolute 绝对的active 活动的&#xff0c;激活的&#xff0c;<a>标记的一个伪类align 对齐alpha 透明度&#xff0c;半透明anchor 锚记<a>标记是这个单词的缩写arrow 箭头auto 自动Bbackground 背景border 边框banner 页面上的一个横条both 二者都是clear 属性的…

ActiveReports for .NET 简单使用

一. ActiveReports for .net的主要功能介绍 支持ASP.NET-ActiveReports在WebForms应用程序中通过使用ASP.NET 服务器控件来使用。这个控件支持分布式web报表&#xff0c;可使用HTML&#xff0c;ActiveX&#xff0c;.NET 和PDF浏览器。 完全代码集成-使用Microsoft Visual S…

基于ASP.NET的开源Blog程序总结

转自&#xff1a;http://www.livelog.org/article.aspx?id2 .Text http://www.telligentsystems.com/Solutions/Forums/ 多用户 ASP.NET 1.1 SQL Server 2000 开源 更新情况&#xff1a; 英文原版已经并入Community Server。博客园&#xff08;http://cnblogs.com &#xff0…

大数据下的用户行为分析

1. Consumer behaviour is the study of when&#xff0c;why&#xff0c;how and where people do or dont buy a product。 用户行为一般指用户通过中间资源&#xff0c;购买、使用和评价某种产品的记录。同时辅以用户、资源、产品自身及环境的信息。 用户行为记录一般可以表…

C#概念整理

一、C#中多继承的问题C# 不支持对类的多继承&#xff0c;每个类只能继承一个类&#xff1b;但支持多继承于接口&#xff0c;即每个类可以多继承于多个接口&#xff1b;二、C# 中结构体和类的区别c 中结构体和类的区别主要在于默认的可见程度不同。结构体的默认是public&#xf…

Stack栈和Heap堆的区别[转]

面试题常考题Stack—栈&#xff0c;Heap—堆。 堆存储&#xff1a; heapstorage 堆存储分配&#xff1a; heapstorage allocation 堆存储管理&#xff1a; heap storage management栈编址&#xff1a; stack addressing 栈变换&#xff1a;stack transformation 栈存储器&am…