iis-10

Loading Web Project in VS2015 — no styling or images

匆匆过客 提交于 2019-12-11 11:00:04
问题 So I just moved an existing web project over to Visual Studio 2015 Community Edition which I had started back in VS2013 Ultimate and upon running it in the browser all of the styling was missing and no images were showing up. All of the content worked however and I could navigate the site, until I tried to open a picture and I got the error: HTTP Error 500.19 - Internal Server Error Config Error Cannot add duplicate collection entry of type 'mimeMap' with unique key attribute 'fileExtension'

Kerberos Double Hop Delegation with ASP.NET Core (4.5.2)

一曲冷凌霜 提交于 2019-12-10 23:57:12
问题 Our dev, test and production environments all have similar setups using windows authentication and separate VMs for IIS 10 server and SQL Server 2016. Both VMs running Windows server 2016. All that remains is solving the double hop issue. I haven't been able to find up-to-date how-to guides with steps needed to get this working, any help / recent references would be appreciated? Here are some outdated how-to / checklists: https://msdn.microsoft.com/en-us/library/ms998355.aspx# https://blogs

How do I enable Failed Request Tracing in IIS 10.0 on Windows 10 development PC?

橙三吉。 提交于 2019-12-10 12:38:46
问题 How to I enable Failed Request Tracing in IIS 10.0 on my Windows 10 dev pc? I can find instructions for IIS7 and IIS8.5 (see http://www.iis.net/learn/troubleshoot/using-failed-request-tracing/troubleshooting-failed-requests-using-tracing-in-iis-85) but doesn't seem to be available in IIS10. According to above instructions there should be a link to "Failed Request Tracing" under "Configure" in the Actions pane - but see in screen shot it is clearly not there: screen shot of IIS Actions pane

Why does Set-ItemProperty have no effect for IIS applications under Windows 10?

依然范特西╮ 提交于 2019-12-08 14:35:46
问题 Most of our web applications include a Deploy.ps1 Powershell script. Octopus Deploy uses this to configure apps during production deployments, but we also use it to set up developers' local IIS settings. Works absolutely fine on Windows 7, Windows 8.1, and on all our Win2012 production servers. It's not working on Windows 10, and this appears to be because the Set-ItemProperty cmdlet has no effect. No error message or anything, it just doesn't do anything. The IIS site api.example.com already

I get a Not found error when I deploy ASP.NET CORE 2.0 WebApi to IIS under Default Website

余生颓废 提交于 2019-12-08 09:27:17
问题 It works well with the label "2" outside of default website but it does run inside the default website 回答1: Try the following... Install the hosting bundle again, and then publish from Visual Studio again. If that doesn’t fix it, go to the publish output folder and run dotnet run <YourWebDll>.DLL 回答2: I assume you already install either SDK or Runtime in web server. Then, you need to install ASP.NET Core Module in web server. Here is the download link. Trouble Shooting If it still doesn't

Kerberos Double Hop

纵然是瞬间 提交于 2019-12-08 06:52:58
问题 We have the infamous Kerberos double hop issue. This is a brand new domain, being migrated from another provider where impersonation and delegation was previously working. We have upgraded OS's and to the latest SQL server (2017). WPF app (using domain creds) -> Web Service (WCF app on IIS 10) -> SQL 2017 (named instance) The web service is running under a domain account. The web service has an spn registered, Anonymous Auth is disabled as is forms auth, ASP.NET Impersonation and Windows Auth

Kerberos Double Hop

北城以北 提交于 2019-12-07 20:11:16
We have the infamous Kerberos double hop issue. This is a brand new domain, being migrated from another provider where impersonation and delegation was previously working. We have upgraded OS's and to the latest SQL server (2017). WPF app (using domain creds) -> Web Service (WCF app on IIS 10) -> SQL 2017 (named instance) The web service is running under a domain account. The web service has an spn registered, Anonymous Auth is disabled as is forms auth, ASP.NET Impersonation and Windows Auth is enabled. Providers are "Negotiate and NTLM," "Kernal Mode" is disabled, "Use App Pool credentials"

Windows Process Activation Service not starting - error 13

别说谁变了你拦得住时间么 提交于 2019-12-06 21:52:05
问题 I have IIS version 10 installed on Windows 10 Pro Version 1709, build 16299.125. After a Windows update, IIS stopped working. I saw that W3SVC isn't working, because WAS (Windows Process Activation Service) can't be started. When I try to start WAS, Windows display the message: Windows can't start Windows Process Aplication Service on Local Computer. Error 13: The data are invalid Looking at Windows Event Log, I see that WAS didn't started due event ID 5005, 5215 and Service Control Manager

Why can't users authenticate after deploying locally the ASP.NET 4.6 application to the IIS 10 server?

帅比萌擦擦* 提交于 2019-12-06 07:22:46
In my ASP.NET Web Forms application I am using ASP.NET Identity 2.2 for the membership system. The Development stage works as expected. Users get authenticated and have access to different areas of the website according to their roles. After the deployment to the IIS 10 local server the authentication is overturned. The login is successful and, yet, the user does not authenticate. The Login page loads once again empty and fresh. I know that the login is successful through some test I've made with a literal created right before the redirect. This is the Login method: protected void LogIn(object

Windows Process Activation Service not starting - error 13

南楼画角 提交于 2019-12-05 03:39:13
I have IIS version 10 installed on Windows 10 Pro Version 1709, build 16299.125. After a Windows update, IIS stopped working. I saw that W3SVC isn't working, because WAS (Windows Process Activation Service) can't be started. When I try to start WAS, Windows display the message: Windows can't start Windows Process Aplication Service on Local Computer. Error 13: The data are invalid Looking at Windows Event Log, I see that WAS didn't started due event ID 5005, 5215 and Service Control Manager stopped due event ID 7023. I did some research and tried a lot of stuff: I tried the commands as