iis

How to setup CF9 with IIS7 (multiple instance, virtual hosting by hostname)

I'm used to setting up CF9 (Dev edition) on my Windows using Apache. I would like to try using IIS7 that comes with Win7 Pro. What are the steps to set it up so that I can have: www.siteA.dev www.siteB.dev Both of these point to 127.0.0.1 via windows host file. I would like siteA.dev & siteB.dev to use 2 different CF instances. I ...

Forms Auth requireSSl and Https

If my login pages are https, does it matter if "requireSSl" is true in the forms tab of the web config? Currently I am redirecting pages with IIS to HTTPS. When I set requiressl it seems to cause problems. Can someone put the two settings in perspective. thanks ...

IIS: https://mysite.com switches to http://mysite.com:443 after form submit

I have a .net 3.5 site with "require SSL" option checked. After submitting any form I got a message "The page contains both secure and nonsecure items" and if I click "yes", it changes the url from "https://mysite.com/..." to "http://mysite.com:433/...". Does anyone know what can be the problem? Edit: this happens only when I submit p...

Get directory listing in IIS when default document exists

Is it possible to get directory listing in IIS when the default document already exists in that directory, and directory browsing is enabled ...

Extract response header value in IIS logparser

I'm using IIS LogParser 2.2 & I want to get the value of a particular response header. Is there a function I can use in the query to extract the value of one http response header out of the responseHeader field? I'm currently doing this, which is really ugly: substr(ltrim(extract_suffix(responseHeader, 0, 'headername: ')), 0, index_of...

Modx error page won't display

I've developed a site in modx but after migrating it to the live server if I enter a page that doesn't exist (eg http://mysite.com/index.php?id=5) I'm getting the default IIS error page rather than the page specified in Tools->Configuration->site->Error page Any idea why this could be happening? For the record I developed on Apache bu...

Cannot install 32-bit app on Server 2008 R2 64-bit using asnet_regiis.exe

Hi guys, Currently I have a set of web applications that need to be installed (using IIS). They can only run in 32-bit mode so requires IIS to be set to run 32-bit apps. The steps that we've taken to do this work for server 2003 64-bit, and 2008 64-bit, but does not work on server 2008 R2 64-bit. I've spent many hours on this and I'm st...

IIS6: When an app pool is recycled, is Session_End called?

I need to know because I have to explicitly close some remote resources that are tied to the user's session. ...

Publishing my Website to my Local Disk Causes Exceptions to show Paths including my Local Disk

I've published my website many times. But didn't think about this though until I came across this issue. So I decided to publish my WAP project to a local folder on my C drive first. Then used FTP to upload it to my shared host on discountasp.net. I noticed during runtime that the stack trace was referencing that local folder still a...

IIS, Web services, Time out error

Hello, We’ve got problem with ASP.NET web application that uses web services of other system. I’ll describe our system architecture: we have web application and Windows services that uses the same web services. - Windows service works all the time and sends information to these web services once an hour. - Web application is designed fo...

Render ASP in pages with .html extension in Windows CE

I want to be able to use the .html extension to render ASP pages. I am using Windows CE 6 at the moment with the default web server, ASP is turned on. My registry key looks like HKEY_LOCAL_MACHINE\COMM\HTTPD\ScriptMap with the following string key value pair added .html = \\Windows\\asp.dll. After doing this all my .html files gave...

ASP.NET MVC: How to serve content while returning status code 404?

I would like to serve a user friendly "not found" page in my ASP.NET MVC application while providing a 404 status code. (based on this answer) I already have the mechanism how to catch an invalid route and the custom 404 page is served by my ErrorController/Handle404 action. My current implementation of Handle404: public ActionRe...

Can I get LogParser 2.2 to export into MySQL?

I've got an IIS site running with a MySQL db. Is there a way to get logparser to export into a MySQL database? ...

Uploadify (flash file upload) & Integrated Windows Authentication

Hi guys I'm running into an issue with Uploadify and I hope someone can help. I have put Uploadify into my app and all works fine in dev (using the VS web server). All worked fine and checked until I deployed the app into my test environment which uses Integrated Windows Authentication. When I actually go to upload the file, the brows...

What will happened to server request if client suddenly close it's connection.

If I have a page that takes some amount of time to process, and suddenly the client closes it's connection (network disconnect, browser closed, etc), what will happened to the processing operation on the server side? Is it get canceled automatically or it continues to process, and then stop right before rendering? ...

How to configure IIS to serve my 404 response with my custom content?

This question is related to this, hopefully better phrased. I would like to serve a custom 404 page from ASP.NET MVC. I have the route handler and all the infrastructure set up to ensure that nonexistent routes are handled by a single action: public ActionResult Handle404() { Response.StatusCode = 404; return View("NotFound"); ...

IIS 7 Website Migration & Configuration

Hi - I am in the process of migrating an existing webserver running IIS 6 to IIS 7. I have setup the new websites on the new server but cant seem to test them as once I have entered the domain name when I selec t "browse" from within IIS 7 I get the site on my original server. How can I test the configuration of my new sites on my new ...

A generic error occurred in GDI+ - permissions

When I attempt to save an image file to a virtual directory I get "A generic error occurred in GDI+." This seems to be a permission issue, because during the debug process, I changed the file path to my local hard drive and was able to save the file. The virtual directory is running under a specific domain account, with full control g...

IIS 5.1 virtual directory usage gives "The referenced account is currently locked out and may not be logged on to" for server-side include

I am attempting to use a virtual directory on my Windows XP machine that has IIS 5.1 installed. I have configured the virtual directory as "When connecting to this resource, the content should come from: A share located on another computer." I typed the network directory in the box (ex. \comptername.companyname.com\sharename), and in t...

Is it possible to use Integrated Windows Auth when Server isn't on the domain?

Our production web servers ARE NOT part of the domain, but we'd like people to be able to log in automatically since they are logged into the domain on their PC. Is there anyway to get the browser (IE7+) to send the appropriate information to the server (IIS6) so I can retrieve the ServerVariables["AUTH_USER"] or ServerVariables["LOGON_...