iis

Enable IIS7 gzip

How can I enable IIS7 to gzip static files like js and css and how can I test if IIS7 is really gziping them before sending to the client? Thanks! ...

Will this WCF setup work?

I'm rather new to the WCF/IIS/MS web stack corner of the world so I'm hoping for some help evaluating my design. What I need is a system that presents a number of resources as URIs. Each resource is a WCF web service providing a number of read and write operations. I need to provide username/password security for different resources. ...

Translating an Apache .htaccess file to an IIS web.config

Hello there, I developed an application on my local using PHP, MySQL and Apache and it has a .htaccess file containing this: #Setting the default handler. DirectoryIndex home.do <IfModule mod_mime.c> #Supporting .do extensions AddType application/x-httpd-php .do </IfModule> <IfModule mod_rewrite.c> #Removing .do file ex...

IIS7 file mappings - .asax, .ashx, .asap

Hello, IIS enables us to also configure Asp.Net file mappings. Thus besides aspx, IIS also invokes Asp.Net runtime, when requests have the following file extensions: a) .ascx --> .asmx extension is used to request user controls. Since user controls can’t be accessed directly, how and why would anyone send a request to a user con...

Type or namespace not found for user control.

Tonight I copied an ASP 2.0 web site onto a client's machine, and lo! It did not work. It works perfectly on mine, under built in debugger and under IIS 7, and two weeks ago, it worked perfectly on his machine under IIS 6. The only changes I have made are upgrading telerik RadGrid etc. to Q1 2009, and some refactoring. The applicatio...

What is a good benchmark test for load testing a production system running IIS?

I've noticed a few posts regarding stress testing IIS, but I'm more interested in knowing a good way to establish a bench mark of what my physical web server can handle. I'm working on a production system right now that seems to be slowing to a near halt on a daily basis, and no one can seem to figure out what is causing the issue. Thi...

NAnt Web Application Deployment

Good day. I'm trying to deploy a web application using NAnt. It is current zipped using the NAnt ZIP task. I can try calling MSDeploy from NAnt but I don't think MSDeploy was written for such deployments. I can also try using NAnt task. Does anybody have suggestions as to what approach can save me the most time? ...

Django working under IIS7

Hi all, has someone a detailed description (if any) of a working installation of Django on Windows under IIS7? Already looked at PyISAPIe, etc. (and relative sites, groups, forums) but all description are somewhat inaccurate and until now I've been unsuccesful. The apparently fastest solution(PyISAPIe) seems to have some bugs as from the...

BackgroundWorker Thread in IIS7 - FAIL!

Just wondering if anyone has had any trouble using a BackgroundWorker Thread in a site running under IIS 7 in Integrated Pipeline mode? I am trying to use such a beast to update the database schema (admin function, obviously), and it works perfectly in Cassini, but when I deploy to IIS 7, the thread gets about one line of code in and si...

IIS OpenLDAP

Is it possible (and how) to have IIS check users against an OpenLDAP server? ...

Diagnosing 404 errors on IIS 7 and ASP.NET MVC

I have an mvc app developed and tested with Cassini. Deployed to my site on GoDaddy, and the default page comes up fine. Click to log in, and I get a 404. I'm running under IIS 7 there, so this is unexpected. My routes are pretty plain: routes.IgnoreRoute("{resource}.axd/{*pathInfo}"); routes.MapRoute( "Def...

ASP.NET/IIS equivalent of Java/WAS context-root

In Java on WebSphere Application Server if I want my servlets, etc., to start with a certain root path, I use the context-root property in the EAR deployment descriptor (application.xml). For example, my servlet is named GetData, but I want the URL to be www.mysite.com/secure/restricted/GetData, so I set the context-root to secure/restri...

Resources for application pool

I have 2 websites on same IIS pointing to the same codebase as they are white label site. Now should I create app pool for each website or should I use the same app pool for both? I am concerned of resources on that server. ...

How do I find out which request path is missing in a 404 error handler in iis7?

I am trying to create a custom error handler in iis 7. web.config httpErrors section: <httpErrors> <remove statusCode="404" subStatusCode="-1" /> <error statusCode="404" prefixLanguageFilePath="" path="/path/to/handlerwebservice" responseMode="ExecuteURL" /> </httpErrors> web.config httpHandler to handle error: <add path="*/...

I I want to do Deploy of the site (I made in Visual Web Developer Express Edition) to IIS.

I'll make a homepage with 2,008 Visual Web Developer Express Edition I set WebSite1/AppData /Default.aspx /Default.aspx.vb /web.config , and anything completed build without an error. How do I have to deploy IIS server? ...

Visual Studio 2008 with ASP.NET 3.5 debuging using attach to process is not working

Hi, I am so used to attach a process when debugging ASP.NET application in .NET 2.0 and VS.NET 2005. I don't know what happened to this functionality in VS.NET 2008. I also don't want to do debugging by starting from the start page because when the application is big enough you don't want it to be compiled and you sometimes cannot catc...

Error "Microsoft SQL Native Client error '80040e37'"

After moving my database and web site for another server I got the error Microsoft SQL Native Client error '80040e37'. The problem occurs in a query inside an asp file that do not have schema.tablename, only tablename. But I do not want to include "schema" in all queries right now. All updates were installed and the default schema...

Subdomain to point to subdirectory of main site?

I have my website running at: www.example.com I also have this other domain: www.example.net Is it possible to point "www.example.net" to a subdirectory of "www.example.com"? For example: www.example.net-> www.example.com/other ? It's not just a redirect, I need to serve the pages and see "www.example.net" in the user'...

IIS7 not gziping all static files

Hi, I enabled gzip in IIS7, and it works for some files, but others don't... I'm using httpwatch and I can see that some .js files are being gziped but others don't, they get gziped after I manually request for the files 3 or 4 times, then iis gzips it... Is this a normal behavior? How can I make it gzip all the static files? thanks!...

Potential downtime during MSI upgrade

I'm considering deploying websites to an Win2k3/IIS6 machine using a MSI built with WiX. The website in question has a collection of .html, .jpg, .js, .swf & .asp files (no ASP.NET) I'm doing a "Major Upgrade" when installing the MSI (i.e, it first uninstalls the old MSI, then installs the new MSI). This is the only way I can figure t...