Answered by:
Not authorized to connect

Question
-
Hi,
I'm getting a FabricConnectionDeniedException - "Not authorized to connect" when I attempt to call FabricRuntime.Create() in the Startup.cs of a new WebApplication project using VS2015 and Beta7 of ASP.Net 5 VNext.
at System.Fabric.FabricRuntime.Create(Action fabricExitCallback)
at eNowWebApp.Startup.ConfigureServices(IServiceCollection services) in C:\Users\Steve\Documents\Visual Studio 2015\Projects\eNowWebApp\eNowWebApp\src\eNowWebApp\Startup.cs:line 92I thought you could use Service Fabric under this configuration. Is it only supported in the self host scenarios with OWIN?
Thanks.
Monday, September 28, 2015 3:23 PM
Answers
-
Make sure that you set the startup project to the top level project. Not necessarily the project with the code in it.
- Proposed as answer by Ed Price - MSFTMicrosoft employee Wednesday, April 26, 2017 8:11 AM
- Marked as answer by Ed Price - MSFTMicrosoft employee Wednesday, October 4, 2017 2:32 AM
Sunday, October 11, 2015 12:21 AM -
This started happening with the latest 4.5 SDK for me. The previous one was working great but putting in the new SDK without making code changes I am getting this but only for Reliable Services. Actors start fine.
- Proposed as answer by Ed Price - MSFTMicrosoft employee Wednesday, April 26, 2017 8:11 AM
- Marked as answer by Ed Price - MSFTMicrosoft employee Wednesday, October 4, 2017 2:32 AM
Wednesday, February 24, 2016 2:48 PM
All replies
-
Make sure that you set the startup project to the top level project. Not necessarily the project with the code in it.
- Proposed as answer by Ed Price - MSFTMicrosoft employee Wednesday, April 26, 2017 8:11 AM
- Marked as answer by Ed Price - MSFTMicrosoft employee Wednesday, October 4, 2017 2:32 AM
Sunday, October 11, 2015 12:21 AM -
This started happening with the latest 4.5 SDK for me. The previous one was working great but putting in the new SDK without making code changes I am getting this but only for Reliable Services. Actors start fine.
- Proposed as answer by Ed Price - MSFTMicrosoft employee Wednesday, April 26, 2017 8:11 AM
- Marked as answer by Ed Price - MSFTMicrosoft employee Wednesday, October 4, 2017 2:32 AM
Wednesday, February 24, 2016 2:48 PM