问题描述
我的网站在本地工作。 但是,当我在天蓝色下启动它时,出现如下错误。
我使用了图api和OwinStartup。
使用Microsoft.Owin; 使用Owin;
[程序集:OwinStartup(typeof(graph_tutorial.Startup))]
命名空间graph_tutorial { 公共局部类启动 { 公共无效配置(IAppBuilder应用) { ConfigureAuth(app); } } }
我该如何解决?
请帮助我。
The system cannot find the file specified
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more @R_223_4045@ion about the error and where it originated in the code.
Exception Details: System.Net.networkinformation.networkinformationException: The system cannot find the file specified
Source Error:
An unhandled exception was generated during the execution of the current web request. @R_223_4045@ion regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[networkinformationException (0x2): The system cannot find the file specified]
System.Net.networkinformation.SystemIPGlobalProperties.GetFixedInfo() +6885092
System.Net.networkinformation.SystemIPGlobalProperties.get_FixedInfo() +94
System.Net.networkinformation.SystemIPGlobalProperties.get_DomainName() +131
System.Net.CookieContainer..ctor() +102
System.Net.Http.httpclienthandler..ctor() +248
System.Net.Http.WebRequestHandler..ctor() +18
Microsoft.Owin.Security.OpenIdConnect.OpenIdConnectAuthenticationMiddleware.ResolveHttpMessageHandler(OpenIdConnectAuthenticationoptions options) +37
Microsoft.Owin.Security.OpenIdConnect.OpenIdConnectAuthenticationMiddleware..ctor(OwinMiddleware next,IAppBuilder app,OpenIdConnectAuthenticationoptions options) +547
lambda_method(Closure,OwinMiddleware,IAppBuilder,OpenIdConnectAuthenticationoptions ) +55
[TargetInvocationException: Exception has been thrown by the target of an invocation.]
System.RuntimeMethodHandle.InvokeMethod(Object target,Object[] arguments,Signature sig,Boolean constructor) +0
System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj,Object[] parameters,Object[] arguments) +168
System.Delegate.DynamicInvokeImpl(Object[] args) +124
Microsoft.Owin.Builder.AppBuilder.BuildInternal(Type signature) +222
Microsoft.Owin.Host.SystemWeb.OwinAppContext.Initialize(Action`1 startup) +465
Microsoft.Owin.Host.SystemWeb.OwinBuilder.Build(Action`1 startup) +40
Microsoft.Owin.Host.SystemWeb.OwinHttpModule.InitializeBlueprint() +70
System.Threading.LazyInitializer.EnsureInitializedCore(T& target,Boolean& initialized,Object& syncLock,Func`1 valueFactory) +119
Microsoft.Owin.Host.SystemWeb.OwinHttpModule.Init(HttpApplication context) +91
System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext,HttpContext context,MethodInfo[] handlers) +552
System.Web.HttpApplication.InitSpecial(HttpApplicationState state,MethodInfo[] handlers,IntPtr appContext,HttpContext context) +181
System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext,HttpContext context) +228
System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +314
[HttpException (0x80004005): Exception has been thrown by the target of an invocation.]
System.Web.HttpRuntime.FirstRequestinit(HttpContext context) +10080656
System.Web.HttpRuntime.EnsureFirstRequestinit(HttpContext context) +99
System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr,HttpContext context) +263
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)