Comments (21)
This appears to be a continuation of #1. Did you run the Configure-DevEnvironment.ps1 script mentioned in the readme?
from iis.administration.
@jimmyca15 no but I get this message
from iis.administration.
Oh thanks for finding that. The issue is that it is trying to invoke a script that had its name changed from constants.ps1 to globals.ps1. I will make the fix.
from iis.administration.
The issue with the development setup script was fixed in the latest commit. You should be able to run it and then run the api from visual studio.
from iis.administration.
from iis.administration.
Looks good. You should be a member of the IIS Administrators group now and the error you were getting from launching from VS should be gone.
from iis.administration.
Jimmy I still have the same error
from iis.administration.
from iis.administration.
Can you confirm that you are in the IIS Administrators group and try running without debugging? If that is true then this could be an issue in the Visual Studio tooling that is launching the process.
from iis.administration.
I am in the IIS Administrators group.
from iis.administration.
from iis.administration.
The script should have fixed that.
In "<SolutionRoot>.vs\config\applicationHost.config" change
<section name="anonymousAuthentication" overrideModeDefault="Deny" />
<section name="windowsAuthentication" overrideModeDefault="Deny" />
to
<section name="anonymousAuthentication" overrideModeDefault="Allow" />
<section name="windowsAuthentication" overrideModeDefault="Allow" />
This should be done automatically in a future version of the VS tooling.
from iis.administration.
I will try to reproduce your issue. The error should be gone if you remove the windows authentication requirements from the web.config for the Microsoft.IIS.Administration project.
from iis.administration.
Let me give you more context:
-
I forked your project and I updated to 1.0.1 as mentioned in my PR #10
-
even ".vs\config\applicationHost.config" change doesn't fix the problem.
-
I suspect that the main problem is due to the tooling 1.0.1 aspnet/Tooling#779
from iis.administration.
I see. If you want to run the application you can remove the Windows Authentication requirements from the web.config then the tooling should no longer have an error connecting to the dotnet process. I will still investigate this to make sure there isn't another problem.
from iis.administration.
from iis.administration.
I just cloned the project and ran it on a separate machine. I was originally getting the same error you were
then I ran the Configure-DevEnvironment.ps1 script. After that I got this error, probably because the group settings the script just altered had not propagated through to VS.
I restarted visual studio. After that the error went away and I was able to debug.
from iis.administration.
I did the same steps you did but I still having this error :
from iis.administration.
Jimmy there is something weird on my Visual Studio, I can't start debugging any asp.net core app :(
from iis.administration.
@jimmyca15 I have this issue now #11
from iis.administration.
Debugging for the application is working now so I'm going to close this issue.
from iis.administration.
Related Issues (20)
- Requests from Postman always unauthorized HOT 2
- Can't connect to remote server with static public IP
- Should the API update the serverAutoStart attribute in the applicationHost.config for IIS? HOT 2
- Registry key not found. Key = 'SOFTWARE\Microsoft\ASP.NET Core\Shared Framework\v2.1' HOT 1
- Readme says to go to manage.iis.net which no longer exists HOT 2
- Unquoted path for Microsoft IIS Administration windows service HOT 1
- Unable to Download HOT 4
- Upgrade to .Net Core 3.1 HOT 2
- creating site must be in "inetpub" directory. HOT 1
- Microsoft.IIS.Administration is no longer actively maintained HOT 12
- Can't change port of IIS Administration Portal HOT 1
- This repo is missing important files
- IIS.Administration updated to target net60 HOT 2
- 500 Internal server error, unable to login HOT 1
- Server returns 500: '/api': JWT Token error ? HOT 2
- Demo for Invoke-RestMethod: using Bearer access token in header
- it looks like have a bug when i update the site config
- cpu percent_usage
- 0x80070643 Error WS2016 (IIS 10)
- Unhandled Excepton updating multiple applicationPools
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from iis.administration.