iis-express

Application Debugging is disabled in Visual Studio 2012 on Classic ASP Debugging

半城伤御伤魂 提交于 2019-11-29 14:38:05
问题 I'd like to debug Classic ASP website at Visual Studio 2012 with IIS Express . Hence, I attached the iisexpress.exe in VS 2012 , but it shows Application Debugging is disabled . What could be a problem ? Do I want to enable any configuration settings? 回答1: I don't have visual studio 2012 to test it on as far as I know visual studio cannot debug asp classic code natively. The way I debug my asp classic code is to put in stop statements on the line above the one I want to debug like this post

Grant IIS Express permission to access network drive in VMWare

白昼怎懂夜的黑 提交于 2019-11-29 14:18:07
I have a Windows 7 virtual machine in VMWare that I'm using to develop ASP.NET MVC 5 Web applications with the default IIS Express server. I like to keep my projects saved on an external hard drive which I can access in the virtual machine through a shared folder / network drive. However, when I run my applications, IIS Express cannot access my web.config files in the project directory. It's looking in the right folder so I'm pretty sure this is a permissions issue. How can I grant IIS Express file access to the files on my network drive? Things I've tried Running Visual Studio as an

Installing IIS on Windows 7 Home Basic

蓝咒 提交于 2019-11-29 11:58:49
I have a ASP.NET application and I would like to deploy it on a webserver. So I searched for a some tutorials and most of them tell to enable the IIS Management Console in control panel.But I don't have such an entry in there. So I guessed that I have some component missing(jigsaw) and used the MS WebPI utility to install IIS components and other things even remotely connected to web development. I have installed Web deploy 3.0 IIS Express 7.5 .NET framework 4 and MS web tools for Visual studio 2010. Still no luck.Run>inetmgr still fails.There is no inetpub folder anywhere.(I expected

How to enable case-sensitivity under IIS Express?

风格不统一 提交于 2019-11-29 11:19:27
How should I go about enabling case sensitive request handling if using IIS Express? Is there a setting in IIS Express? or can a URL Rewrite rule accomplish this? or perhaps catch-all HTTP Handler to do the case check? The goal is to be able to catch case inconsistencies locally, with respect to static files, before deployment to both IIS and S3 (where S3 is case sensitive). Thanks IIS is case-sensitive... ...but not for files. It is a misnomer that IIS is case-insensitive, it is the Windows file system that is case-insensitive, not IIS. If a URL contains a file path then IIS asks Windows if

How to use subdomains with localhost on IISExpress?

跟風遠走 提交于 2019-11-29 10:50:08
问题 I'm serving my MVC app locally via localhost:5252 right now. I'm trying to set up my app to test multi-tenancy by having both localhost and contoso.localhost point to my web app instance. I set up my hosts file with the corresponding entry: 127.0.0.1 contoso.localhost However I'm not sure what else I need to do to make this work. Right now I just get a standard IIS8 page when I navigate, even though I haven't done anything in IIS Manager. I'm trying to avoid having to use IIS locally, as

IISExpress ClientCertificate Setup Steps

会有一股神秘感。 提交于 2019-11-29 10:25:28
I am trying to configure a simple web site to require client certificates on IISExpress. My configuration is according to http://www.jasonrshaver.com/?tag=/IIS+Express <site name="XXXX" id="3"> <application path="/" applicationPool="Clr4IntegratedAppPool"> <virtualDirectory path="/" physicalPath="XXXX" /> </application> <bindings> <binding protocol="http" bindingInformation="*:65360:localhost" /> <binding protocol="https" bindingInformation="*:44300:localhost" /> </bindings> </site> ... <access sslFlags="Ssl, SslNegotiateCert" /> ... <iisClientCertificateMappingAuthentication enabled="true"> <

IIS Express HTTP Error 401.2 - Unauthorized

微笑、不失礼 提交于 2019-11-29 05:51:19
问题 I have tried the suggestions in this post but I can not get Windows Authentication working with IIS Express in Vision Studio 2010. Now I get following error: Here are my applicationhost.config file entries: ... <add name="WindowsAuthenticationModule" lockItem="false" /> ... <authentication> <anonymousAuthentication enabled="true" userName="" /> <basicAuthentication enabled="false" /> <clientCertificateMappingAuthentication enabled="false" /> <digestAuthentication enabled="false" />

Programmatically determine if code is running under IIS Express

会有一股神秘感。 提交于 2019-11-29 05:29:26
I am not sure this is even possible, but I am hoping for a clue as to determine if the code that is currently executing is running under IIS Express. My best approximation so far, which is incredibly hackish and will certainly fail/break at some point: bool IsExpress = Request.ServerVariables["SERVER_SOFTWARE"] == "Microsoft-IIS/7.5" && Int32.Parse(Request.ServerVariables["INSTANCE_ID"]) > 1000000000; Certainly there has to be a better way. My examination of the Application, Server and Request objects didn't seem to reveal anything that might provide better insight. Perhaps I just need to look

How to Run PHP on IIS7.5 Express?

人盡茶涼 提交于 2019-11-29 03:21:05
I have Win XP SP3 and have installed IIS7.5 Express and want to run PHP on it. I am able to run simple HTML code on the server, I am able to start and stop the server by running iisservices.exe, but I am not able to run php scripts on it. If I have the following PHP file: <? php echo "hello world"; ?> <html>HI</html> The output is HI but the PHP script doesn't run. I have followed the steps described in this article to install PHP: http://learn.iis.net/page.aspx/724/install-and-configure-php/ But can't proceed from step 10 onwards because IIS Express doesn't have an IIS Management Console MMC

Adding <mimeMap> entry Causes 500 for Other Static Content on IIS Express

倾然丶 夕夏残阳落幕 提交于 2019-11-29 02:10:28
问题 I'm using Visual Studio 2012 with Update 2 and IIS Express. When I add a record to the staticContent section, all other static content (.js, .css, .jpg, etc) returns a 500 error. Any advice would be greatly appreciated. Thanks in advance. 回答1: The mimetype is probably already added to your IIS. Try to remove the mimetype first and then add it again in your web.config <remove fileExtension=".woff"/> <mimeMap fileExtension=".woff" mimeType="application/font-woff" /> Good luck! 回答2: Behavior of