iis-express

IIS Express Web Server - (Every) Port is in Use?

心已入冬 提交于 2019-12-03 01:54:14
Today I installed VS2010 SP1 Beta, and IIS 7 Express, as I currently have IIS5 on my local development machine and thought I'd try IIS Express out. I have gone into the properties window for my Web Application, checked the 'Use IIS Express' checkbox, created the Virtual Directory when it has prompted me, but then get the message "Unable to launch the IIS Express Web Server. Port x is in use". I have tried changing the port number from the default value that was in there, to numerous other port numbers, but whatever value is there, I am always getting this message, and am therefore unable to

IIS Express - increase memory limit

二次信任 提交于 2019-12-03 01:02:14
I have a VS project in .NET MVC5 which loads an external dll file that uses a lot of memory. In average it uses from 500-1000MB memory. Now when I try to debug my project with default IIS Express server I almost always get OutOfMemory exception. I know that there is a /3gb flag for normal IIS but what about IIS Express. Are there any settings so I can enable this or is there any other solution to this problem except of installing a full IIS on development PC? PS: Developer PC has Windows 8.1 64x and Visual Studio 2013. Both Cassini and IISExpress runs as 32 bit by default... You can configure

Visual Studio 2013 gives “Cannot add duplicate collection entry of type ‘mimeMap’”

有些话、适合烂在心里 提交于 2019-12-03 00:56:24
I have a site that was built using Visual Studio 2010. When I upgraded to Visual Studio 2013, on some pages I would get an error that said: Cannot add duplicate collection entry of type 'mimeMap' with unique key attribute 'fileExtension' set to '.mp4'. After some searching, I found a helpful post on a blog, but since the issue was a little different and I didn't find it on stackoverflow, I thought I'd post the question and answer here. The issue was that when I switched to Visual Studio 2013, the web server used for debugging changed. Visual Studio 2013 uses IIS Express by default. Although

Windows Authentication not working in IIS Express, debugging with Visual studio 2013, Windows 8

南笙酒味 提交于 2019-12-02 22:48:19
I just upgraded my application from Visual studio 2012 to Visual studio 2013. My windows authentication is not working any more. It is giving me below error. HTTP Error 401.2 - Unauthorized You are not authorized to view this page due to invalid authentication headers. In visual studio there is option to select authentication from website properties itself. So I disabled anonymous access and enable windows authentication but it is asking me for username and password as below popup. Even if I give domain credentials here. Its is still giving me this popup again and again. Web Config :

Having problems using IIS Express SSL with VS2012 and a Team

白昼怎懂夜的黑 提交于 2019-12-02 22:24:00
The Problem: ADFS2 requires that a RP Trust uses https. The RP trust being https://localhost:44310/PAWS/ . With that said, I need to have IIS Express use SSL locally. So, when I configure my ASP.NET MVC4 project to use IIS Express. When I check this in to TFS (source control) and another developer on the team gets latest. The project will not load for them. Visual Studio 2012 will display the following error messages when opening the solution: This is because IIS Express wont automatically read the project file and add the HTTPS binding to the site configuration. This is the configuration that

IIS Express overly caching classic ASP pages

核能气质少年 提交于 2019-12-02 21:44:15
问题 I have this randomly occurring problem where IIS Express does not recognize when I make a change to an ASP page. It serves up the previous version of the page instead. I can work around this problem by re-editing the page, making a small change, then undoing the change and re-saving the file. But that's annoying... So far I've only seen this happen with Classic ASP pages, not the other files (html, js, css...) in my project. I know that IIS caches ASP pages and updates the cache when the file

clearing IISExpress cache

删除回忆录丶 提交于 2019-12-02 20:59:17
I am trying to clear up the IISExpress Cache from the powershell. Using this code it complains about the list. "C:\Program Files (x86)\IIS Express\appcmd.exe" list site /xml | appcmd delete site /in How can I clear up the sites and the IIS Express cache? At line:1 char:50 + "C:\Program Files (x86)\IIS Express\appcmd.exe" list site /xml | app ... + ~~~~ Unexpected token 'list' in expression or statement. + CategoryInfo : ParserError: (:) [], ParentContainsErrorRecordException + FullyQualifiedErrorId : UnexpectedToken Open CMD prompt & Navigate to IIS express - by typing the following cd "C:

Visual Studio 2015 - ASP.Net application won’t start until restarting Visual Studio

旧巷老猫 提交于 2019-12-02 19:18:53
Sometimes when I try to start a ASP.Net application (debugging) the application will not start. Visual studio looks like the application is running, the status bar changes its color to orange. A Browser opens and is loading “forever”. IIS Express is running and the site gets displayed in the context menu of the IIS try application. I do not get any exception; the application just won’t start. I tried to stop debugging and manually stopped IIS Express and started debugging again, but it didn’t work. The only thing which works is closing Visual Studio and open it again. Then I can start the

IISExpress cannot find ssl page running localhost with Visual Studio 2013

*爱你&永不变心* 提交于 2019-12-02 18:56:29
When I access the site as http://localhost:26049 , the site runs fine. If I try to access the site with https://localhost:44319 , I get page not found. This is my project properties: This is from my IISExpress application config: <site name="MVC Authentication" id="2"> <application path="/" applicationPool="Clr4IntegratedAppPool"> <virtualDirectory path="/" physicalPath="F:\Projects\MySite\Test" /> </application> <bindings> <binding protocol="https" bindingInformation="*:44319:localhost" /> <binding protocol="http" bindingInformation="*:26049:localhost" /> </bindings> </site> garethb Got

Add a PDF link in a .NET Core project

♀尐吖头ヾ 提交于 2019-12-02 16:15:00
问题 I want to add a PDF file to my .net core 2.0 project, it runs using IIS Express on my localhost, I already add the pdf file to my project file, and it shows up in Solution Explorer, and I added the corresponding link in my .cshtml like this: <a href=@Url.Content("~/CMT-RPT User Guide.pdf")>Link to guide if it does not show</a><br/> But after I run it, it cannot show up in my website, what is the problem? Here are the screen shot of my solution explorer and the website I clicked the link.