Configuring IIS7.5 with Coldfusion 9.0.1 - iis

I am trying for the past couple of days to configure IIS 7.5 and coldfusion to run on my local machine but I hit a wall.
I have two sites that I am trying to create a run locally but 1 of them is working and the other one does not.
My coldfusion admin is working and I was able to set up my settings (db connections and stuff).
Under IIS management I am creating a site, assign it to the correct folder on my machine set the path as "local.site1.com" and everything runs as it should.
When I am trying to do the same thing for Site2, I'm getting a message from Chrome saying "Oops! Google Chrome could not find local.site2.com"
Any recommendations will be greatly appreciated.

add local.site2.com to your hostfile

Are both sites pointing to the same codebase if so that is difficult to achieve with IIS7 and 7.5?

Related

Connecting Lucee v5.3.8.201 and IIS10.0.19041

I'm trying to convert web sites from Adobe ColdFusion (ACF) to the open source Lucee instead.
My issue is to make sure all my previous ACF work runs without error in Lucee before I upload it to the web. I have been able to install Lucee (v5.3.8.201) with Tomcat9, BonCodeAJP13 and Mod_CFML which I've been assured is what I need to have it all working together so I can test my sites (11 of them at the moment).
However I have some problems that I can't seem to find an answer to. The docs don't cover using a PC as a dev machine if it has multiple web sites on it. And IIS is the old version that's still used in Windows Server not Windows 10.
How do I get to the Lucee administrator What's the address for that? I need that to set up datasources for my sites of they're going to fail on the very first page.
How do I actually make sites defined in IIS10 work through Lucee? I have run the connector and TomCat is running, but the browser doesn't recognise any Lucee pages except the initial "Welcome to Lucee" page.

ColdFusion 2016 Administration page doesn't load on cloned machine

I recently configured and hardened an installation of ColdFusion 2016 + IIS 8 in preparation for a upgrade from CF9. I was able to load all of our web, configure our data sources, and get everything pointed in the right direction. I was able to test that this server was working as expected so we created an image of this machine and loaded it onto another server. We put the cloned machine on it's own IP and gave it it's own domain name in IIS. So here's the problem, the ColdFusion admin pages doesn't work. It works on the original machine, and most of our web apps work on the cloned machine. There are some web apps acting up on the clone machine, but I believe I can solve that issue if I could just get to the CF Administrator page. Currently when we try to reach it at thissite.xyz:8500/CFIDE/administrator we get a blank white page. I created a virtual directory for it in IIS and get the same results.

How can I set up multiple ColdFusion test sites on my local machine using IIS?

I am currently setting up a development machine at my company and I would like to be able to set up a few local sites on this one machine for testing. In order to do so, I am running the following software:
ColdFusion Server 10 (Developer's Edition)
IIS
Everything is installed and I am able to run the default site (from localhost) but I can't figure out, nor can I find how I can set up other sites on this system. I have the files for each site on the local machine. Ideally, I would like to be able to call up each site using a subdomain, such as (http://site1.domain.com, http://site2.domain.com, http://site3.domain.com) where each one points to a separate file base on the local machine.
Can anyone point me in the right direction?
Create the sites in IIS for each site, pointing to its respective web root. Then run the web server configuration tool to hook up the connectors for the sites.
You can find that under {ColdFusion root}/cfusion/runtime/bin/wsconfig.exe (on windows - not sure of the file extension on non-windows machines)
From there you can run the connector for each individual site or you can set it to run the connector for every site.

ElmahR doesnt load properly on IIS

I've been fiddeling around with ElmahR for the last two days and was planning to push it to our dev-playground for testing.
However, it doesnt load properly when running on IIS 7.5
I've fired up the deployed solution on 3 different machines with IIS Express without problems.
On IIS 7.5 it gets stuck at "Loading..." or "Sending Command", depending if it is set up as a sub application under default website or as a standalone webapplication.
The used system is Windows Server 2008 r2 sp1, IIS 7.5 .NET 4 application pool integrated mode. (all 3 machines)
I can't find the problem at hand; hope you can help.
Kind regards.
This is not an answer yet, it should be a comment but I cannot comment here :) I'm the author of ElmahR, I was not aware of the issue, last time I tested it on IIS 7.5 was a while ago and I did not have any problem, I'll have to recheck. Right now I'm not at home but I'll have a look at it when back, possibly before next weekend. And thanks for using it :)
UPDATE: I think I solved the problem, I blogged about it here. Basically, there were a couple of javascript bugs:
in one point I was not correctly setting the root of the application
under IE7/8 a better check about the plugins object was needed (the same code was running fine on IE9/Chrome/Firefox/Safari...)
The online repo is up to date, and the sample setup zipped file too.

IIS 7.5 Does Not Reset

Setup: Windows Server 2008 R2, IIS 7.5
We currently have multiple ASP.NET applications hooked up to the "Default Web Site" site in IIS on a server.
Sites
Default Web Site
aspnet_client
Site_v1
Site_v2
Site_v3
I have recompiled the binary for the site, and copied over the files for "Site_v1", then done an IISRESET command.
My issue is that the web app does not actually reset. Our app logs initialization of certain core objects, and the logs do not show that the app is restarting.
Our current theory is that some user has a browser open to one of the default web sites, and that's preventing me from correctly resetting IIS.
Anyone seen anything like this?
Thanks in advance.
Note: I'm posting this to Stack Overflow and not Super User because this is a problem on a development server. I'd like to solve this as a developer correctly compiling an application, rather than as a sys admin changing server settings. Hope that makes sense.
UPDATE:
From Werner's suggestion in the comments, I deleted the temporary files for Site_v2, but could not delete them for Site_v1. Some process was locking the files. After resetting IIS, Site_v1 was working properly, but not Site_v2.
Superconfused!
MS have stopped support for the IISReset command, which means that your approach is OK, but will not work any more. It works for IIS6.0, but not 7.0 or 7.5.
Ref: http://technet.microsoft.com/en-au/library/dd364308%28v=ws.10%29.aspx
It can be done "by hand" using the GUI, but that is not scripted. I have the same issue, working on an alternative.

Resources