iis-7

Mobile Safari makes multiple video requests

依然范特西╮ 提交于 2019-12-20 11:49:53
问题 I am designing a web application for iPad which makes use of HTML5 in mobile safari. I am transmitting the file manually through an ASP.NET .ashx file hosted on IIS 7 running .NET Framework v2.0. The essential code looks partly like this: // If we receive range header only transmit partial file if (context.Request.Headers["Range"] != null) { var fi = new FileInfo(filePath); long fileSize = fi.Length; // Read start/end index string headerRange = context.Request.Headers["Range"].Replace("bytes=

IIS7 Integrated Pipeline: Interaction between maxConcurrentRequestsPerCPU and requestsQueueLimit settings

拟墨画扇 提交于 2019-12-20 10:38:53
问题 Firstly there's a great overview of the IIS7 HTTP request lifecycle and various settings that affect performance here: ASP.NET Thread Usage on IIS 7.0 and 6.0 Very specifically though, in dotNet 4 the defaults for maxConcurrentRequestsPerCPU and requestsQueueLimit are set to 5000. E.g. equivalent to: (in aspnet.config): <system.web> <applicationPool maxConcurrentRequestsPerCPU="5000" maxConcurrentThreadsPerCPU="0" requestQueueLimit="5000" /> (** see note below) </system.web> Seems to me that

What is the difference between httpCompression and urlCompression?

两盒软妹~` 提交于 2019-12-20 10:23:03
问题 Looking at the node in a Web.config, I see that it allows both httpCompression and urlCompression elements. What's the difference between the two? I just want to do standard gzip, which one should I use? 回答1: urlCompression specifies what to compress and httpCompression indicates how to do the compression. If you're running on IIS7.5, you don't need to specify anything, both dynamic and static compression are enabled by default, both use gzip; here are some links on urlCompression and

Is there a way to reset IIS 7.5 to factory settings?

流过昼夜 提交于 2019-12-20 09:47:59
问题 I modified a lot of options in IIS, and would like to reset its settings to default. I already tried installing/reinstalling it. After the reinstall, it still had the site I created. It was still breaking on the setting I made to the DefaultWebSite. People suggested uninstalling Windows Process Activation Service first, but it seems like it wasn't installed anyway, so I can't really uninstall it. How can I reset this installation of IIS back to an out-of-the-box state? 回答1: You need to

applicationhost.config file path in IIS 7, 7.5, 8, 8.5 and IIS 10?

末鹿安然 提交于 2019-12-20 09:47:34
问题 Anyone please explain me the applicationhost.config file location in the different mentioned IIS versions. Please mention the exact locations in each iis version. Apt answers will be appreciated. 回答1: For the "big" IIS versions since IIS 7, the location is always the same: %windir%\System32\inetsrv\config\applicationHost.config For IIS Express there is one per user, the default location is: %USERPROFILE%\Documents\IISExpress\config\applicationhost.config again it's the same for all versions.

Bug in MVC3 - requests never time out. Works fine for aspx pages in same project

一世执手 提交于 2019-12-20 09:16:03
问题 I'm seeing this on our production site as well as a small test site I setup just to test this out... Basically, it appears that requests handled by mvc never time out. I've set an executionTimeout in my web.config and turned off debug mode. I've then added an infinite loop of thread.sleeps to both a regular aspx page and an mvc page (the loop is in the controller of the mvc page). The aspx page reliably times out (HttpException (0x80004005): Request timed out.), but the mvc page just spins

How do I compress a Json result from ASP.NET MVC with IIS 7.5

拥有回忆 提交于 2019-12-20 08:02:00
问题 I'm having difficulty making IIS 7 correctly compress a Json result from ASP.NET MVC. I've enabled static and dynamic compression in IIS. I can verify with Fiddler that normal text/html and similar records are compressed. Viewing the request, the accept-encoding gzip header is present. The response has the mimetype "application/json", but is not compressed. I've identified that the issue appears to relate to the MimeType. When I include mimeType="*/*" , I can see that the response is

I have already enabled classic asp support on IIS for windows 7, and configured IIS web for classic asp,Yet .asp page is not being displayed? [closed]

ぃ、小莉子 提交于 2019-12-20 07:46:26
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 5 years ago . My .asp page is in the folder named "MyWeb", and "MyWeb" folder is under wwwroot folder which is under inetpub. I also added MIME types in IIS Manager for .asp as application/asp, and for .aspx as application/aspx I tried it a long but still it is not working. When I go to open that .asp file it is asking for

Getting a global.asax file error when using virtual directories for an MVC application

谁说胖子不能爱 提交于 2019-12-20 05:58:45
问题 I have a working MVC 4 application deployed to an IIS server. I wanted to duplicate this MVC app inside of another website in IIS so I linked the Bin, Views, Scripts, and Images of the working MVC site to the new site using virtual directories. I then copied the global.asax and web.config files to the root directory of the new site. When reviewing the new site's content view, it looks identical to the original's site directory layout, except that folders are virtual. When I go to run the new

Two-way communication between AppDomains inside of IIS Requests

白昼怎懂夜的黑 提交于 2019-12-20 04:27:09
问题 I'm working on an ASP.NET app, and we want to add the ability to call customer script during some of the requests. Since we don't trust this script, we are spawning a child AppDomain inside of our IIS request which has limited permissions, and loading both the customer assembly and a Script Runner assembly. The customer script can do things like change the description of a business object or change a status code to an error if certain criteria are met. Because the changes are so varied, I can