iis-express

IISExpress garbled HTTP 500 error message

你。 提交于 2019-12-07 18:30:29
问题 I'm running a project off Visual Studio 2010 on IISExpress in Windows XP (I know, XP, crazy right?) and whenever a 500 error is thrown it sends garbage back to the browser, rather than a properly formatted server error message with the exception details. An email gets sent to me with the Exception details and this returns everything properly, its only when it hits the browser that I get the garbage. To give you an idea of what I mean by garbage, this is what I get. Nice huh? I have no idea

IIS Express with Website Project, how to use inside virtual directory?

♀尐吖头ヾ 提交于 2019-12-07 18:12:45
问题 My production environment have a root, and my virtual directory will be at /brazil folder inside the root. When I convert my website project(not web application), that works correctly with Cassini at /brazil since my website folder is brazil, IIS Express put the site at root, how can I change this? 回答1: I'm seeing similar problems with IIS Express with web applications. From what I'm seeing, IIS Express actually allows you to define a folder in the 'Project Url' field, but then when launching

Adding SSL Certificate via “netsh.exe” does not last after a machine restart

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-07 13:59:40
问题 I am currently building an ASP.Net MVC 3 eccomerce app that uses IIS Express for my development server. As we are accepting payments via the app we need to enforce SSL connections for the checkout process. After following Scott Hanselman's well written article on how to set up self signed SSL certificates for use with IIS Express, I can access my site via both: http://localhost https://localhost This is all gravy, until I restart. It seems that each time I restart (for whatever reason) I need

IISExpress serves empty pages when Visual Studio 2013 has the web project open

核能气质少年 提交于 2019-12-07 13:06:32
问题 As soon as I simply open my Asp.net MVC 3 project in Visual Studio 2013 Ultimate, IISExpress starts serving up zero byte pages. That is, the content-length is 0 and the request body is empty. Close VS, and the pages are served up correctly. I typically launch IISExpress myself from the command line. It serves up my application no problem. Once I open my project in VS 2013, suddenly empty pages are served up. Http response code is 200. I can still attach and then debug/step through. I see my

IIS Express doesn't keep session data

自闭症网瘾萝莉.ら 提交于 2019-12-07 12:16:20
问题 I have an application that I run in Visual Studio 2013 under IIS Express server. The problem is that session data is not kept between pages and I find with null objects that weren't null the page before. If I compile the application and deploy it on a web server with IIS it works normally, so it must be something with IIS Express. I searched the config files in the document folders, but really don't know what it is. Thanks, Luke Edit 25/11: I'm debugging the code on the same machine witn VS

iis express path for global theme directory

别说谁变了你拦得住时间么 提交于 2019-12-07 06:58:20
问题 I'm using Visual Studio 2010 SP1, ASP.NET Webforms, Framework .NET 3.5 and IIS Express (also called WebMatrix). I get the following compilation error in Visual Studio with my WebSite : Theme 'MySweetyTheme' cannot be found in the application or global theme directories. Do you know where the global theme directories is located with IIS Express ? (My favorite search engine seems unfriendly this time). For information : With IIS 5.0/6.0 the global theme path is : C:\Inetpub\wwwroot\aspnet

IIS Express Enable External Request - 503

天涯浪子 提交于 2019-12-07 06:56:39
问题 I have attempted to get IIS Express working so that external users can view my MVC ASP.NET development website. I followed instructions on this SO answer but am now getting a 503 error when accessing the website using my external IP address, localhost still works fine. My configuration file seems ok <site name="ManagerUI" id="5"> <application path="/" applicationPool="Clr4IntegratedAppPool"> <virtualDirectory path="/" physicalPath="D:\Application Development\Manager\MAIN-Branch\ManagerUI

How to figure out what IIS Express instance is using a port?

 ̄綄美尐妖づ 提交于 2019-12-07 06:38:23
问题 I want to kill a running IIS Instance programmatically that is occupying a specific port, but it seems there is no way to figure out what IIS Instance is using a specific port. netstat.exe just shows that the process is having the PID 4, but that's the system process. "netsh http show urlacl" does not display the occupied port at all. The IIS Express Tray program knows this somehow. When I try to start another IIS Express instance while the port is occupied I get the following error: "Port

Testing SignalR App in IIS Express

只愿长相守 提交于 2019-12-07 03:30:18
问题 Hello everyone I am using visual Studio 2012 and Developed a simple application for vetting purposes only However I am stuck because when I try to preview the application, I get the Following Error Message [PlatformNotSupportedException: This operation requires IIS integrated pipeline mode.] System.Web.HttpResponse.get_Headers() +9681446 System.Web.HttpResponseWrapper.get_Headers() +9 Microsoft.Owin.Host.SystemWeb.OwinCallContext.CreateEnvironment() +309 Microsoft.Owin.Host.SystemWeb

Running MVC6 Beta8 app on IIS Express

我们两清 提交于 2019-12-07 01:59:44
问题 I just updated to MVC6 Beta8. After a few hours fixing the code to compile again, I run into an issues that the app does not run under IIS Express. I'm getting this error message: [TypeLoadException: Could not load type 'Microsoft.Dnx.Host.Clr.EntryPoint' from assembly 'Microsoft.Dnx.Host.Clr, Version=1.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'.] System.Web.HttpRuntime.HostingInit(HostingEnvironmentFlags hostingFlags, PolicyLevel policyLevel, Exception