iis

How can I programatically analyze (and change) the configuration of IIS

I'm relatively new to the Windows Server world (coming from *nix land). I'm used to analyzing a web-server's configuration by grepping through an apache config file. Is there an equivalent file/group-of-files for IIS? Lacking that, is there an official scripting interface for IIS? ...

IIS Anonymous user authentication doesn't work with AD credentials

I have an asp.net application directory, and I want to use anonymous authentication in the Directory Sercurity tab. If I use the pre-Windows 2000 style DOMAIN\USERNAME for the username, everything is fine. If I use the AD-style (UPN) [email protected], then I get a 401.1 failed login. I've tried a number of variations, but can't ge...

How do I set LC_ALL and LANG under IIS?

I am trying to run some Perl CGI scripts under IIS. I get the following message : CGI Error The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are: perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LC_ALL = (unset), LAN...

Best practices for memory limits in an IIS app pool

I wanted to know what people used as a best practice for limiting memory on IIS [5/6/7]. I'm running on 32bit web servers with 4GB of physical memory, and no /3GB switch. I'm currently limiting my app pools to 1GB used memory. Is this too low? any thoughts? ...

asmx wsdl loading forever

I have a web service application which has suddenly stopped working. I have enabled directory browsing in IIS, and can view the application directory. I can view the xml files within the application directory, but I cannot view the .config files, nor can I view the wsdls of any of the web services. When I try to browse to http://serve...

Setup error codes on IIS 6.0

I want the IIS server to return HTTP 304 (Not Modified) when a particular file is accessed. How can I set this up? ...

How do I seamlessly compress the data I post to a form using C# and IIS?

I have to interface with a slightly archaic system that doesn't use webservices. In order to send data to this system, I need to post an XML document into a form on the other system's website. This XML document can get very large so I would like to compress it. The other system sits on IIS and I use C# my end. I could of course implemen...

Entity Framework, Compiled Queries and IIS

I am using Entity Framework with my website. To improve performance, I have started to use compiled queries wherever I can, either directly with CompiledQuery.Compile or using ESQL. The performance now is fantastic, that's it, once the queries are compiled. Compiling them takes quite a bit of time on some pages apparently, so the first...

Subversion and using IIS for ASP.NET development

Hi, I'm a total newbie to SVN and haven't been able to find an answer for the following situation. I have an ASP .NET 2.0 web app that I am developing. I am using my local IIS as the development web server (i.e. not the Visual Studio web development server). My development environment is VS2005, Vista, IIS7, TortoiseSVN / AnkhSVN. Visu...

Classic ASP Error Catching - Can it be done directly using an ASP.Net page?

Is it possible to catch ASP errors in ASP.Net (setup custom error pages in IIS) and somehow gain access to the Err oject or something similar like you would using server.GetLastError() in VBScript? Thanks. ...

Which port we can use to run IIS other than 80?

IIS does not work when I start applications like Skype etc since they also uses the port 80. Which port can I use to run IIS other than 80? (8080 does not work) ...

Can't connect to Default Web Site in IIS 6.0

I can't connect to the default web site in IIS 6.0 using localhost or 127.0.0.1 or by server name. When I telnet to port 80 with one of these names, there's no connection. However other web sites are running and I can telnet using any of the ip addresses. I can ping to localhost where 127.0.0.1 is responding. The default web site is run...

IIS7 startup site

I have a Windows 2008 Server with IIS7 on it and a web page running under the name, let's say myApplication. I have a domain name that points to the IP of my server, let's say myApplication.com. In order to access my application I have to enter http://myApplication.com/myApplication. If I write http://myApplication.com/ I arrive to th...

IIS6 serving unregistered MIME Types

I have an IIS6 web server (on Win2003) is having a strange behavior which I guess is some undocumented "feature" ... It serves SVG files (extension .svg) without having it registered on the IIS metabase. It does not have the * mime type either. For this request: GET /basic/file1.svg HTTP/1.1 the response contains HTTP/1.1 200 OK Co...

Determine who/what reserved 5.5 GB of virtual memory in w3wp.exe

On my machine (XP, 64) the ASP.net worker process (w3wp.exe) always launches with 5.5GB of Virtual Memory reserved. This happens regardless of the web application it's hosting (it can be anything, even an empty web page in aspx). This big old chunk of virtual memory is reserved at the moment the process starts, so this isn't a gradual ...

Python FastCGI under IIS - stdout writing problems

Hello all, I'm having a very peculiar problem in my Python FastCGI code - sys.stdout has a file descriptor of '-1', so I can't write to it. I'm checking this at the first line of my program, so I know it's not any of my code changing it. I've tried sys.stdout = os.fdopen(1, 'w'), but anything written there won't get to my browser. The...

Specifying cfhttp referring IP address on shared server

I'm using CFHTTP to post data to my payment gateway (Protx). Protx requires that I whitelist the IP that will send this request. I am hosted on a shared server running Windows 2008. This morning, my hosting company assigned a new IP to this server for a customer who required an SSL certificate. Since then, my CFHTTP post appears to be...

ASP.NET - Recycling App Pools indicative of Larger problem?

Is having to recycle an App-Pool in ASP.NET indicative of a larger problem in the Web-App? Or is this just 'the way things are' for ASP.NET and IIS? Edit: Since one of the errors is an 'OutOfMemory' exception, what would be your suggestions for courses of action? Would you add memory? Profile the app? (It's important to note that I've ...

IE6 sometimes not loading stylesheet

Hi We are having a problem where IE6 (the only browser we have noticed this happening on) seems to be caching an empty version of our main stylesheet. The only way to resolve the problem is to request the stylesheet directly by typing the its url directly into the browser, and then when you refresh the page, it will appear with the sty...

What's the best free resource to learn about Ms IIS?

I usually use IIS in conjunction with the OutSystems development platform, which does code-generation for web applications. As it does the compiling and deployment of the applications to IIS, I end up knowing very little on how it really works, and sometimes it is very useful. Thanks ...