问题描述
+System-Provider[Name]ASP.NET2.0.50727.0-EventID1310[Qualifiers]32768Level3Task3Keywords0x80000000000000-TimeCreated[SystemTime]2012-06-16T12:20:58.000000000ZEventRecordID1774ChannelApplicationComputerWIN-9MONBNOQ97USecurity-EventData3008发生了配置错误。2012/6/1620:20:582012/6/1612:20:58f81b2f5edf1442d48b5f643168a8e2da940/LM/W3SVC/3/ROOT-1-129843212647191328Full/E:joinheadwwwrootzjtcm_stytbmwwwWIN-9MONBNOQ97U3684w3wp.exeIISAPPPOOLswytbmConfigurationErrorsException未能加载文件或程序集“Interop.XDocsDesigner”或它的某一个依赖项。试图加载格式不正确的程序。http://zjtcmtest.joinhead.com/index.aspx/index.aspx60.186.117.70FalseIISAPPPOOLswytbm6IISAPPPOOLswytbmFalse在System.Web.Configuration.CompilationSection.LoadAssemblyHelper(StringassemblyName,BooleanstarDirective)在System.Web.Configuration.CompilationSection.LoadAllAssembliesFromAppDomainBinDirectory()在System.Web.Configuration.CompilationSection.LoadAssembly(AssemblyInfoai)在System.Web.Configuration.AssemblyInfo.get_AssemblyInternal()在System.Web.Compilation.BuildManager.GetReferencedAssemblies(CompilationSectioncompConfig)在System.Web.Compilation.WebDirectoryBatchCompiler..ctor(VirtualDirectoryvdir)在System.Web.Compilation.BuildManager.BatchCompileWebDirectoryInternal(VirtualDirectoryvdir,BooleanignoreErrors)在System.Web.Compilation.BuildManager.CompileWebFile(VirtualPathvirtualPath)在System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPathvirtualPath,BooleannoBuild,BooleanallowCrossApp,BooleanallowBuildInPrecompile)在System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContextcontext,VirtualPathvirtualPath,BooleannoBuild,BooleanallowCrossApp,BooleanallowBuildInPrecompile)在System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPathvirtualPath,HttpContextcontext,BooleanallowCrossApp,BooleannoAssert)在System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPathvirtualPath,TyperequiredBaseType,HttpContextcontext,BooleanallowCrossApp,BooleannoAssert)在System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContextcontext,StringrequestType,VirtualPathvirtualPath,StringphysicalPath)在System.Web.HttpApplication.MaterializeHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()在System.Web.HttpApplication.ExecuteStep(IExecutionStepstep,Boolean&completedSynchronously)
解决方案
解决方案二:
少东西,或者少Interop相关引用的东西
解决方案三:
我在WIN2003SERVER+.NET3.5+OFFICE2003环境下能够正常运行现在换了个win2008server+.NET3.5+OFFICE2003出现以上错误
解决方案四:
Interop.XDocsDesigner.dll我已经放在BIN里面的,就是不知道为什么win2008解析不出来引用1楼的回复:
少东西,或者少Interop相关引用的东西