I have successfully installed ColdFusion 10. However my web site won't work without the previous Coldfusion 9 instance running.
It is like CF10 cannot see my IIS web site. I do not get any errors when I try using CF10, it just doesn't render a screen (all blank).
There could be a number of reasons for this, as quite a large number of people seem to be having issues with the upgrade to ColdFusion 10. Based on the information you've provided, it sounds like IIS is still connected to ColdFusion 9 rather than ColdFusion 10.
You can verify this by adding the following snippet to a ColdFusion page to output your ColdFusion version (when ColdFusion 9 is running):
<cfoutput>#SERVER.ColdFusion.ProductVersion#</cfoutput>
If it starts with 9, then IIS is connecting to the old ColdFusion version. If this is the case I would suggest rerunning the ColdFusion connector (for version 10). Instructions for using the configurator are available at http://help.adobe.com/en_US/ColdFusion/10.0/Installing/WSc3ff6d0ea77859461172e0811cdec18a15-7ffb.html but it should be a case of running this (the ColdFusion 10 configurator, not the ColdFusion 9 one), removing ColdFusion from all the IIS sites and then readding these entries in the configurator.
You should then find when loading a page ColdFusion 10 is used. If this doesn't work, you should ensure the ColdFusion 10 service is running review the log files as suggested by Aaron Greenlee.
Related
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.
I have a problem regarding White Screen Of Death (WSOD) at my site.
I will try to explain what I have tried until now.
I know it is not a triviel error to debug, but maybe some of you have tried something similar.
Here is the setup: One Windows Server 2019 v1809 with one IIS: 10.0.17763.1.
Multiple websites with associated application pools.
It's a MVC solution, and we are using .net 4.7.2.
What I have tried:
Recycled application pools every night
Restarted the server every night
Issued a IISReset every night
Deleted temporary files in C:\Windows\Microsoft.NET\
Looked at the IIS logs
Looked at the application log, our own log
Looked at the Windows log
Searched the Internet for similar problems
Made sure there always were some traffic at the website
Made sure no errors were shown when pressing F12 in the browser, the site always returs code 200
The WSOD comes at varies times, and not all the sites are affected at the same time.
A manuel recycle of the website always helps.
My question is, have any of you encounted similar problems?
And how did you solve it?
If you need more information please ask, and I will try to provide it.
/Regards Søren
This kind of problem is very unusual in IIS, because there is almost no record and useful information in the log file.
You can try to use this plan to repair IIS.
Unregister all the versions of ASP.NET with command "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis –ua". and the framework 64 also versions. 3.0 and 3.5... etc
Delete ASPNET account from "Local Users and Group – Users".
reregister ASP.NET with IIS using "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis –i". and framework64... net 3, 3.5 etc
Give permissions to the ASPNET account using "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis –ga machinename\ASPNET". for framework 32 and 64 and versions.
Reset IIS .
Good Day,
I am running into an error that I have never run into before. I have a brand new server (Windows 2016) and I have added IIS 10 to it. I have also installed .net Core 2.1 and 2.2 runtime and SDKs onto the server. When I set up a .net Core 2.1 website, it appears to set up fine, but when I try to click on any of the features in the features view, I get a really generic error message (it happens for any .net Core website I set up). The error is an alert that states: There was an error while performing this operation. Details: [empty] Filename: \\?\D:\Apps\Test\web.config Error: [empty]
I found one place where this question was asked before, but I have IIS Rewrite 2.1, .net Core 2.1 and 2.2 and I have this site set up on another server (test env) and it works perfectly fine there! I have also made sure that IUSR and IIS_User both have read/write capabilities to the folder and every file in it.
Does anyone have any suggestions?
Thank you,
Tim
In my experience, this sort of error normally means there is either something it doesn't like in the web.config (XML element it doesn't recognize) or the web.config is missing.
Normally (for me anyway) this is because I've forgotten to install URL Rewrite as that's pretty much the only "extra" thing I use - but you've got that covered already.
It might be worth checking that the App Pool for the site is configured correctly and running (should be same as your other machine, check the basic settings and the advanced).
The only other thing I can think of, is that you've installed some of the features for IIS through the Windows Features, but not all of them. I sometimes have to go back through the lists and make sure all the right things are definitely checked.
Last step would be to create a real simple little mini site, with just a default page, use the IIS GUI to change some site level settings so it creates its own web.config, make sure it runs, then have a look at the differences between the files.
Hope any of that helps
I have a Windows 7 virtual machine that has ColdFusion 9 installed for development and testing. I need ColdFusion 10 and 11 as well for other projects.
ColdFusion 9 is running perfectly, but when I spin up ColdFusion 10 or 11 and try to use WSCONFIG to configure a site in IIS, I get the following list of sites:
https://www.dropbox.com/s/v7mdgha536shk9t/Screenshot%202015-05-21%2023.29.14.png?dl=0
In reality each site in IIS has a separate name and when I delete a the site that each one is named after, in this case "cfadmin", all of the remaining sites show up in WSCONFIG as another one of the site names.
I have never had this problem before. Can anyone point me in the right direction?
Update:
As suggested in the comments, here are the results when I launched a command prompt as Administrator and ran the suggested command:
C:\Users>%windir%\system32\inetsrv\appcmd list sites SITE "cfadmin"
(id:3,bindings:,state:Unknown) SITE "mccalmon"
(id:1,bindings:http/:80:,state:Unknown) SITE "Virtus"
(id:5,bindings:,state:Unknown) SITE "EMSA"
(id:9,bindings:,state:Unknown) SITE "Classic"
(id:10,bindings:,state:Unknown) SITE "Test"
(id:2,bindings:http/:80:local.test.com,state:Unknown)
All of your site "state" are "Unknown". The problem seems to be with your sites only. If appcmd is not able to identify the correct state, then, ColdFusion will definitely not be able to recognize the same. The sites state would be unknown, if the IIS Server is stopped/shut down.
For e.g, my server shows the below information with the "%windir%\system32\inetsrv\appcmd list sites" command.
SITE "Default Web Site" (id:1,bindings:http/*:80:,state:Started)
SITE "CF9" (id:2,bindings:http/*:81:,state:Started)
SITE "CF10" (id:3,bindings:http/*:82:,state:Stoped)
SITE "CF11" (id:3,bindings:http/*:83:,state:Started)
You can try IISRESET in command prompt to restart IIS. Then, launch the Web Server Config tool as administrator and create the connector.
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.