iis-express

Process with an ID #### is not running in visual studio professional 2013 update 3

泪湿孤枕 提交于 2019-11-27 02:49:58
I am trying to run any program on visual studio 2013 update 3 and I get the following alert box : Process with an ID #### is not running . // every time there is different ID number showing and in the error windows I get this error msg: The program '[3148] iisexpress.exe' has exited with code -1073741816 (0xc0000008) 'An invalid handle was specified'. Sometimes it runs and in the browser i get the following message : The webpage is not available. I have looked around and try almost everything and I stil cannot fix the problem. Please help anyone Juan M. Elosegui First Error For the first error

Custom errors not working with IISExpress

安稳与你 提交于 2019-11-27 02:41:37
问题 I have a asp.net mvc application and am trying to get custom errors working with IISExpress. Works in Casini fine: <customErrors mode="On" defaultRedirect="/error"> <error statusCode="404" redirect="/error/notfound"/> </customErrors> When I've deployed mvc sites to IIS (7.5) before, all I had to do get my custom errors working was to set: <httpErrors errorMode="Detailed"/> I've tried explicitly specifying the status codes within the httpErrors section but nothing works. Here's an example:

how do I change IIS express 8 port 80 to 8080

一个人想着一个人 提交于 2019-11-27 02:36:54
问题 I used to use vs2010 and webmatrix. However,I'm trying to use apache lately. So my IIS express is using port 80 and apache is using port 8080. I intend to have it the other way around. Let apache use port80 and IIS use 8080. I couldn't let apache listen to port 80 until IIS no longer listen to port 80. How should I config IIS express's port? ps.I'm using win7 with one ip adress 回答1: Try this To configure the default IIS website to use port 8080 On the Windows desktop, click Start, click

Unable to launch the IIS Express Web server

佐手、 提交于 2019-11-27 02:34:44
问题 When trying to debug a web application configured to use IIS Express 7.5 in Visual Studio 2010, I received the following error "Unable to launch the IIS Express Web server" When running from the command line with the /trace:error switch I got the following C:\Program Files (x86)\IIS Express>iisexpress.exe /trace:error Starting IIS Express ... Initializing the W3 Server Started CTC = 1857831 W3 Server initializing WinSock. CTC = 1857847 W3 Server WinSock initialized. CTC = 1857847 W3 Server

Visual Studio 2015 - Adding virtual directory not possible

北慕城南 提交于 2019-11-27 01:41:41
问题 we are running some of our sites as Web Site projects in Visual Studio. We recently upgraded to VS2015. Now we can't add virtual directories to new websites. We already tried right-click "Add new virtual direcory" where we get an error message as well as editing the applicationhost.config in the Project folder. Is this a bug with VS2015 or is there a way to create the directories? There is no problem with project that already ran on IIS Express before upgrading to VS2015. PS: I know of the

How can I change IIS Express port for a site

妖精的绣舞 提交于 2019-11-27 01:14:50
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. hutchonoid 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 server, in the Project URL box change the port number. To the right of the Project URL box, click

Force IIS Express to Classic Pipeline Mode

蓝咒 提交于 2019-11-27 00:51:10
问题 How can I force IIS Express to run at classic mode? And I need that this configuration stays with .csproj, once that this file that say that a project should be open with IIS Express. 回答1: In Visual Studio 2010 select the Web Application project node in Solution Explorer then either: Press F4 or Navigate to View -> Properties Window or press F4 Important: Don't Right-click -> Properties from the right-click context menu for the project node in solution explorer because that will show the

How can I force IIS Express to run in 32 bit mode?

醉酒当歌 提交于 2019-11-27 00:51:08
问题 I have a classic ASP app that I'm trying to run under IIS Express on 64 bit Windows. It uses Jet to connect to a Microsoft Access database and will not work under 64 bit. I have created the following application pool for the ASP app, but it seems to ignore the enable32BitAppOnWin64 attribute and the process is still 64 bit. <applicationPools> <add name="UnmanagedClassicAppPool32" managedRuntimeVersion="" managedPipelineMode="Classic" autoStart="true" enable32BitAppOnWin64="true" /> <

Connecting to Visual Studio debugging IIS Express server over the lan

强颜欢笑 提交于 2019-11-26 23:41:24
I have a test ASP.NET MVC3 application developed in VS2012. When I start debugging the app is accessed from the host machine via the request to http://localhost:<portnumber> . But if I try to access the same application from the remote machine in the intranet via the http://<ip>:<portnumber> I get HTTP error 400: Bad request. Invalid Host Name. As far as it runs on IIS Express any server configuration is inaccessible. Are there any ways of solving this? Garrett Fogerlie Update I made a video that better describes the process, https://youtu.be/5ZqDuvTqQVs If you are using Visual Studio 2013 or

Starting and stopping IIS Express programmatically

╄→гoц情女王★ 提交于 2019-11-26 23:40:28
I am trying to build a small application in C# which should start/stop an IIS Express worker process. For this purpose I want to use the official "IIS Express API" which is documented on MSDN: http://msdn.microsoft.com/en-us/library/gg418415.aspx As far as I understand, the API is based (only) on COM interfaces. To use this COM interfaces I've added a reference to the COM library in VS2010 via Add Reference -> COM -> "IIS Installed Versions Manager Interface": So far so good, but what's next? There is an IIISExprProcessUtility interface available which includes the the two "methods" to start