iis-8

aspnet_regiis.exe -ir does not work on windows 8

南楼画角 提交于 2019-11-27 00:41:23
问题 I am trying to deploy an ASP.NET MVC3 app to my Windows 8 box with IIS8. When I try to route to the site I get the following error: Pretty much everything I can find on this issue says to run: aspnet_regiis.exe -ir When I run this on my Windows 8 box, I get the following message: Microsoft Windows [Version 6.2.9200] (c) 2012 Microsoft Corporation. All rights reserved. C:\Users\Justin>C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe -ir Microsoft (R) ASP.NET RegIIS version 4.0

IIS Config Error - This configuration section cannot be used at this path

a 夏天 提交于 2019-11-27 00:09:25
问题 I am getting the below error when I try to run my website. The website is hosted on Windows 2012 R2. Config error: This configuration section cannot be used at this path. This happens when the section is locked at a parent level. Locking is either by default (overrideModeDefault="Deny"), or set explicitly by a location tag with overrideMode="Deny" or the legacy allowOverride="false". Error Code : 0x80070021 Config Source: 60: <httpErrors errorMode="Detailed" /> 61: <handlers> 62: <remove name

Windows Authentication for ASP.NET MVC 4 - how it works, how to test it

好久不见. 提交于 2019-11-27 00:05:39
I have never used Windows Authentication for ASP.NET MVC web applications before, but Forms Authentication. Recently, I have had an ASP.NET MVC 4 web application that requires a Windows Authentication implementation for users who are granted to log in my company web server. So, I have some questions regarding Windows Authentication. I am using Visual Studio 2012. How does Windows Authentication work? How do I implement Windows Authentication correctly in the web.config file? How do I test if the Windows Authentication really works for my ASP.NET MVC 4 web site? In other words, how do I test it

IIS: How to serve a file without extension?

南笙酒味 提交于 2019-11-26 19:33:01
问题 I am using IIS 8 on Windows 8.1 . I have an XML file an I need to have it accessed through (servername)/(path) (path) is predefined by someone else and does not contain an extension. I tried the simple solution of removing the .xml file the file name, but IIS returns HTTP Error 404.3 - Not Found In the "Physical Path" returned with the error is the correct file path, which when I copy-paste to Run opens the correct file. Please let me know if this is possible. 回答1: Assuming (path) is a

MVC 4 website with .NET 4.5 on IIS 8 in Windows 8 gives 403.14 forbidden error [closed]

梦想的初衷 提交于 2019-11-26 19:23:42
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 6 years ago . I have a website that I built in Visual Studio 2012 using MVC 4 and .NET framework 4.5. When I try to run it via IIS 8 on a machine running Windows 8 Pro, I get a 403.14 Error. It says "Forbidden The Web server is configured to not list the contents of this directory. Most likely causes: A default document is

HTTP Error 500.19 and error code : 0x80070021

会有一股神秘感。 提交于 2019-11-26 19:19:25
I have a simple webAPI build by Visual Studio 2013. It works well when I run it from VS13 but when I copy the project in local IIS it gives me the following error. HTTP Error 500.19 - Internal Server Error The requested page cannot be accessed because the related configuration data for the page is invalid. Detailed Error Information: Module IIS Web Core Notification BeginRequest Handler Not yet determined Error Code 0x80070021 Config Error This configuration section cannot be used at this path. This happens when the section is locked at a parent level. Locking is either by default

ASP.NET MVC 5 Web.config: “FormsAuthenticationModule” or “FormsAuthentication”

我怕爱的太早我们不能终老 提交于 2019-11-26 19:17:26
问题 Ok so this not a big deal, but it's bugging me and I can't let it go. So I'm using MVC 5.1 with .NET 4.5.1 and OWIN authentication. So when you create a new MVC 5 project, the following is automatically added to the Web.config to get rid of the forms authentication http module because it is no longer needed when using OWIN middleware: <system.webServer> <modules> <remove name="FormsAuthenticationModule" /> </modules> </system.webServer> Now since we are removing the module, that means it was

WCF on IIS8; *.svc handler mapping doesn't work

Deadly 提交于 2019-11-26 19:15:54
I'm trying to get a wcf service running in IIS8 on 2012 build 8400. When installing the web role the wcf stuff (under 3.51) wasn't to be found like in 2008. When installed the svc handler mapping was missing, so i did a: %windir%\Microsoft.NET\Framework\v3.0\WindowsCommunication Foundation\ServiceModelReg.exe –i Now the handler mapping is there, but I still get: The resource you are looking for does not have a handler associated with it. (I removed the static file handler.) The site is using the classic pipeline in order to use impersonation. More specifically: Run Server Manager (on task bar

How do I properly instantiate 32-bit COM objects in classic ASP after installing Windows Update KB4340558?

爷,独闯天下 提交于 2019-11-26 16:18:46
On Windows Server 2012 R2, after installing update KB4340558 (update history) / KB4338424 (installed updates) we can no longer instantiate .NET .DLLs (interop) in classic ASP in 32-bit mode using server.createobject . We receive the error 0x800A01AD "ActiveX component can't create object" When we uninstall the update, the error disappears. Despite my best efforts, I was unable to find an alternate solution to uninstalling. We would prefer to reinstall the update and make whatever changes were necessary to Windows Server and/or the DLL's to allow the COM objects to be instantiated properly.

Windows Authentication for ASP.NET MVC 4 - how it works, how to test it

这一生的挚爱 提交于 2019-11-26 09:20:18
问题 I have never used Windows Authentication for ASP.NET MVC web applications before, but Forms Authentication. Recently, I have had an ASP.NET MVC 4 web application that requires a Windows Authentication implementation for users who are granted to log in my company web server. So, I have some questions regarding Windows Authentication. I am using Visual Studio 2012. How does Windows Authentication work? How do I implement Windows Authentication correctly in the web.config file? How do I test if