iis-express

Visual Studio 2012 IIS Express 8 Fresh Install - Can't Connect

前提是你 提交于 2019-11-30 17:58:46
On Visual Studio 2010 + IIS Express 7 I was able to use IIS Express as a server and browse sites. I've since installed Visual Studio 2012 (on Windows 7 64-bit) with IIS Express 8, and I can't browse a single site on it. In addition, when I look at the log files (\Logs and \TraceLogFiles) I don't even see a single log entry for any of the 2012/IISExpress 8 apps, let alone an error to look into. Looking at applicationhost.config, I do see the site I'm trying to run with the correct path, apppool and port. But when attempting to run it, IIS Express 8 starts, I get an unusually long pause, and

Using Windows Authentication in ASP.NET

ⅰ亾dé卋堺 提交于 2019-11-30 17:27:13
I'm trying to use Windows Authentication in my ASP.NET application. Whenever I try to view the app it sends me to a login page. How can I make it work without having to manually login via the browser? web.config <system.web> <authentication mode="Windows"></authentication> <anonymousIdentification enabled="false"/> <authorization> <deny users="?" /> <allow users="*" /> </authorization> <customErrors mode="Off"></customErrors> <identity impersonate="true"></identity> <compilation debug="true" targetFramework="4.0" /> <httpRuntime /> </system.web> error after updating IIS Express Most likely

Prevent iisexpress from running the websites in a solution when the startup app is a console app

元气小坏坏 提交于 2019-11-30 16:58:13
I have a solution with a number of projects in it. Even if I set the web project's start options to: Don't open a page. Wait for a request from an external application. Use custom webserver. Base URL: http://localhost . And the startup project to: Single startup project Select the console application (not website) When I press start debugging, IIS express launches (shows up on the taskbar). How do I prevent from IIS Express from launching? I am only running a console application, and don't want IIS Express running. In fact, all of the websites in the solution launch in IIS, and they consume

Publish WCF Service app on IIS Express using Web Deployment

て烟熏妆下的殇ゞ 提交于 2019-11-30 16:40:37
I want to publish WCF Service Application created in Visual Studio 2010 on IIS Express. So I'm using Project -> Publish -> Web Deploy: Service URL: http://localhost Site/application: wcf But ran into some miss-understanding: Web Deployment requires a virtual directory, it doesn't want to publish in the site root IIS Express doesn't support virtual directories How can I accomplish the task? You can add a virtual directory via a command line using appcmd: appcmd add vdir /app.name:<site_name>/ /path:/<virtual_directory> /physicalPath:<physical_location> See here You should be able to specify the

Publish WCF Service app on IIS Express using Web Deployment

只愿长相守 提交于 2019-11-30 16:20:26
问题 I want to publish WCF Service Application created in Visual Studio 2010 on IIS Express. So I'm using Project -> Publish -> Web Deploy: Service URL: http://localhost Site/application: wcf But ran into some miss-understanding: Web Deployment requires a virtual directory, it doesn't want to publish in the site root IIS Express doesn't support virtual directories How can I accomplish the task? 回答1: You can add a virtual directory via a command line using appcmd: appcmd add vdir /app.name:<site

Unable to create a new web project in Visual Studio 2013

主宰稳场 提交于 2019-11-30 15:07:06
问题 Background: I am trying to use my office machine, where I have some limited rights, from home. All products are installed through when I was connected with my network drives, where my profile exists. Now, I am at home where I don't have an access to these network drives. Problem: Whenever I am trying to create a project in visual studio I am getting the following errors: --------------------------- Microsoft Visual Studio --------------------------- Package 'ProviderPackage' failed to load. -

What account does IIS Express run under?

廉价感情. 提交于 2019-11-30 14:28:19
问题 I need to get my dev machine to read a certificate from the local machine store to do this I need to run winhttpcertcfg.exe and specify the account I want to elevate What would this account be for IIS express? (For IIS it would be the IWAM_MachineName) thanks a lot 回答1: IIS Express runs as your user account. When installed, you should find an IISExpress folder in your My Documents folder. 来源: https://stackoverflow.com/questions/8446359/what-account-does-iis-express-run-under

Unable to create a new web project in Visual Studio 2013

 ̄綄美尐妖づ 提交于 2019-11-30 13:46:42
Background: I am trying to use my office machine, where I have some limited rights, from home. All products are installed through when I was connected with my network drives, where my profile exists. Now, I am at home where I don't have an access to these network drives. Problem: Whenever I am trying to create a project in visual studio I am getting the following errors: --------------------------- Microsoft Visual Studio --------------------------- Package 'ProviderPackage' failed to load. --------------------------- Finding: After doing some research I found that it is due to IISExpress. I

clearing IISExpress cache

痴心易碎 提交于 2019-11-30 12:09:34
问题 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 +

Creating a virtual directory failed with the error

徘徊边缘 提交于 2019-11-30 11:42:07
问题 I can't solve this problem I suggest I have to change c:\Windows\System32\drivers\etc\hosts file and add after # localhost name resolution is handled within DNS itself. the next line: 127.0.0.1 mysite.dev but it doesn't help. Any suggestions? Error ocсurrs when I try to open web site project in Microsoft Visual Studio 2012. 回答1: More often than not, at least in my case, this happens is when a *.csproj.user file is in the project directory and has <UseIISExpress>true</UseIISExpress> in it.