iis-8

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

被刻印的时光 ゝ 提交于 2019-11-27 18:20:30
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 not configured for the requested URL, and directory browsing is not enabled on the server." Here are some things I have tried that did not work: Run %windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe -i and %windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe -ir in

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

安稳与你 提交于 2019-11-27 17:58:38
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 previously added, so here is the entry registering this http module in C:\Windows\Microsoft.NET

Getting a 404 from WMSvc via MSDeploy.exe

为君一笑 提交于 2019-11-27 17:16:15
From Windows 8 to Windows Server 2012 (IIS 8) with Web Management Services installed and working, I can use IIS Manager on W8 box to manage the remote server but I get a 404.7 from WMSvc when I execute the following command: msdeploy.exe" -verb:dump -source:contentPath=c:\InetPub\wwwroot,computerName=https://uktnws01:8172/MsDeploy.axd,userName=corp\administrator,password=WMSvcIsCrap,authType=Basic -allowUntrusted I've tried all sorts of combinations and parameters. I can telnet to that port, I know its open. I'm just removing the Management Service feature from Windows and restarting. I will

Enable both Windows authentication and Anonymous authentication in an ASP.NET Core app

筅森魡賤 提交于 2019-11-27 12:25:49
问题 I know that this has been asked many times before, but unfortunately not about ASP.NET Core web apps, just the classic ASP.NET web apps. All the answers i've found on the internet don't help me, because the IIS configuration of ASP.NET Core apps is so different than classic ASP.NET. For example, ASP.NET Core uses the Kestrel proxy, so many of the configurations relevant in ASP.NET are not in ASP.NET Core. I've basically tried everything i could possibly found on the Internet but none helped

How do I see currently executing web request on IIS 8

强颜欢笑 提交于 2019-11-27 10:28:20
问题 In IIS 7, I would click on "worker process" then "View Current Request" to see all the requests currently being executed. http://technet.microsoft.com/en-us/library/cc732518(v=WS.10).aspx In IIS 8, I do not see this option. Is there something I need to set up on IIS 8? Edit: I tried running inetmgr as administrator as well. 回答1: There wasn't any UI hints, but was able to turn it on as a feature under server manager. Server Manager -> Add Roles. Web Server (IIS) Web Server Health and

Web Deploy from Visual Studio 2012 to a remote IIS 8 server

你离开我真会死。 提交于 2019-11-27 10:09:33
问题 I have a remote Windows 2012 server running IIS 8 from which I am hosting a web application. My local development box is running Visual Studio 2012. Currently I am publishing my app as a web deployment package (.zip), RDP'ing to the production server, copy + pasting to a folder and deploying the application from within IIS. My question is, what changes do I need to make to deploy directly to IIS from Visual Studio 2012 using the web deploy option? I have tried to follow this guide but it

Changed SSL/TLS on server cannot publish via visual studio now

|▌冷眼眸甩不掉的悲伤 提交于 2019-11-27 08:19:35
问题 I created a new server to move our Windows 2008 server to Windows 2012R2. I was publishing to the new server without issue for a few days and testing the site. I realized during the testing that SSL and TLS1.0 was still turned on for this server. I found IIS Crypto and set the values to the Best Practices: Like a dummy, I didn't print screen it before I changed it. When I try to publish now, I am getting this message: What I have tried so far, some of which were just out of habit: 1.

The source was not found, but some or all event logs could not be searched. Inaccessible logs: Security [duplicate]

断了今生、忘了曾经 提交于 2019-11-27 05:18:57
问题 This question already has answers here : The source was not found, but some or all event logs could not be searched (8 answers) Closed last year . I am getting error: The source was not found, but some or all event logs could not be searched. Inaccessible logs: Security When I run below code to capture errors on Win 2K12 R2 server IIS 8.5 EventLog elog = new EventLog(); EventLog.CreateEventSource("MyApp", "Application"); EventLog.WriteEntry(Source, swError.ToString(), EventLogEntryType.Error)

Getting a 404 from WMSvc via MSDeploy.exe

一世执手 提交于 2019-11-27 04:11:15
问题 From Windows 8 to Windows Server 2012 (IIS 8) with Web Management Services installed and working, I can use IIS Manager on W8 box to manage the remote server but I get a 404.7 from WMSvc when I execute the following command: msdeploy.exe" -verb:dump -source:contentPath=c:\InetPub\wwwroot,computerName=https://uktnws01:8172/MsDeploy.axd,userName=corp\administrator,password=WMSvcIsCrap,authType=Basic -allowUntrusted I've tried all sorts of combinations and parameters. I can telnet to that port,

IIS 8.0 ASP.NET and Error 500.19

天大地大妈咪最大 提交于 2019-11-27 00:51:25
问题 I can't seem to get any ASP.NET sites to run under IIS8 on Windows 8. Under IIS Express they are fine, but I've: Installed IIS8 Installed ASP.NET 3.5 and 4.5 features in IIS Created a valid application pool Added a new Application in IIS manager pointing to my site But I get: HTTP Error 500.19 - Internal Server Error The requested page cannot be accessed because the related configuration data for the page is invalid. Config Source: -1: 0: Any ideas? 回答1: ASP.Net applications come pre-wired