iis-7.5

VS2010 error: Unable to start debugging on the web server

纵然是瞬间 提交于 2019-11-28 17:37:20
I get error message "Unable to start debugging on the web server" in Visual Studio 2010. I clicked the Help button and followed the related suggestions without success. This happens with a newly created local ASP.Net project when modified to use IIS instead of Cassini (which works for debugging). It prompts to set debug="true" in the web.config and then immediately pops up the error. Nothing shows up in the Event Viewer. I am able to attach to w3wp to debug. It works but is not as convenient as F5. I also have a similar problem with VS2008 on the same PC. Debugging used to work for both. I

How to Find App Pool Recycles in Event Log

回眸只為那壹抹淺笑 提交于 2019-11-28 17:18:12
问题 I have configured an app pool in IIS 7.5 to recycle when the memory usage goes above a certain level. I have also configured it to log this information. Where in the event log should I look for this? I have tried filtering based on the source being all the IIS items, e.g. 'IIS-W3SVC-WP', 'IIS-IISManager', and all the rest, but nothing. I can see that it is adding in the items from the 'IIS-Configuration' log too which I enabled. But still nothing. 回答1: It seemed quite hard to find this

Stopping cookies being set from a domain (aka “cookieless domain”) to increase site performance

大兔子大兔子 提交于 2019-11-28 17:16:36
I was reading in Google's documentation about improving site speed. One of their recommendations is serving static content (images, css, js, etc.) from a "cookieless domain": Static content, such as images, JS and CSS files, don't need to be accompanied by cookies, as there is no user interaction with these resources. You can decrease request latency by serving static resources from a domain that doesn't serve cookies. Google then says that the best way to do this is to buy a new domain and set it to point to your current one: To reserve a cookieless domain for serving static content, register

Mercurial client error 255 and HTTP error 404 when attempting to push large files to server

谁说我不能喝 提交于 2019-11-28 17:04:20
问题 Problem: 19/06/10 Update: More evidence problem is server-side. Receiving this error on Windows 7 command line (see below for full traceback): URLError: <urlopen error [Errno 10054] An existing connection was forcibly closed by the remote host> abort: error: An existing connection was forcibly closed by the remote host When attempting to push a changeset that contains 6 large files (.exe, .dmg, etc) to my remote server my client (MacHG) is reporting the error: "Error During Push. Mercurial

Windows Authentication not working in IIS 7.5

半城伤御伤魂 提交于 2019-11-28 15:59:47
问题 I am having a problem with getting windows authentication to work on IIS 7.5. The application is an internal site built in asp.net MVC 3. The application pool is using a specific domain user and the site is using windows authentication. Every time I try to launch the site IE prompts me for a login. If I cancel enough the site comes up, messed up looking, but it has my name associated with my windows log in displayed at the top. So that tells me that the site is picking up my windows

Can't use WAMP , port 80 is used by IIS 7.5

女生的网名这么多〃 提交于 2019-11-28 15:47:32
I am trying to use WAMP on Windows 7, my WAMP is online, but when I open localhost I get the welcome page of IIS 7.5, although I have uninstalled IIS 7.5 from my PC! Apache server test says that port 80 is used my Microsoft-HTTPAPI/2.0 MS Visual Studio 2010 was uninstalled a short while ago as well. By default WampServer is installed to port 80 which is already used by IIS. To set WampServer to use an open port, left click on the WampServer icon in the system tray and go to Apache > httpd.conf Open the httpd.conf in Notepad. press ctrl+f and search for "Listen 80", change this line to "Listen

Enabling PUT on IIS 7.5 for an ASHX handler using Windows Authentication

◇◆丶佛笑我妖孽 提交于 2019-11-28 13:34:05
I have an ASP.NET (.NET 4) website that uses http PUT for an .ashx generic handler. The PUT call originates from a Silverlight front end. All works in VS 2010 on my local machine (Cassini web server). Then I deployed to an IIS7.5 Win Server 2008 R2 box. The silverlight/website is fine, but PUT calls to the .ashx handler are met with a Windows Login Prompt. This is a local intranet so Windows Authentication (with NTLM & Negotiate providers) is the only enabled authentication. Then I read this: http://blogs.msdn.com/b/joseph_fultz/archive/2009/07/23/enabling-the-put-verb-with-handlers-and-iis-7

Allow anonymous to ASP.NET Web API controller while rest of the application runs under windows authentication

ぃ、小莉子 提交于 2019-11-28 12:04:12
I have an ASP.NET web application that has Windows authentication enabled. I need to write an ASP.NET Web API controller in that application that uses some of the data access logic of the application. I don't want to create a new project for the Web API alone as I need to expose just a small end point that handles a couple of requests. The Web API clients would consume the service anonymously. To allow this, I tried using AllowAnonymous action filter on both controller as well as the actions. But, when I try hitting the API using Fiddler, the request fails with status 401 saying "401 -

502 error upload csv file to web api

这一生的挚爱 提交于 2019-11-28 10:14:10
问题 I have an Angular5 user interface with a file upload function. The user clicks a button and selects a file and the file is sent to the web api (asp.NET Core) method for processing. This works fine with smaller files, but with larger files the request times out with a 502 error. I can see the request always timesout at 120 seconds. (NOTE: I am hosting via node in development and via IIS in production). In the case of large files I need to extend this timeout to a larger value. I've tried to

Run console application (.exe) from within ASP.NET application (IIS 7,5)

天涯浪子 提交于 2019-11-28 09:51:53
问题 I have an ASP.NET application on Windows 2008 R2 (.NET Framework 4.0, IIS 7.5) and I want to run a console application when I click a button on a web page. Here is the code: protected void btnUpdate_Click(object sender, EventArgs e) { string fileLocation = @"D:\DTDocs\App_Code\LoadDTDocsXML.exe"; ProcessStartInfo oStartInfo = new ProcessStartInfo(); oStartInfo.FileName = fileLocation; oStartInfo.UseShellExecute = false; Process.Start(oStartInfo); } When I run ASP.NET application from within