2015-02-05 2 views
3

.NET Full CLR 및 VS 2015 CTP5를 사용 중입니다. 나는 IIS 익스프레스에서 로컬 간단한 프로젝트를 실행 할 수 있어요하지만 패키지 및 IIS에 배포 할 때이 오류가 얻을 - 그것은 다른 사람을 도움이 경우IIS에 배포 한 후 ASP.NET Vnext 오류

[Exception: Unable to locate project.json] 

[TargetInvocationException: Exception has been thrown by the target of an invocation.] 

[TargetInvocationException: Exception has been thrown by the target of an invocation.] 
System.Web.HttpRuntime.HostingInit(HostingEnvironmentFlags hostingFlags, PolicyLevel policyLevel, Exception appDomainCreationException) +556 

[HttpException (0x80004005): Exception has been thrown by the target of an invocation.] 
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +575 
System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +112 
System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +726 
+0

이 기사에서이 사실을 알 수있었습니다. http://codedbeard.com/asp-net-5-0-deploy-to-local-iis/ –

답변

1

합니다. 내 global.json 파일이 유효하지 않기 때문에 "project.json을 찾을 수 없습니다"예외가없는 비슷한 오류가 발생했습니다. 특히, "packages"경로에서 슬래시 대신 슬래시를 사용했습니다.