奇怪的IIS错误消息无法找到f#

时间:2018-06-19 09:42:21

标签: c# asp.net-mvc iis f#

刚刚给了IIS项目的完整权限,但在启动时我收到此错误?

  

无法加载文件或程序集' FSharp.Core,Version = 4.4.0.0,   Culture = neutral,PublicKeyToken = b03f5f7f11d50a3a'或其中一个   依赖。系统找不到指定的文件。

不确定这会有多大帮助,但这里是堆栈跟踪

  

[FileNotFoundException:无法加载文件或程序集' FSharp.Core,   Version = 4.4.0.0,Culture = neutral,PublicKeyToken = b03f5f7f11d50a3a'要么   其中一个依赖项。系统找不到指定的文件。]
  System.ModuleHandle.ResolveType(RuntimeModule模块,Int32 typeToken,   IntPtr * typeInstArgs,Int32 typeInstCount,IntPtr * methodInstArgs,   Int32 methodInstCount,ObjectHandleOnStack type)+0
  System.ModuleHandle.ResolveTypeHandleInternal(RuntimeModule模块,   Int32 typeToken,RuntimeTypeHandle [] typeInstantiationContext,   RuntimeTypeHandle [] methodInstantiationContext)+191
  System.Reflection.RuntimeModule.ResolveType(Int32 metadataToken,   键入[] genericTypeArguments,Type [] genericMethodArguments)+161
  System.Reflection.CustomAttribute.FilterCustomAttributeRecord(CustomAttributeRecord   caRecord,MetadataImport范围,汇编& lastAptcaOkAssembly,   RuntimeModule decoratedModule,MetadataToken decoratedToken,   RuntimeType attributeFilterType,Boolean mustBeInheritable,Object []   属性,IList derivedAttributes,RuntimeType&属性类型,   IRuntimeMethodInfo&安培; ctor,布尔& ctorHasParameters,Boolean&   isVarArg)+155
  System.Reflection.CustomAttribute.GetCustomAttributes(RuntimeModule   decoratedModule,Int32 decoratedMetadataToken,Int32 pcaCount,   RuntimeType attributeFilterType,Boolean mustBeInheritable,IList   derivedAttributes,Boolean isDecoratedTargetSecurityTransparent)+607   System.Reflection.CustomAttribute.GetCustomAttributes(RuntimeAssembly   assembly,RuntimeType caType)+144
  Owin.Loader.DefaultLoader.SearchForStartupAttribute(字符串   friendlyName,IList 1 errors, Boolean& conflict) +190
Owin.Loader.DefaultLoader.GetDefaultConfiguration(String friendlyName, IList
1个错误)+68
  Owin.Loader.DefaultLoader.LoadImplementation(String startupName,   IList 1 errorDetails) +89 Owin.Loader.DefaultLoader.Load(String startupName, IList 1 errorDetails)+30
  Microsoft.Owin.Host.SystemWeb.OwinBuilder.GetAppStartup()+ 165   Microsoft.Owin.Host.SystemWeb.OwinHttpModule.InitializeBlueprint()+37   System.Threading.LazyInitializer.EnsureInitializedCore(T& target,   布尔和放大器;初始化,对象& syncLock,Func`1 valueFactory)+135
  Microsoft.Owin.Host.SystemWeb.OwinHttpModule.Init(HttpApplication的   上下文)+160
  System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr的   appContext,HttpContext上下文,MethodInfo []处理程序)+580
  System.Web.HttpApplication.InitSpecial(HttpApplicationState状态,   MethodInfo [] handlers,IntPtr appContext,HttpContext context)+165
  System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr的   appContext,HttpContext context)+353
  System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr的   appContext)+341

     

[HttpException(0x80004005):无法加载文件或程序集   ' FSharp.Core,Version = 4.4.0.0,Culture = neutral,   公钥= b03f5f7f11d50a3a'或其中一个依赖项。该   系统找不到指定的文件。]
  System.Web.HttpRuntime.FirstRequestInit(HttpContext context)+523
  System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context)   +107 System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest)   wr,HttpContext context)+688

谢谢大家。

0 个答案:

没有答案