iis6

HTTP Handler works using Cassini, but not with IIS 6

I've created a sample project to simplify my problem. I have this simple handler: public class HandleThis : IHttpHandler, IRequiresSessionState { public void ProcessRequest( System.Web.HttpContext context ) { // Score.aspx just says "success" context.Response.Redirect( "Score.aspx" ); } public bool IsR...

IIS 401.3 error for mp4 files

Hi All, I have a web application which contains a virtual directory for videos. When ever user uploads a videos my automated programe creates mp4 version of that file. My virtual directory is using integrated windows auth. and my .wmv and .mp4 files are in the same folder. When i am trying to access .mp4 version of the video it is show...

How to handle requsts from IIS to Apache?

Hi all! I need to create something like proxy between IIS and Apache So hostheaders I would like to set up on IIS because it's Windows 2003 Server but I have some applications that should be hosted under Apache. In this case I think that I should set up something like proxy... Any ideas? ...

Redirect appending HEADERS is posible?

Can I make a Response.Redirect modifying the headers of that "request (¿) " ...

How do I redirect this url pattern in asp.net webforms or asp.net mvc?

I am trying to redirect a user when they entire a URL in this format: http://example.com/http://example2.com/ To the following: http://example.com/?m=example2.com#http%3A%2F%2Fwww.example2.com%2F I want to strip out the host of example2 and make it a query-string, then URL encode the full URL of example2 and put it as the anchor. ...

Can the Windows Indexing Service restart an app pool if it doesn't index the Web.Config?

I am having a slight debate with a colleague of mine on this subject. Scenario: A web site has a sub directory that is indexed using the Windows Indexing Service. There is not a web.config in this directory and the indexing service is not indexing the parent directory which is the site root. Something is causing the app pool to restar...

Why is calling (ImageMagick) convert.exe from PHP script resulting in an unresponsive page?

* This is now resolved * by clearing the temp folder in windows! Some info - Windows 2003 server, IIS 6 ImageMagick 6.3.3 PHP 5.2.0 I am using ImageMagick to resize images on the server and I think this has recently been causing problems. What I am noticing is that when my PHP script executes the ImageMagick command the webpage freeze...

How do I terminate WINWORD.EXE when used by classic ASP?

I have a user who has to use Microsoft Word 2007 to create and manipulate word documents in his ASP web application. I'm well aware of the 'Considerations for server-side Automation of Office' KB article and the many third party components available to do this kind of thing, but they've gone a fair bit down this road already. The proble...

Does DefaultAppPool run with special elevated privilegs on IIS?

I'm running a piece of code within a web page that queries the IIS metabase using ADSI. The code is as simple as this: DirectoryEntry iisNode = new DirectoryEntry("/LM/W3SVC/1/ROOT/MyAspWebsite-1-128886021498831845"); foreach (DirectoryEntry de in iisNode.Parent.Children) { System.Console.Wri...

How do I get HttpCompression (GZip) to work with URL Routing (Extensionless URLs) on IIS 6.

Okay, URL Routing is great. Extensionless URLS, SEO friendly etc. However, it seems that IIS 6 doesn't perform compression on sites that use Extensionless URLs. WildCard Mapping is on so Asp.Net can process the extensionless files, but is there any way to set these resources to be gzipped? ...

The underlying connection was closed

anyone knows this problem, "The underlying connection was closed: An unexpected error occurred on a receive."? How can we resolve this problem? ...

Internet Explorer 8 EmulateIE7 Mode not working

I've set up IIS6 to send the following headers Custom Header Name: X-UA-Compatible Custom Header Value: IE=EmulateIE7 that supposed to force IE 8 into IE 7 Compatibility mode. You can read more about it on MSDN . I have noticed by looking in the Developer toolbar that if I have a DTD defined the document mode correctly gets set to ...

Balancing IIS compression with CPU time?

For instance, with a level of IIS compression set to 9, the web browsing is significantly faster. However, I also have a Web Services application on the box, which transfers significant amounts of data (e.g. 3MB payload is typical), it actually takes 20-30% longer for the data to get to the client, because the CPU on the server takes a ...

ScriptResource.axd requests return HTTP 302

The DNN application I develop has this familiar problem in the deployment env (Win 2003/IIS 6). From all resources I've searched only one came close to my situation. i.e this request returning 404 instead of 302 I get. Common suggestions like aspnet reinstallation, web.config settings, removing 'verify file exists' in IIS handler settin...

how to create .csr file (SSL) on command line or api (Visual Basic or Other programming language) for IIS 6.0 / 7.0

Hi All; i need creating .csr file on vb api or command line tool for iis 6.0 / 7.0. thanks for all. ...

ASP.NET MVC using IIS6: Block access to single view (register)

Hi, We are using MVC on IIS6. Our site is currently being opened up, but we need to restrict access to the register part of the site, but allow those who can register (i.e. from within our offices) still to sign in and use the site fully. So inside office can access register and all other site. Outside office cannot access register and...

Why are my pages still not gzipped?

With the help of YSlow I'm trying to tune my pages a bit. I thought it would be little effort for big gain to have my pages compressed. After trying everything from here, here, here and here YSlow is still showing my pages are nog compressed. I'm using asp.net mvc 1.0 on IIS6. With the following rules in my global.asax I make sure that...

Two ASP.NET sites sharing application files but with different web.config

Is it possible using virtual directories and/or virtual applications to set up two web sites that share the same application code (aspx pages etc.) but have different web.config files? The sites and code are residing on the same server running on the same IIS. I am using IIS 6. ...

Change the default SqlCommand CommandTimeout with configuration rather than recompile?

I am supporting an ASP.Net 3.5 web application and users are experiencing a timeout error after 30 seconds when trying to run a report. Looking around the web it seems it's easy enough to change the timeout in the code, unfortunately I'm not able to access the code and recompile. Is there anyway to configure the default for either the ...

PassivePortRange problem in IIS6 (FTP)

I'm trying to specify the passive port range for an ftp server running on IIS6 in Windows Server 2003. I've used: adsutil.vbs set /MSFTPSVC/PassivePortRange "5500-5600" I've checked in the metabas file and the changes are applied to it. I can also use: adsutil.vbs get /MSFTPSVC/PassivePortRange and it returns the range I've set. A...