iis-express

Cannot open Web projects in Visual Studio 2013

南笙酒味 提交于 2019-12-05 06:15:46
Yesterday I installed an update (Visual Studio 2013 Update 2) to Visual Studio 2013 and since then it has not worked properly. The update was taking quite a long time so I let it run overnight, and when I returned to my workstation this morning, I was unable to load the WebForm projects in our solution. The error it gives when I attempt to reload the projects is The IIS Express applicationHost.config file contains invalid entries and must be corrected before you can open project WebSite. I'm not the one on our team that configures the IIS server, so I don't think I have access to the

Bad Request - Invalid Hostname when accessing localhost Web API or Web App from across LAN

与世无争的帅哥 提交于 2019-12-05 06:03:23
I have an ASP .Net Core 1.1 Web API and Web App running on my localhost from Visual Studio 2017 on Windows 10. When I run the projects, the API runs on http://localhost:50082/api/ and the web app on http://localhost:60856/ However, if others on the LAN try to access it (using my computer's IP address - http://192.168.1.101:60856/ they get a Bad Request - Invalid Hostname Error. In fact,. I get this error too of I use my IP address. I've tried about a dozen variations in my C:\Users\Documents\IISExpress\config\applicationhost.config file, such as: <bindings> <binding protocol="http"

Could not load file or assembly in VS2017 with IIS express

女生的网名这么多〃 提交于 2019-12-05 05:55:17
We have a ASP.NET project in the company that runs for 5/6 developers. All Visual Studio 2017 and debug on IIS Express, no crazy setting or anything to make it run. 1 colleague cannot get it to work, he always gets the following exception: We had this problem a few months back, then out of frustration the PC was re-installed and the problem was gone. He didn't develop for a few weeks and today the problem appeared again. I searched long and far but it's such a generic error I can't really figure this one out. When I run the fusion log viewer I see the following result: https://pastebin.com

The program '[4432] iisexpress.exe' has exited with code -2147023895 (0x800703e9)

纵饮孤独 提交于 2019-12-05 03:44:06
I have very frustrating issue with IIS Express. When I start debug everything is ok, but after few requests IIS hangs and crashes. My browser (Chrome Version 37.0.2062.120 m) waits for the response several seconds and then IIS Express stops running. My output is The program '[4432] iisexpress.exe' has exited with code -2147023895 (0x800703e9). and event log looks like this: Log Name: Application Source: Application Error Date: 2014-09-18 14:12:24 Event ID: 1000 Task Category: (100) Level: Error Keywords: Classic User: N/A Computer: COMP0008 Description: Faulting application name: iisexpress

Visual Studio 2013 “break on handled exceptions” not working, not breaking

醉酒当歌 提交于 2019-12-05 03:40:24
I am debugging an asp.net application on iisexpress.exe, I have configured visual studio 2013 to break on user-handled exceptions through the exception settings window but it still does not break when an exception is thrown. When I pause execution I can see on the Intellitrace window that a lot of exceptions were thrown but visual studio didn't break. Nadav Miller Ok, it seems it was because of the "Enable Just My Code" options was selected under Options->Debugging->General I don't know why but by default, it is checked. Any ideas? Should I leave it checked/unchecked? @Navad, how the debugger

Breakpoint in ASP.NET MVC Razor view will not be hit. No symbols have been loaded for this document

拈花ヽ惹草 提交于 2019-12-05 02:13:20
I can't get a breakpoint in a Razor view to be hit in Visual Studio 2013 while debugging in IIS Express. This is the view and unreachable breakpoint: Looking at the modules I see that the latest PDB file has been loaded: And the folder C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\53ff8402\967c7053\assembly\dl3\f3c59a34\6698ffde_b452cf01 has the latest version of the DLL and PDF files: ITVizion.VizionLogs.WeeklyLogs.Web.DLL ITVizion.VizionLogs.WeeklyLogs.Web.PDB I have already cleaned the solution, wiped the project's bin folder, restarted Visual Studio, etc but it

aspnetcore.dll failed to load

女生的网名这么多〃 提交于 2019-12-05 01:41:14
I usually dev on a windows 7 desktop, using visual studio 2015 update 3. I have the same vs2015.3 on my windows 10 laptop. I copied an asp mvc 5 app I am working on to the laptop but it wont run when I try to launch it from VS. I get the "aspnetcore.dll failed to load" error. I looked around and most solutions are to repair the asp net core install, but my laptop does not have asp net core installed on it, because I don't use core yet. My project is targeting .Net 4.6. My desktop does have Core on it. So do I have to install .net core just because? Or is there some other solution? I am using

Allow “localhost” to run in iisexpress when web.config contains ipSecurity permissions

谁说胖子不能爱 提交于 2019-12-05 00:20:39
I just added this to my web.config: <security> <ipSecurity allowUnlisted="false"> <!-- The following IP addresses are granted access, all else denied --> <add allowed="true" ipAddress="123.123.105.0" subnetMask="255.255.255.0" /> <add allowed="true" ipAddress="123.123.100.0" subnetMask="255.255.255.0" /> </ipSecurity> </security> Works exactly as intended, only over that certain IP range. BUT, now when I go to test this in Visual Studio via iisExpress over localhost it of course gives me issues. Here is the 500.19 error I receive: This configuration section cannot be used at this path. This

Keeping web application attached to IIS Express in Visual Studio 2013

旧巷老猫 提交于 2019-12-05 00:04:23
In Visual Studio 2012, if I stopped debugging, the web application would remain attached to IIS Express, such that I could continue loading pages in the browser without having to restart debugging. This worked really well for me in conjunction with .NET Demon, as my application would rebuild after every change and I could just jump over to the browser to check the changes instantly. After upgrading to Visual Studio 2013, this behavior no longer exists. When you stop debugging, the application is completely detached, such that the browser will generate a error saying that it cannot find the

Can't connect to IIS Express remotely from non-Windows machine

泪湿孤枕 提交于 2019-12-04 17:29:59
I am working on an ASP.NET application and I'd like the ability to test the application on my (Android) phone and iPad by connecting directly to my local IIS Express development server. I followed the instructions here on setting up IIS Express to allow remote connections. I am now able to view the application from another Windows machine on my local network by visiting http://my-computer-name:my-port-number/ in the browser. However, I am unable to view the application from any other platform (Android, iOS, and OS X - tested in both Chrome and Firefox); the browser silently churns away for a