xiaozijun - 2006-12-11 10:04:00
“/discuz”应用程序中的服务器错误。
未将对象引用设置到对象的实例。 说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。
异常详细信息: System.NullReferenceException: 未将对象引用设置到对象的实例。
源错误:| 执行当前 Web 请求期间生成了未处理的异常。可以使用下面的异常堆栈跟踪信息确定有关异常原因和发生位置的信息。 |
堆栈跟踪:| [NullReferenceException: 未将对象引用设置到对象的实例。] Discuz.setup.setup.Page_Load(Object sender, EventArgs e) System.Web.UI.Control.OnLoad(EventArgs e) +67 System.Web.UI.Control.LoadRecursive() +35 System.Web.UI.Page.ProcessRequestMain() +750 |
版本信息: Microsoft .NET Framework 版本:1.1.4322.2032; ASP.NET 版本:1.1.4322.2032
之后我将web.config,bin,剪切到根目录,dnt复制到根目录,又出现以下提示:
“/discuz”应用程序中的服务器错误。 配置错误 说明: 在处理向该请求提供服务所需的配置文件时出错。请检查下面的特定错误详细信息并适当地修改配置文件。
分析器错误信息: 找不到文件或程序集名称“Discuz.Forum”,或找不到它的一个依赖项。
源错误:
| 行 73: -->行 74: <httpModules>行 75: <add type="Discuz.Forum.HttpModule, Discuz.Forum" name="HttpModule" />行 76: </httpModules>行 77: |
源文件: c:\inetpub\wwwroot\web.config 行: 75
程序集加载跟踪: 下列信息有助于确定程序集“Discuz.Forum”无法加载的原因。
| === Pre-bind state information ===LOG: DisplayName = Discuz.Forum (Partial)LOG: Appbase = file:///F:/discuzLOG: Initial PrivatePath = binCalling assembly : (Unknown).===LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).LOG: Post-policy reference: Discuz.ForumLOG: Attempting download of new URL file:///c:/windows/microsoft.net/framework/v1.1.4322/Temporary ASP.NET Files/discuz/134242de/f4787122/Discuz.Forum.DLL.LOG: Attempting download of new URL file:///c:/windows/microsoft.net/framework/v1.1.4322/Temporary ASP.NET Files/discuz/134242de/f4787122/Discuz.Forum/Discuz.Forum.DLL.LOG: Attempting download of new URL file:///F:/discuz/bin/Discuz.Forum.DLL.LOG: Attempting download of new URL file:///F:/discuz/bin/Discuz.Forum/Discuz.Forum.DLL.LOG: Attempting download of new URL file:///c:/windows/microsoft.net/framework/v1.1.4322/Temporary ASP.NET Files/discuz/134242de/f4787122/Discuz.Forum.EXE.LOG: Attempting download of new URL file:///c:/windows/microsoft.net/framework/v1.1.4322/Temporary ASP.NET Files/discuz/134242de/f4787122/Discuz.Forum/Discuz.Forum.EXE.LOG: Attempting download of new URL file:///F:/discuz/bin/Discuz.Forum.EXE.LOG: Attempting download of new URL file:///F:/discuz/bin/Discuz.Forum/Discuz.Forum.EXE. |
之后我再将asp换成2.0的,出现以下提示
Server Error in '/discuz' Application. Configuration Error Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
Parser Error Message: Could not load file or assembly 'Discuz.Forum' or one of its dependencies. 系统找不到指定的文件。 (c:\inetpub\wwwroot\web.config line 75)
Source Error:
| Line 73: -->Line 74: <httpModules>Line 75: <add type="Discuz.Forum.HttpModule, Discuz.Forum" name="HttpModule" />Line 76: </httpModules>Line 77: |
Source File: c:\inetpub\wwwroot\web.config Line: 75
kiss001 - 2006-12-11 10:09:00
:)
xiaozijun - 2006-12-11 10:13:00
你说asp.net什么版本?下面有阿,1.1的
后来我复制那些文件之后,用1.1的,他说什么 attemping 什么file之类的,找不到文件,我换成2.0之后,么有找不到文件的错误,但是仍然有以上的错误。
lcxlcx - 2006-12-11 11:18:00
啥很多人都在问这个问题
在IIS新建一个网站,不要用虚拟目录就不会啦。。。。/