iis-express

Does IIS Express support Debugging Classic ASP?

早过忘川 提交于 2019-11-27 23:49:35
I recently installed Visual Studio 2010 SP1 BETA , ASP.NET MVC 3 RC2 and IIS Express . I successfully got an MVC 3 project running along with classic ASP pages in the project with IIS Express . I was wondering if there is a way to set up Classic ASP debugging with breakpoints in Visual Studio while using IIS Express? If so, are there any tutorials / posts on how to do this? Enable ASP debugging in IIS Express: First, you need to locate the appropriate applicationhost.config file to update based on your version of Visual Studio. Before Visual Studio 2015: You can enable debugging for all web

Page uses an invalid or unsupported form of compression when debugging ASP.NET MVC app with Visual Studio 2013 Preview

时光毁灭记忆、已成空白 提交于 2019-11-27 23:06:18
While trying to debug an ASP.NET MVC project using the recently released VS 2013 Preview I get this message: Content Encoding Error The page you are trying to view cannot be shown because it uses an invalid or unsupported form of compression. Please contact the website owners to inform them of this problem. In Firebug I see this error message: SecurityError: The operation is insecure Tried with Google Chrome and IE 11 and the same problem happens. What is causing this? Note: I'm on Windows 8.1 and debugging the site using IIS Express at http://localhost:7777 I can debug it just fine using VS

How do I start/stop IIS Express Server?

谁说我不能喝 提交于 2019-11-27 22:54:03
问题 I have installed MS Visual Web Developer 2010 which includes IIS Express. Before this, I had installed XAMPP server for my php applications. I would like to know how can I stop IIS in order to be able to start XAMPP? It appears that they use the same port. I guess those could be changed, but I do not want to interfere with other programs, and more than that I think this should be simpler. Thanks! 回答1: Closing IIS Express By default Visual Studio places the IISExpress icon in your system tray

How to configure Visual Studio 2008 to use IIS Express?

别来无恙 提交于 2019-11-27 21:32:10
The IIS Express FAQ notes that: You can also manually launch IIS Express from the command line and use it with Visual Studio 2008, using the custom web server option How do I configure the Start Options to get this working? Peter Tate The following seems to work for IIS Express launching from the command line: Open the Properties for the web site Select Start Options Under Start Action select Start External Program , put the path to iisexpress.exe ( C:\Program Files (x86)\IIS Express\iisexpress.exe ) Command Line Arguments: /path:{path to the project solution} /clr:3.5 Under Server , select

Debugging MVC application in VS2012 attempts to start IIS Express twice

旧街凉风 提交于 2019-11-27 20:26:48
UPDATE I'm certain this is a Visual Studio bug with no obvious solution. I've encountered a number of people who have the same exact issue. I have submitted a bug ticket with Microsoft here: http://connect.microsoft.com/VisualStudio/feedback/details/778864/vs2012-is-spawning-two-iisexpress-processes-when-attempting-to-debug If you are having the same issue as described below, please go vote up the bug ticket so that it gets more attention. Whenever I attempt to debug an MVC3 (or MVC4) application in Visual Studio 2012 configured to run on IIS express (version 8), I get the following error:

Unable To Launch Web Server

若如初见. 提交于 2019-11-27 20:21:00
I have asp.net web application project in visual studio 2012. When I want to start it, I have the following error: Unable to launch the IIS Express Web server: Port"4012" is in use This problem came from nothing.How can I resolve it ? From the MSDN library Visual Studio cannot guarantee that the port you specify will be available when you run your file-system Web site. If the port is in use when you run a page, Visual Studio displays an error message. To change the port used by IIS Express to run your program you should follow the procedure outlined by this article on MSDN How to: Specify a

localhost refused to connect Error in visual studio

天涯浪子 提交于 2019-11-27 18:41:52
I have copied my solution file from another system and tried to run it on my machine: For this, I have gone to the project folder and deleted the previous solution file and copied the new one. Now, it started giving me error. connection refused etc. So, I got one solution from here: How to solve ERR_CONNECTION_REFUSED when trying to connect to localhost running IISExpress - Error 502 (Cannot debug from Visual Studio)? According to it, I changed the port number from 1049 to 1052. It loaded and one of the pages gets loaded. But when I entered the desired login credentials then it redirected to

How to start IIS Express Manually

心不动则不痛 提交于 2019-11-27 18:39:14
Is there a command line program or service that I can use to start IIS Express manually? Snowbear iisexpress program is responsible for that. http://www.iis.net/learn/extensions/using-iis-express/running-iis-express-from-the-command-line Once you have IIS Express installed (the easiest way is through Microsoft Web Platform Installer ), you will find the executable file in %PROGRAMFILES%\IIS Express ( %PROGRAMFILES(x86)%\IIS Express on x64 architectures) and its called iisexpress.exe . To see all the possible command-line options, just run: iisexpress /? and the program detailed help will show

IIS Express defaulting to port 44300 for HTTPS when enabling SSL

烂漫一生 提交于 2019-11-27 17:59:34
When you initially set up IIS Express to enable SSL, it defaults the port to 44300. Unfortunately, when I try to access my site in on https://localhost/ it doesn't work unless I use the port number 44300 - https://localhost:44300/ . The links are generated using the following: <%= Html.ActionLink("Index", "Index", "Home", new { @action = "https://" + Request.Hostname + Url.Action("Index", "Home") }) %> Although an ugly solution, the @action keyword can override the generated route, but it means that the application would seemingly need to be aware of any non-standard ports (eg 44300). The

IIS Express — Getting SSL to Work

久未见 提交于 2019-11-27 17:48:00
I am unable to get IIS Express to accept secure connections for a VS2010 MVC3 project that I'm developing. I can get it to accept unsecure connections on port 80, but not secure on port 443. I've taken the following steps, based on googling: 1) Located the SHA1 thumbprint for my IIS Express Server self-signed certificate via executing the following on a VS2010 commandline: certmgr.exe /c /s /r localMachine MY The result was 9B088F80 A4FC3141 28F62890 70BA1FC4 49FDD009. I learned later that I need to delete the spaces when using the thumbprint. 2) Deleted whatever certificate was linked to port