iis6

What is the most common way to front end tomcat with iis6

I want to run a few tomcat web apps behind IIS 6. I was wondering what the most common way that this is accomplished. I have done this with Apache using the AJP connector and using HTTP proxypass. Is this done the same way with IIS 6? Thank you. ...

Monitoring ASP/COM+ application performance in Windows 2003/IIS 6.0

We are running a website using Active Server Pages & COM+ components. The ASP pages call COM+ components which in turn communicates with external systems and respond to ASP page requests. We find that the application becomes slow over a period of time and requires restarts (like in couple of days). The website runs on good hardware and ...

Classic ASP - IIS 5 to IIS 6 migration causes image caching problems?

Apologies in advance for the long-winded question. I'm really a database programmer, but have inherited support of a classic-ASP intranet application which has recently been migrated from IIS 5 to a new server running IIS 6. The user-base is about a dozen, all using IE 6. The UI displays hierarchies of items returned from a database, u...

What is Cassini's (aka VS Dev Server) stack limit?

I'm running into a StackOverflowException (please don't ask, it's not my fault) in IIS6/2k3 which has a limit of 256k, but the exception doesn't happen in the VS debugger. As a matter of understanding I'd love to know, but have failed to google what the stack limit of Cassini is...if indeed it has one? ...

IIS SMTP: Exceeded storage allocation response

Hey all. We're sending quite a few emails (around 23k) using IIS6 SMTP service and receive about 7-8 error messages each time. The stack trace is: System.Net.Mail.SmtpException: Exceeded storage allocation. The server response was: 4.3.1 Session size exceeds fixed maximum session size at System.Net.Mail.DataStopCommand.CheckRespons...

Error handling implemented by IHttpModule doesn't work in IIS6, works in IIS5.1

Hi, I implement common error handling by using IHttpModule. Locally on my machine with WinXP it works like a charm. Once I upload solution on our test server, which is W2003 it doesn't work. Once an error occurs it displays directly in an asp.net error page. It doesn't process using my error module. Any suggestion most welcome....X. ...

ASP.NET-MVC (IIS6) Error on high traffic: Specified cast is not valid

...

How do I resolve synciwam.vbs error 1B6?

I'm trying to migrate a website from Windows 2000 to Win2k3 using the IIS 6 Migration Tool. I'm getting a bunch of 404s on content. A popular theory is that my IWAM account is out of sync with the IIS metabase, and to run synciwam to fix it. However I'm getting this 1B6 error and the only link I haven't chased in google (that's obviou...

Windows 2003, IIS6 Webservice login problem

Environment: win2003 running IIS6 serving asp pages that call delphi code. Delphi code contacts a c# webservice for which it needs to login (login.asmx). Webservice logs show login is successful. Debug results show that Context.User.Identity.IsAuthenticated returns true. After login, delphi code doublechecks if it is still authenticate...

Control a service on a remote server from IIS

Please note: In each step I describe below I'm logged in as the same domain user account. I have a web application that controls a service on a remote machine (via ServiceController). When I connect to the website remotely and attempt to control the service, I get an InvalidOperationException: Access is denied. I know it CAN work, b...

IIS 6.0 wildcard mapping benchmarks?

I'm quickly falling in love with ASP.NET MVC beta, and one of the things I've decided I won't sacrifice in deploying to my IIS 6 hosting environment is the extensionless URL. Therefore, I'm weighing the consideration of adding a wildcard mapping, but everything I read suggests a potential performance hit when using this method. However, ...

Can I set the process title for IIS6's w3wp.exe?

In Visual Studio's "Attach to Process" dialog I can see a Title column for each of the processes available. Is there any way for me to set the title for a specific w3wp.exe process to reflect the application pool it's hosting? PS - I'm aware of iisapp.vbs and the way it enables me to identify which w3wp.exe belongs to which application ...

Changing IIS6 Site Home Directory with Powershell (answered)

I'm trying to change a site's home directory using powershell. This is what I have so far, but it isn't saving the changes... $server = "localhost" $siteName = "mysite" $iis = [ADSI]"IIS://$server/W3SVC" $site = $iis.psbase.children | where { $_.keyType -eq "IIsWebServer" -AND $_.ServerComment -eq $siteName } $path = [adsi]($si...

How can I get a header that will work with IIS 6, 7 and Apache?

Hello all, I am trying to get a header that will work with Apache, IIS 6, and IIS 7. I won't go into the reason for that here. Let's just say that it's not as easy as I thought it would be :-) Anyway, the problem has something to do with NPH. In our code (originally written for IIS 6) we have use CGI qw(:standard); print "HTTP/1.0...

Get IIS6 to serve JSON files (inc. POST,GET)?

By default, IIS6 does not serve .json (no wildcard MIME type). Therefore a 404 not found is thrown. I then add a new MIME type (.json, text/plain or application/x-javascript or application/json) which works fine. However, when you then add a new mapping (Home Directory -> Configuration -> Add) with .json, C:\WINDOWS\system32\inetsrv\as...

How to detect what Application Pool I am currently running under? (IIS6)

I need to know how I can detect the current application pool I am running under, so I can do a Recycle on it programmatically. Does anyone know how to do this for IIS6? My current code for recycling the app-pool is: /// <summary> /// Recycle an application pool /// </summary> /// <param name="IIsApplicationPool"></para...

ASP.NET URL rewriting for DB query from URL content without extension

I am trying to create a very simple ASP.NET application that presents information out of a datbase based on the URL, similar to a wiki, but in this case the site is read-only. An example of a url I'd like would be: http://www.foo.com/bar and then it would use "bar" as a SQL query parameter to show information from a database that matc...

Accessing scripts inside IIS virtual directory

I have an IIS 6 server with a virtual directory pointing to a network share on another machine. That web server also serves ColdFusion scripts. When I access regular HTML pages that reside in the virtual directory, they are served properly. Anytime I try to get to a ColdFusion script, however, ColdFusion throws a "File not Found" error. ...

Some images do not load under http, but do under https

I've come across an issue where some images on a site load under https but do not load under http. For example if you go to https://www.mydomain.com/myimage.gif, the image appears fine, but if you go to http://www.mydomain.com/myimage.gif the image comes back with a not found error. This happens to only certain images. Other images lo...

WCF Service hosted in IIS6 gets 404 in Production

I have built a simple WCF Service and deployed it to IIS6, and I'm noticing that it works in my Dev and Staging environments, but not Production. Every time I try to hit the service metadata link, I get a 404 page. I've checked IIS config everywhere I can think of and they're identical, so the only difference I can think of is that the...