iis-express

IIS Express 8 - Cannot write configuration file

旧时模样 提交于 2019-12-18 13:53:26
问题 I am trying to use IIS Express 8 for a MVC site in VS2012. I am getting the following error whenever I attempt to create the site: Filename: \?\C:\Users\xxxxxx\Documents\IISExpress\config\applicationHost.config Error: Cannot write configuration file Is there some way to force IIS Express to use a different location for the config & logs folders? I understand I can point to a different location when I am running iisexpress.exe from the command line, but I have no control over this when using

Running the 64 bit version of IIS Express 8 RC with Visual Studio 2010

自古美人都是妖i 提交于 2019-12-18 13:25:31
问题 I have a web app that uses the 64 bit version of SharpSvn, a managed DLL with an unmanaged dependency. It will not run in IIS Express 7.0. Switching to the 32 bit version of the assembly works fine. I installed the 64 bit version of IIS 8 RC. However Visual Studio 2010 launches the 32 bit version of IIS Express. . I can launch the 64 bit version of IIS manually with the following command: "C:\Program Files\IIS Express\iisexpress.exe" /config:"C:\Users\zippy\Documents\IISExpress\config

ExtensionlessUrlHandler and “Recursion too deep; the stack overflowed”

限于喜欢 提交于 2019-12-18 13:07:13
问题 I'm trying to get a fellow developer's app working on my machine. Solution is built in VS 2015 using Web API and I'm running it using 64-bit IIS Express. Every request is returning 500.0 errors. Request tracing log says this about it: 1517. -MODULE_SET_RESPONSE_ERROR_STATUS ModuleName ManagedPipelineHandler Notification EXECUTE_REQUEST_HANDLER HttpStatus 500 HttpReason Internal Server Error HttpSubStatus 0 ErrorCode Recursion too deep; the stack overflowed. (0x800703e9) ConfigExceptionInfo

Microsoft.Web.Administration.ServerManager looking in wrong directory for IISExpress applicationHost.config

依然范特西╮ 提交于 2019-12-18 12:26:19
问题 I have a strange problem when trying to get the application pools on the current machine. It seems that when IISExpress is installed, the Microsoft code wants to check IISExpress in addition to the full IIS. IISExpress uses separate applicationHost files per user. I'm not sure whether this call will require it to check all of those, or just those for the current user. Regardless, it's not finding the one it's looking for in the 'C:\Windows\system32\config\systemprofile\' directory. It should

Null reference pointer was passed to the stub when not debugging with IE

[亡魂溺海] 提交于 2019-12-18 11:41:11
问题 In VS2012, my web project debugs fine like always. I use IIS Express. Today, I installed VS 2013 and when I press F5 to debug, I get I can't find a solution to this anywhere. I tried clearing out temp files, change the port number from 7227 to something else, deleting iis express config files, etc. I even uninstalled and re installed VS 2013. I can run without debugging, then attach to IISExpress and that works, but I can't start with an F5. Any clues? EDIT: Happens on another machine as well

VS 2012 launching app based on wrong path

那年仲夏 提交于 2019-12-18 11:05:27
问题 I have a app which is under source control (TFS 2012 also) on c:\Dev\MyApp\Main. Because im developing a new feature I decided to open a branch on c:\Dev\MyApp\BranchNewFeature. I developed and when I decided that it was time to test it was like i hadn't done any changes at all. I hit F5 and i see the baseline version of the app... Looking into it I noticed a very curious fact: When i check IIS Express the "launch path" for the applications is the old one (c:\Dev\MyApp\Main). Can anyone help

Visual Studio IIS Express hangs on launch, but IIS local works, why?

我怕爱的太早我们不能终老 提交于 2019-12-18 11:01:34
问题 I run Visual studio 2015 as administrator, start a new project, ASP.NET application, Empty 4.5.2 and then just add a simple html page. When I try to launch using IIS Express, I just get waiting for local host. If I do this under IIS local it works fine. I have this working correctly on my laptop and did a clean install of windows 10 on my desktop and then reinstalled VS2015, but still get same result. IIS express starts but the web page keeps waiting for local host I've looked at a number of

How to use ServerManager to read IIS sites, not IIS express, from class library OR how do elevated processes handle class libraries?

孤街浪徒 提交于 2019-12-18 11:01:29
问题 I have some utility methods that uses Microsoft.Web.Administration.ServerManager that I've been having some issues with. Use the following dead simple code for illustration purposes. using(var mgr = new ServerManager()) { foreach(var site in mgr.Sites) { Console.WriteLine(site.Name); } } If I put that code directly in a console application and run it, it will get and list the IIS express websites. If I run that app from an elevated command prompt, it will list the IIS7 websites. A little

IIS Express is automatically disabling anonymous authentication for my project, why?

北城以北 提交于 2019-12-18 10:48:27
问题 When I switch my ASP.NET MVC project from Cassini web server to IIS Express, this is added to my applicationhost.config file: <location path="MyProject"> <system.webServer> <security> <authentication> <anonymousAuthentication enabled="false" /> <windowsAuthentication enabled="false" /> </authentication> </security> </system.webServer> </location> It's causing the site not to load with 401.2 - Unauthorized and I can't fix it on the Web.config level - it will then complain that the section is

GZip response on IIS Express

穿精又带淫゛_ 提交于 2019-12-18 10:33:54
问题 I want to compress responses coming from my IIS Express driven web application. We're using IIS Express as local development webserver and IIS on staging and on our build machines. I have found many guides on enabling gzipped responses on IIS but none for IIS Express. Is it even possible? 回答1: You can enable compression in IIS Express, just like for IIS. Start command prompt and go to IIS Express installation folder ( %PROGRAMFILES%\IIS Express ) Run following command appcmd set config