当我尝试访问我的localhost网站时收到此错误消息 . 当我构建项目时,所有依赖项都已成功解决,之后我在IIS上部署了应用程序(我使用的是支持32位应用程序的自定义应用程序池),当我尝试从localhost访问它时:8080我得到了这个错误 . 我还安装了Microsoft Expression 4工具 . 这是我的堆栈跟踪:

[FileNotFoundException:无法加载文件或程序集'Microsoft.Expression.Encoder.Api2.dll'或其依赖项之一 . 找不到指定的模块 . ] System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName,String codeBase,Evidence assemblySecurity,RuntimeAssembly locationHint,StackCrawlMark&stackMark,IntPtr pPrivHostBinder,Boolean throwOnFileNotFound,Boolean forIntrospection,Boolean suppressSecurityChecks)0 System.Reflection.RuntimeAssembly .nLoad(AssemblyName fileName,String codeBase,Evidence assemblySecurity,RunTimeAssembly locationHint,StackCrawlMark&stackMark,IntPtr pPrivHostBinder,Boolean throwOnFileNotFound,Boolean forIntrospection,Boolean suppressSecurityChecks)34 System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef,Evidence assemblySecurity,RuntimeAssembly reqAssembly,StackCrawlMark&stackMark ,IntPtr pPrivHostBinder,Boolean throwOnFileNotFound,Boolean forIntrospection,Boolean suppressSecurityChecks)152 System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString,Evidence assemblySecurity,StackCrawlMark&sta ckMark,IntPtr pPrivHostBinder,Boolean forIntrospection)77 System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString,Evidence assemblySecurity,StackCrawlMark&stackMark,Boolean forIntrospection)16 System.Reflection.Assembly.Load(String assemblyString)28 System.Web.Configuration.CompilationSection . LoadAssemblyHelper(String assemblyName,Boolean starDirective)38 [ConfigurationErrorsException:无法加载文件或程序集'Microsoft.Expression.Encoder.Api2.dll'或其依赖项之一 . 找不到指定的模块 . ] System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName,Boolean starDirective)736 System.Web.Configuration.CompilationSection.LoadAllAssembliesFromAppDomainBinDirectory()217 System.Web.Configuration.CompilationSection.LoadAssembly(AssemblyInfo ai) 130 System.Web.Compilation.BuildManager.GetReferencedAssemblies(CompilationSection compConfig)170 System.Web.Compilation.BuildManager.GetPreStartInitMethodsFromReferencedAssemblies()91 System.Web.Compilation.BuildManager.CallPreStartInitMethods(String preStartInitListPath,Boolean&isRefAssemblyLoaded)284 System.Web.Compilation .BuildManager.ExecutePreAppStart()153 System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager,IApplicationHost appHost,IConfigMapPathFactory configMapPathFactory,HostingEnvironmentParameters hostingParameters,PolicyLevel policyLevel,Exception appDomainCreationException)521 [HttpException(0x80004005):n加载文件或程序集“Microsoft.Expression.Encoder.Api2.dll”或其依赖项之一 . 找不到指定的模块 . ] System.Web.HttpRuntime.FirstRequestInit(HttpContext context)9930508 System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context)101 System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr,HttpContext context)254