iis-express

“Unable to launch the IIS Express Web server” error

不问归期 提交于 2020-01-18 21:32:08
问题 I receive this error when trying to launch IIS Express from Visual Studio with a project that's configured to listen to an address other than localhost. Visual Studio freezes for about 30 seconds before giving the error "Unable to launch the IIS Express Web server". I've tried all the solutions posted to similar questions and I think I've done everything correctly. Here are the steps that I have taken: Add the following reservation to HTTP.SYS: netsh http add urlacl url=http://+:36899/ user

Visual Studio command-line build pauses with warning message box

拜拜、爱过 提交于 2020-01-17 05:51:19
问题 Our automated build process is as follows: The build script fetches the latest version of the repository into a clean directory It runs the build using the following command line command devenv SolutionFile.sln /rebuild "ServerDeployment|Any CPU" | out-file -FilePath $BuildOutputFile I want this to run unattendend. But then the build pauses to display a modal dialog: An error occurred when applying the IIS Express settings to server URL 'http://localhost:60143/' for project 'CMS.Website'. You

Where is the template for applicationHost.config file stored

余生颓废 提交于 2020-01-17 01:42:08
问题 When I create a new Web application using VS2015, I get an applicationHost file created in the new .vs folder. This file contains configuration information for IIS Express. Where is the template for this file located? 回答1: I see the files at 2 locations (32Bit and 64Bit Program Folder) in my Windows 10 + VS2015: "C:\Program Files\IIS Express\config\templates\PersonalWebServer\applicationhost.config" "C:\Program Files (x86)\IIS Express\config\templates\PersonalWebServer\applicationhost.config"

IIS Express catch-all Subdomain url

随声附和 提交于 2020-01-12 07:28:06
问题 I'm looking for a solution for a subdomain catch-all url in IIS Express. Basically, I've looked around and found how to create domains/subdomains in IIS Express. It was quite easy to find, and all I had to do was add another binding in the ApplicationHost.config for IIS Express, and change my hosts file to point 127.0.0.1 to the domain. This is the IIS express config file: <binding protocol="http" bindingInformation="*:80:domain.com" /> <binding protocol="http" bindingInformation="*:80:sub

Why is IIS Express returning HTTP 500 errors loading javascript and CSS?

别来无恙 提交于 2020-01-11 10:00:10
问题 I am trying to develop an ASP.NET MVC5 solution using IIS Express for local debugging. Frequently, Chrome will report HTTP500 errors trying to load certain JS and CSS files (some using the built in bundling and minification feature of MVC, some on their own). WTH is going on with this and how do I stop it? Thanks, Matthew 回答1: What helped worked is as follows. I am using Visual Studio 2015. Close the visual studio solution. In fact I closed the visual studio itself In the solution folder(the

Invoking IISExpress using command line to host ASP.NET Core App

烂漫一生 提交于 2020-01-11 09:26:29
问题 I have a service that depends on lot of other services, during the development time, I just start all other services (manually using VS 2017). In order to avoid that step, I am trying to create a batch file with the below command to Host my ASP.NET Core Web API using IISExpress. dotnet build "C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\Extensions\Microsoft\Web Tools\ProjectSystem\VSIISExeLauncher.exe" -p "C:\Program Files\dotnet\dotnet.exe" -a "exec \".

Visual Studio 2012 IIS Express 8 Fresh Install - Can't Connect

こ雲淡風輕ζ 提交于 2020-01-10 22:26:29
问题 On Visual Studio 2010 + IIS Express 7 I was able to use IIS Express as a server and browse sites. I've since installed Visual Studio 2012 (on Windows 7 64-bit) with IIS Express 8, and I can't browse a single site on it. In addition, when I look at the log files (\Logs and \TraceLogFiles) I don't even see a single log entry for any of the 2012/IISExpress 8 apps, let alone an error to look into. Looking at applicationhost.config, I do see the site I'm trying to run with the correct path,

Visual Studio 2017 gives 'Adding the Certificate to The Trusted Root Certificates store failed with the following Errror'

血红的双手。 提交于 2020-01-10 09:27:10
问题 I am trying to run ASP MVC application with SSL mode set to true and whenever i run the application, i get prompt to trust the IIS Express SSL certificate. Upon clicking Yes, it gives the error message 'Adding the Certificate to The Trusted Root Certificates store failed with the following Errror. Access is denied'. I am running my Visual Studio 2017 as administrator mode. I have also deleted localhost certificate by going to MMC. Has anyone else run into this issue. SOLN: This is what worked

Angular 2 Route Param automatically converting to lowercase on localhost but remains capitalized on server

余生颓废 提交于 2020-01-07 05:48:05
问题 I currently have a .NET angular 2 program, with a route styled as <ControllerName>/:id Run on localhost with IIS Express, the id route param automatically converts to lowercase in the URL without me expressly doing any extra formatting. When calling the same controller and using matrix notation to input ID, however, it loses it's ability to automatically become lowercase <ControllerName>;id=<CAPSGUID> Curious thing is, when I host this on an IIS server, this functionality is somehow lost and

Microsoft.Office.Interop.Outlook Not working on IIS 8

时光毁灭记忆、已成空白 提交于 2020-01-07 04:57:05
问题 using Microsoft.Office.Interop.Outlook is not working on local IIS but it is working on IIS express while debuging.but when i publish app it is not runing on IIS8. Application OutlookApplication = new Application(); MailItem email = (MailItem)OutlookApplication.CreateItem(OlItemType.olMailItem); email.Display(); email.Recipients.Add("careers@acb.com; bilal@abc.com;"); Giving Exception on IIS not on localhost. Exception: An exception of type 'System.Runtime.InteropServices.COMException'