iis-express

IISExpress returns a 503 error from remote machines

会有一股神秘感。 提交于 2019-11-26 23:27:22
I'm attempting to test a website I have running in a local IISExpress instance with some other machines / devices on my local network. I am running Win7 Pro. When I first attempt to browse to my machine from another machine on my local network segment, I get a 400 error: Hostname is invalid. I understand that I need to grant remote access to the ACL with a command on the elevated command prompt like: netsh http add urlacl url=http://mymachinename:50333/ user=everyone Now I get a 503 service is unavailable error. Windows Firewall is currently shut off, and I am able to browse my local

Binding IIS Express to an IP Address [duplicate]

流过昼夜 提交于 2019-11-26 23:21:47
This question already has an answer here: How to enable external request in IIS Express? 23 answers Is it possible to use IIS Express to host pages on a network. Out of the box it can do localhost but I am trying to bind it to an IP address. vikomall I think you can. To do this you need to edit applicationhost.config file manually (edit bindingInformation ' <ip-address>:<port>:<host-name> ') To start iisexpress, you need administrator privileges Anthony Ludmilin In order for IIS Express answer on any IP address, just leave the address blank, i.e: bindingInformation=":8080:" Don't forget to

Android Emulator loopback to IIS Express does not work, but does work with Cassini

ぐ巨炮叔叔 提交于 2019-11-26 22:18:15
问题 I am attempting to post data from an Android application running in the Android Emulator on my local machine to a web application running under IIS Express also running on my local machine. Unfortunately, when I post to 10.0.2.2 from the emulator I receive a Host Not Found error message. If I configure the web application to run under ASP.NET Dev Server (Cassini) instead of IIS Express the Android application is able to post with no problems. What configuration am I missing for IIS Express

How can I change IIS Express port for a site

感情迁移 提交于 2019-11-26 22:16:34
问题 I want to change the port number on which my website runs while debugging from Visual Studio. I am using Visual Studio 2012, and I am using ASP.NET MVC 4 for my projects I want to change the port. Random port or fixed anyone will work just want to change the port. 回答1: To specify a port for a Web application project that uses IIS Express In Solution Explorer, right-click the name of the application and then select Properties. Click the Web tab. In the Servers section, under Use Local IIS Web

Can't get the OWIN Startup class to run in IIS Express after renaming ASP.NET project file

情到浓时终转凉″ 提交于 2019-11-26 22:12:37
问题 I've got a situation where I needed to change the solution and project names within a OWIN-based WebAPI website. Everything worked great before this change, and to my knowledge the renaming was successful because of the following: The solution builds fine and all my unit tests run sucessfully both locally and on our TeamCity build server The application runs fine on our test server (full IIS 8) and in production (also full IIS 8) My issue is that after this rename I can not get the Startup

Does IIS Express support Debugging Classic ASP?

只谈情不闲聊 提交于 2019-11-26 21:35:55
问题 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? 回答1: Enable ASP debugging in IIS Express: First, you need to locate the appropriate applicationhost.config file to

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

爱⌒轻易说出口 提交于 2019-11-26 21:18:37
问题 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

How to run IIS Express as a process started via a Windows Service

流过昼夜 提交于 2019-11-26 20:30:42
问题 I am trying to distribute IIS Express with my application. IIS Express will serve external web requests on port 80. I have no problems running IIS Express as well as serving external requests however Microsoft in their infinite wisdom decided to run IIS Express from a console window as well as a system tray item. You can disable the tray item by a command line argument but not the console window. I want to run IIS Express without the console window being displayed. I also want to run IIS

Debugging MVC application in VS2012 attempts to start IIS Express twice

点点圈 提交于 2019-11-26 20:22:34
问题 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)

Authentication issue when debugging in VS2013 - iis express

梦想的初衷 提交于 2019-11-26 19:22:23
I'm trying to pick up the windows username when debugging in Visual Studio 2013. I am simply using: httpcontext.current.user.identity.name If I run this on my Dev Server it works fine, if I run it in debug mode on any previous version of Visual Studio it also works fine. My problems is - If i run this on visual studio 2013 I get an empty string. My web config is as follows. <system.web> <authentication mode="Windows"/> <identity impersonate="false"/> <authorization> <allow users="*"/> </authorization> <compilation debug="true" strict="false" explicit="true" targetFramework="4.0"/>