asp.net core web api published in IIS after moved to different IIS server pc gives error 500.19 (0x8007000d)

To get a more detailed error message: Verify that the log directory exists at the path referenced by the web config. If it does not, create it. The path shown in your config would place the “logs” directory in the root folder of the deployed site. Verify that the application pool has write access to … Read more

How do I configure IIS for URL Rewriting an AngularJS application in HTML5 mode?

I write out a rule in web.config after $locationProvider.html5Mode(true) is set in app.js. Hope, helps someone out. <system.webServer> <rewrite> <rules> <rule name=”AngularJS Routes” stopProcessing=”true”> <match url=”.*” /> <conditions logicalGrouping=”MatchAll”> <add input=”{REQUEST_FILENAME}” matchType=”IsFile” negate=”true” /> <add input=”{REQUEST_FILENAME}” matchType=”IsDirectory” negate=”true” /> <add input=”{REQUEST_URI}” pattern=”^/(api)” negate=”true” /> </conditions> <action type=”Rewrite” url=”https://stackoverflow.com/” /> </rule> </rules> </rewrite> </system.webServer> In my … Read more

Config Error: This configuration section cannot be used at this path

I had the same problem. Don’t remember where I found it on the web, but here is what I did: Click “Start button” in the search box, enter “Turn windows features on or off” in the features window, Click: “Internet Information Services” Click: “World Wide Web Services” Click: “Application Development Features” Check (enable) the features. … Read more