程序人生,软件一生。

欢迎来到顾祥先的网站
  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

IIS应用程序池的设置对dotnetnuke3.0.8运行的影响

Posted on 2005-01-08 19:08  Guxx  阅读(994)  评论(0编辑  收藏  举报
经过两天的奋斗,终于明白了IIS应用程序池的设置对dotnetnuke3.0.8运行的影响
应用程序池的标识中的预定义帐户设置为本地帐户时会出现如下错误。经过探索,改为网络帐户,OK

Server Error in '/DotNetNuke3.0.8' Application.

找不到文件或程序集名称“7_plmmyz.dll”,或找不到它的一个依赖项。

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.IO.FileNotFoundException: 找不到文件或程序集名称“7_plmmyz.dll”,或找不到它的一个依赖项。

Source Error:

Line 224:            xser = New XmlSerializer(obj.GetType)
Line 225:            sw = New StringWriter
Line 226:            xser.Serialize(sw, obj)
Line 227:
Line 228:            xmlDoc.LoadXml(sw.GetStringBuilder().ToString())

Source File: D:\Works\DotNetNuke3.0.8\components\Shared\XmlUtils.vb    Line: 226

Assembly Load Trace: The following information can be helpful to determine why the assembly '7_plmmyz.dll' could not be loaded.

=== Pre-bind state information ===
LOG: Where-ref bind. Location = C:\WINDOWS\TEMP\7_plmmyz.dll
LOG: Appbase = file:///D:/Works/DotNetNuke3.0.8
LOG: Initial PrivatePath = bin
Calling assembly : (Unknown).
===

LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).
LOG: Attempting download of new URL file:///C:/WINDOWS/TEMP/7_plmmyz.dll.

Stack Trace:

[FileNotFoundException: 找不到文件或程序集名称“7_plmmyz.dll”,或找不到它的一个依赖项。]
   System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Boolean isStringized, Evidence assemblySecurity, Boolean throwOnFileNotFound, Assembly locationHint, StackCrawlMark& stackMark) +0
   System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Boolean stringized, Evidence assemblySecurity, StackCrawlMark& stackMark) +307
   System.Reflection.Assembly.Load(AssemblyName assemblyRef, Evidence assemblySecurity) +21
   System.CodeDom.Compiler.CompilerResults.get_CompiledAssembly() +67
   System.CodeDom.Compiler.CompilerResults.get_CompiledAssembly() +0
   System.Xml.Serialization.Compiler.Compile() +411
   System.Xml.Serialization.TempAssembly..ctor(XmlMapping[] xmlMappings) +1259
   System.Xml.Serialization.XmlSerializer..ctor(Type type, String defaultNamespace) +316
   System.Xml.Serialization.XmlSerializer..ctor(Type type) +27
   DotNetNuke.Common.Utilities.XmlUtils.Serialize(Object obj) in D:\Works\DotNetNuke3.0.8\components\Shared\XmlUtils.vb:226
   DotNetNuke.Services.Log.EventLog.XMLLoggingProvider.AddLog(LogInfo objLogInfo) in D:\Works\DotNetNuke3.0.8\Providers\LoggingProviders\XMLLoggingProvider\XMLLoggingProvider.vb:70
   DotNetNuke.Services.Log.EventLog.LogController.AddLog(LogInfo objLogInfo) in D:\Works\DotNetNuke3.0.8\components\Providers\Logging\LogController.vb:41
   DotNetNuke.Services.Log.EventLog.EventLogController.AddLog(EventLogInfo objEventLogInfo) in D:\Works\DotNetNuke3.0.8\components\Providers\Logging\Event Logging\EventLogController.vb:40
   DotNetNuke.HttpModules.LoggingModule.Init(HttpApplication application) in D:\Works\DotNetNuke3.0.8\HttpModules\Logging\LoggingModule.vb:47
   System.Web.HttpApplication.InitModules() +100
   System.Web.HttpApplication.InitInternal(HttpContext context, HttpApplicationState state, MethodInfo[] handlers) +1295
   System.Web.HttpApplicationFactory.GetNormalApplicationInstance(HttpContext context) +392
   System.Web.HttpApplicationFactory.GetApplicationInstance(HttpContext context) +256
   System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +414


Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.573