iis-express

Use mapped drive or shared folder with IIS Express

℡╲_俬逩灬. 提交于 2021-01-29 10:09:51
问题 I'm trying to setup a dev environment for an asp.net (umbraco) project using IIS Express on a mac. I have a VM with windows installed with the dev tools. My goal is to only use the VM as a compiler but actually write the code on the mac. To do that my trying to setup a network drive or a shared folder between the host and the guest OSes. But IIS Express gives me an error when running the application. HTTP Error 500.19 - Internal Server Error The Requested page cannot be accessed because the

VS2017 RC - The following error occurred when trying to configure IIS Express

江枫思渺然 提交于 2021-01-27 14:43:20
问题 Installed VS2017 RC - Started New Project ASP.NET Core Web Aplication(.Net CORE), selected Individual User Accounts as Authentication type. Try to run code generated with no changes and got the following error: Error occurred when trying to configure IIS Express for project... Error: ../.vs/config/applicationhost.config Error: cannot write configuration file Looked at that file and it appears that it should have been writable. FYI using VS2015 Update 3 everything builds and runs as expected

how to setup multiple apps with same port and domain but different paths in iisexpress vs2015

北慕城南 提交于 2020-12-25 01:23:16
问题 Im currently splitting a big asp.net core solution into multiple smaller solutions, each with a single app. In order to do this, the base app needs to point at www.originalApp.com and each of my smaller apps will be accessed using the path www.originalApp.com/SplittedApp I have managed to get this running using IIS with the following setup in the applicationHost.config <site name="OriginalApp" id="3" serverAutoStart="true"> <application path="/" applicationPool="OriginalAppPool">

how to setup multiple apps with same port and domain but different paths in iisexpress vs2015

删除回忆录丶 提交于 2020-12-25 01:16:26
问题 Im currently splitting a big asp.net core solution into multiple smaller solutions, each with a single app. In order to do this, the base app needs to point at www.originalApp.com and each of my smaller apps will be accessed using the path www.originalApp.com/SplittedApp I have managed to get this running using IIS with the following setup in the applicationHost.config <site name="OriginalApp" id="3" serverAutoStart="true"> <application path="/" applicationPool="OriginalAppPool">

Not able to connect to database when run on Local IIS

孤者浪人 提交于 2020-12-07 10:26:52
问题 I have an asp.net application which runs on IIS express in visual studio. The application runs without any problems in IIS express. However when I switch the project configuration to run on Local IIS, I get the following database error. System.Data.SqlClient.SqlException: 'A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured

Not able to connect to database when run on Local IIS

耗尽温柔 提交于 2020-12-07 10:24:40
问题 I have an asp.net application which runs on IIS express in visual studio. The application runs without any problems in IIS express. However when I switch the project configuration to run on Local IIS, I get the following database error. System.Data.SqlClient.SqlException: 'A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured

Running multiple apps under same host and port

会有一股神秘感。 提交于 2020-11-29 02:53:18
问题 I am developing multiple asp.net core applications within one solution and when I run the solution in Visual Studio using IIS Express, would like to have them under the same url and port. For example: App1: https://localhost:44369 App2: https://localhost:44369/App2 App3: https://localhost:44369/App3 I've tried to change the lauchSettings.json file to use the same host and url but then an error comes up that the server can't run. Is there a way to configure it? { "iisSettings": {

Launch IIS Express to run ASP.NET Core Apps

落花浮王杯 提交于 2020-11-24 17:56:27
问题 I wish to run my ASP.NET Core App by launching it from IIS Express using command line. I stumbled across this article which says So in fact Visual Studio silently adds the two environment variables when launching IIS Express, so that ASP.NET Core related bits can be injected. LAUNCHER_ARGS: -debug -p “C:\Program Files\dotnet\dotnet.exe” -a “exec \”C:\Users\lextm\documents\visual studio 2017\Projects\WebApplication2\WebApplication2\bin\Debug\netcoreapp1.0\WebApplication2.dll\”” -pidFile “C: