iis-8

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

社会主义新天地 提交于 2019-11-28 19:38:30
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 me. I whish it was as simple as enabling both anonymous and windows authentications on the app in IIS

How do I see currently executing web request on IIS 8

試著忘記壹切 提交于 2019-11-28 17:49:05
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. BillRob 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 Diagnostics Request Monitor The required features can be installed with PowerShell. IIS Manager: Install

ASP.NET Web Api 2 / EF6 first call initialization performance

廉价感情. 提交于 2019-11-28 16:47:04
问题 The first call to our API is always extremely slow. For example, below demonstrates the CPU usage and time it takes for the first call to complete: The first call can take up to 30 seconds and eats almost 100% CPU. Call 2 and 3 take 200ms (as they should). After recycling the application pool, it will do the same thing with the first call. I've read a bit about IIS "warm-up" and done the following, but nothing has changed: IIS 8 Application Initialization is installed: I have the following

Running MVC 6 Beta 8 application on IIS

左心房为你撑大大i 提交于 2019-11-28 12:10:17
I'm trying to publish my MVC 6 Beta 8 app. I was able to successfully publish it to Azure, but when I try to publish it to ASPHostPortal, I'm getting 500 error. So I tried to publish the app to a local IIS and also failed. First, I figured out that I need to install HttpPlatformHandler (otherwise IIS was not able to load web.config). But even after that, I'm getting 502.3 error. HTTP Error 502.3 - Bad Gateway There was a connection error while trying to route the request. Also in Event Log I can see an error 1000 from HttpPlatformHandler with no description. But it says "Process '0' failed to

Deploying web packages with MSDEPLOY

隐身守侯 提交于 2019-11-28 10:16:14
问题 I've built my packages and read through this docs @ http://www.asp.net/web-forms/overview/deployment/web-deployment-in-the-enterprise/deploying-web-packages And it seems to suggest that the problem should be relatively simple from here as the instructions clearly show ... [project name].deploy.cmd [/T | /Y] [/M:<computer name>] [/A:<Basic | NTLM>] [/U:<user name>] [/P:<password>] [/L] [/G:<true | false>] [Additional MSDeploy.exe flags] .. so, no problem I thought I will give the command

IIS 8.0 ASP.NET and Error 500.19

戏子无情 提交于 2019-11-28 05:15:40
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? Matt Caton ASP.Net applications come pre-wired with a handlers section in the web.config. By default, this is set to readonly within feature

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

℡╲_俬逩灬. 提交于 2019-11-28 04:17:14
This question already has an answer here: The source was not found, but some or all event logs could not be searched 8 answers 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); I've given full access to HKLM\SYSTEM\CurrentControlSet\services\eventlog but it is not working still. What shall I do to

IIS express not working in visual studio 2012

白昼怎懂夜的黑 提交于 2019-11-28 03:30:59
问题 Iam not able to run the Visual Studio Application with IIS Express. Iam getting an Error “Unable to launch IIS Express” for the first time. After multiple times debugging, Iam getting the below error, If I run IIs express manually through command prompt,iam getting the below error, I have reinstalled IIS Express but there is no change. I have also modified the application host config file of IIs express by deleting all the site names of application but there is no change. Iam not able to know

IIS Compilation Error -2146232576 AspNetInitializationExceptionModule

血红的双手。 提交于 2019-11-27 20:06:06
I have a fairly simple C# WebAPI2 project that runs locally but after publishing to IIS on a remote machine (Windows Server 2012 R2 Standard) the web page displays the following (after setting customErrors to "Off"): Server Error in '/' Application. Compilation Error Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately. Compiler Error Message: The compiler failed with error code -2146232576. If I grab the detailed compiler output and run it on the IIS

IIS: How to serve a file without extension?

做~自己de王妃 提交于 2019-11-27 18:41:26
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. Peter Hahndorf Assuming (path) is a physical directory on your machine, create a new web.config file in that directory with the