What pages are you referring to? In the Administrator, or your own web site?
I am referring to the website I support.
Are you using the built-in web server or fronting your site with IIS or Apache?
Turn on your developer tools in your browser and check the network information. Are you getting any error codes for the image files?
Using IIS 7
When the page initially loads, the result on the page is 200 and 304 for the image.
When the page is refreshed, the page load is 200 and 500 for the image.
Sounds like an IIS problem then, not a ColdFusion one. What is the specific 500 error code you are getting? You might need to fumble around with the different content on the network information tab to see the detailed response. What browser are you using?
The Type in the debug is image/jpeg on initial load.
When the page is refreshed the Type is text/html
The problem started after Cold Fusion 11 was installed. This was not an issue with Cold Fusion 9.
Have you applied any of the ColdFusion 11 updates? If so, did you rebuild the web connectors afterward? You might also try downloading the beta of Update 3 to see if it has any effect. See the ColdFusion Blog for details.
The mime type changes seem suspicious. Are the images being loaded using a standard <img> tag or some other way? If via <img>, ColdFusion shouldn't be touching them unless the filename/path is coming from a ColdFusion variable. Have you looked at the IIS logs to see what might be happening during the refresh request?
I have tried to apply the Cold Fusion 11 updates, but it looks like the updates have not been applied.
I have posted questions under the Cold Fusion 11 updates (Security fixes).
Below is image using the <img> tag.
<img src="/BUSDev/images/headergraphicnewbus.jpg" border="0">
I will look in the IIS logs.
The following in the entry in the IIS log:
2014-11-12 19:34:59 10.29.21.71 GET /BUSDev/images/headergraphicnewbus.jpg - 443 - 10.10.224.114 Mozilla/5.0+(Windows+NT+6.1;+Trident/7.0;+rv:11.0)+like+Gecko 404 2 1260 0
So that looks like a 404.2 error, which is "Not Found" and related to CGI/ISAPI restrictions. Also looks like the image is being loaded over HTTPS. When the image first loads fine, is it also being loaded over HTTPS? When you refresh, is any authentication expired?
In any case, this is definitely an IIS issue. You might have more luck getting assistance if you jump on Microsoft Technet for IIS support or on ServerFault.
The site is using HTTPS. I do not see anything expired.
This issue after installing Cold Fusion 11. When Cold Fusion 9 was installed, the images worked fine.
I still don't think this is a ColdFusion issue. However, you mentioned CF9 - did you install CF11 on the same server CF9 was or is on? Did you remove the CF9 IIS connectors then add the CF11 connectors? Have you removed CF9 or just stopped the services?
CF 11 is installed on the same server CF9 was installed on.
I stopped the stopped the CF9 services and removed the CF9.
I did not remove the CF9 IIS connectors.
That could be the problem. The CF9 connectors definitely need to be removed. You'll have to do it manually in IIS.
I could not find any information on to remove the CF9 connectors manually in IIS.
Is there some instructions on how to perform this?
The easiest way is to remove the CF11 connectors temporarily first. Use the CF11 Web Connection Configuration Tool to remove all the connectors. Once that's done, open IIS Manager.
In IIS Manager, click on the server at the top of the Connections pane. In the main pane, open Handler Mappings. Look for the ColdFusion extensions in the "path" column (*.cfc/*.cfm/*cfml/*.cfr/*.cfswf etc.). If you see any, delete them. Then go through each web site configured on that server and check their Handler Mappings. Again, if you see any mapped to ColdFusion extensions, delete them. You might want to restart IIS just to be safe.
Now go back into the CF11 Web Connection Configuration Tool and reconnect to IIS.
I followed the instructions and no .cfc, .cfm, .cfml, .cfr, cfswf appeared in the Handler Mappings.
I restored the environment back to Cold Fusion 9 and started to install the Cold Fusion 11 process again.
The Cold Fusion 9 Handler Mappings were manually deleted after Cold Fusion 9 was deleted prior to installing Cold Fusion 11.
After installing Cold Fusion 11, the website appears with the image the first time the page is loaded but when it is refreshed the image disappears.
I checked to see if the .cfc, .cfm, .cfml, .cfr, cfswf appear in the Handler Mappings. They do not appear.
The Update 2 patch has not been installed.
The fact that you don't see handler mappings after installing ColdFusion 11 indicates that either you didn't run the Web Server Configuration Tool (WSCONFIG), or you didn't run it "As Administrator". Not only should you have handlers, but you should also have the "Jakarta" and "CFIDE" virtual directories added to your web site(s) in IIS.
I would suggest installing the Update 2 patch before running the WSCONFIG tool so that you won't have to go back and rebuild the web connectors after the update.
The installation was run "As Administrator". During the installation, the screen that comes up when manually running WSCONFIG appeared in the "Configure Web Servers/Websites" screen during installation.
I will be installing the Update 2 patch and then executing the WSCONFIG tool manually.
I have installed the Update 2 "As Administrator" and manually executed WSCONFIG.
The Cold Fusion extension still do not show up in the Handlers Mapping.
I opened the webconfig file for the website and for example the .jsp still points to the following:
<add name="jspHandler" path="*.jsp" verb="*" modules="IsapiModule" scriptProcessor="C:\JRun4\lib\wsconfig\jrun_iis6.dll" resourceType="Either" responseBufferLimit="0" />
Where in the Cold Fusion 11 directories would the .cfc, .cfm, .cfml, .cfr, cfswf point to?
Possibly create a manual entry in webconfig file?
You should not have to manually add entries in webconfig. Something has gotten borked along the way here.
You should not run the WSCONFIG during ColdFusion installation (you should choose to install the built-in webserver only). Then once the appropriate updates have been installed, run WSCONFIG "As Administrator".
That "jspHandler" should have been removed when all the other ColdFusion mappings were removed. Is that entry in the server's config or a specific site's web.config file?
If things are that messed up, you might want to uninstall and reinstall IIS to clean out all of the config settings, then try connection ColdFusion again.
The "jspHandler" is in the specifc site's webconfig file.
During Cold Fusion 11 installation, the "Configure Web Servers/Websites" screen shows the following options:
All IIS Websites
Configure specific IIS website or entire web server
Built-in web server (development use only)
Configure WebSocket Proxy to selected web server/websites
The "All IIS Websites" is selected by default.
I only selected the Next button on the "Configure Web Servers/Websites" screen.
I looked in the Release Notes file. It mentions the following:
3676569 - The batch files available in the cfusion/bin/connector directory may not work out of the box. The scripts are provided only for reference.
I will have the admin uninstall IIS and reinstall. Then I will execute the WSCONFIG manually.
I had IIS 7 uninstalled and reinstalled.
I installed the ASP.Net, .NET, ASP, CGI, ISAPI Extensions and ISAPI Filters in the Select Role Services for IIS.
Now the website returns a 404 File or Directory not found when trying to bring up the web page.
I executed the WSCONFIG.
Also, the Handler Mappings (.cfc, .cfm, .cfml, .cfr, cfswf) still do not show the in the webconfig file for the website or in the Handler Mappings for the website.
Just to confirm, when you run WSCONFIG, you do it with right-click and "Run As Administrator" rather than just clicking the icon from the Start menu?
Yes. I did execute the WSCONFIG as "Run As Administrator".
When you ran WSCONFIG this time, did you do "All IIS Websites" or pick individual web sites?
Also, are you actually logged in with the local Administrator account or an account that has Administrator privileges?
Executed WSCONFIG for All IIS Websites.
As far as I know my login has Administrator privileges.
Take a look at the \ColdFusion11\config\wsconfig\wsconfig.log file. Any errors in there?
What does the wsconfig.properties file in that same folder look like?
Below is what is in the wsconfig.log file:
# Created by ColdFusion on 11/24 07:51:38
11/24 07:51:38 info Tomcat Connector
11/24 07:51:38 debug Created file D:\ColdFusion11\config\wsconfig\cfwin32.dll
11/24 07:51:38 debug Created file C:\Users\xxxx\AppData\Local\Temp\2\\ExecuteAppCmd\ExecuteAppCmd.exe
11/24 07:51:38 debug command line: -ws IIS -site 0 -cfide D:\ColdFusion11\cfusion\wwwroot\CFIDE -v
11/24 07:51:38 debug Created file D:\ColdFusion11\config\wsconfig\1\isapi_redirect.dll
11/24 07:51:40 debug Created file D:\ColdFusion11\config\wsconfig\1\README
11/24 07:51:40 debug Wrote file D:\ColdFusion11\config\wsconfig\wsconfig.properties
11/24 07:51:42 info Stopped "World Wide Web Publishing Service" service
11/24 07:51:43 info Started "World Wide Web Publishing Service" service
11/24 11:10:11 info Tomcat Connector
11/24 11:10:31 info Stopped "World Wide Web Publishing Service" service
11/24 11:10:32 info Started "World Wide Web Publishing Service" service
11/24 11:22:32 info Tomcat Connector
11/24 11:28:25 info Tomcat Connector
11/24 11:28:42 info Stopped "World Wide Web Publishing Service" service
11/24 11:28:43 info Started "World Wide Web Publishing Service" service
11/26 11:43:21 info Tomcat Connector
11/26 11:51:48 info Tomcat Connector
11/26 11:52:12 info Tomcat Connector
11/26 11:52:57 info Stopped "World Wide Web Publishing Service" service
11/26 11:52:58 info Started "World Wide Web Publishing Service" service
11/26 14:34:51 info Tomcat Connector
11/26 14:35:06 info Stopped "World Wide Web Publishing Service" service
11/26 14:35:07 info Started "World Wide Web Publishing Service" service
11/26 14:42:40 info Tomcat Connector
11/26 14:43:06 info Stopped "World Wide Web Publishing Service" service
11/26 14:43:07 info Started "World Wide Web Publishing Service" service
11/26 14:43:37 info Tomcat Connector
11/26 14:43:53 info Stopped "World Wide Web Publishing Service" service
11/26 14:43:54 info Started "World Wide Web Publishing Service" service
11/26 14:44:46 info Tomcat Connector
11/26 14:45:00 info Stopped "World Wide Web Publishing Service" service
11/26 14:45:01 info Started "World Wide Web Publishing Service" service
11/26 14:45:36 info Tomcat Connector
11/26 14:45:43 info Stopped "World Wide Web Publishing Service" service
11/26 14:45:44 info Started "World Wide Web Publishing Service" service
11/26 14:45:57 info Stopped "World Wide Web Publishing Service" service
11/26 14:45:58 info Started "World Wide Web Publishing Service" service
I do not know why it is showing Tomcat connector: We are using IIS on a windows server.
Below is the Cold Fusion install code name:
Below is what is the wsconfig.log file for CF9 (that works)
# Created by JRun on 05/22 08:53:15
05/22 08:53:15 info Macromedia JRun 4.0 (Build 108858)
05/22 08:53:15 debug Created file C:\JRun4\lib\wsconfig\jrunwin32.dll
05/22 08:53:15 debug Created file C:\Users\xxxx\AppData\Local\Temp\\ExecuteAppCmd\ExecuteAppCmd.exe
05/22 08:53:16 debug Found JRun server cfusion at 127.0.0.1:2904
05/22 08:53:16 debug Found JRun server admin at 127.0.0.1:2910
05/22 08:53:18 debug Created file C:\JRun4\lib\wsconfig\1\jrun_iis6_wildcard.dll
05/22 08:53:18 debug Created file C:\JRun4\lib\wsconfig\jrun_iis6.dll
05/22 08:53:18 debug Registry key SYSTEM\CurrentControlSet\Services\HTTP\Parameters, value EnableCopySend set to 1
05/22 08:53:18 debug Created file C:\JRun4\lib\wsconfig\1\jrun_iis6_wildcard.ini
05/22 08:53:18 debug Created file C:\JRun4\lib\wsconfig\jrun_iis6.ini
05/22 08:53:20 debug Created file C:\JRun4\lib\wsconfig\1\README.txt
05/22 08:53:20 debug Wrote file C:\JRun4\lib\wsconfig\wsconfig.properties
05/22 08:53:22 info Stopped "World Wide Web Publishing Service" service
05/22 08:53:23 info Started "World Wide Web Publishing Service" service
05/23 08:05:12 info Macromedia JRun 4.0 (Build 108858)
05/23 08:08:57 info Stopped "World Wide Web Publishing Service" service
05/23 08:08:58 info Started "World Wide Web Publishing Service" service
Below is the Cold Fusion and Java version in the install:
Server Product ColdFusion
Version 11,0,02,291725 (NOTE: This includes the Update 2 patch)
Operating System Windows Server 2008
OS Version 6.0
Update Level /D:/ColdFusion11/cfusion/lib/updates/chf11000002.jar
Adobe Driver Version 5.1.1 (Build 0001)
Java Version 1.7.0_51
Java Vendor Oracle Corporation
Java Vendor URL http://java.oracle.com/
Java Home D:\ColdFusion11\jre
Java File Encoding Cp1252
Java Default Locale en_US
File Separator \
Path Separator ;
Line Separator Chr(13)
User Name xxxxxx
User Home C:\
User Dir D:\ColdFusion11\cfusion\bin
Java VM Specification Version 1.7
Java VM Specification Vendor Oracle Corporation
Java VM Specification Name Java Virtual Machine Specification
Java VM Version 24.51-b03
Java VM Vendor Oracle Corporation
Java VM Name Java HotSpot(TM) Server VM
Java Specification Version 1.7
Java Specification Vendor Oracle Corporation
Java Specification Name Java Platform API Specification
Java Class Version 51.0
"Tomcat Connector" is the name of the connector that ties ColdFusion to IIS. Starting with CF10, ColdFusion no longer runs on top of JRun for it's Java Servlet container; instead, it runs on Tomcat.
I don't see any errors in that log. Can you show your wsconfig.properties file?
Also, you might try installing the beta of Update 3 to see if it resolves your issues. You can find out how to get it here: http://blogs.coldfusion.com/post.cfm/coldfusion-11-update-3-is-available-for-early-access. Adobe has already refreshed the beta update a couple of times with tweaks and fixes, and a fresh one was released this morning.
Below is the wsconfig.properties file:
#ColdFusion Web Server Configuration File
#Mon Nov 24 11:28:38 MST 2014
Not sure if this is an issue as I'm on 64-bit OS/Java and you appear to be all 32-bit, but...
The first line for each site (such as 1=IIS,0,true,"",bitness32 ) has a zero following the IIS part in your properties file, while mine has a unique number for each site (but it's not always the same number as the one at the very beginning of the line).
Again, I suggest downloading the beta Update 3, installing it, and rebuilding the connectors to see if it fixes your issue. There are several IIS connector issues that are supposedly fixed in the update.
Is there a URL to obtain the update?
I am unable to download the update in the Cold Fusion administrator.
The procedure for getting the update is in the blog post I linked to in an earlier reply. It's very easy to do (I've installed 2 or 3 of the beta releases).
I went to the See the ColdFusion Blog
I subscribed to the Cold Fusion Updates.
I then selected the Download and Install in the Cold Fusion Admin Server Update section.
I did not see anything happen.
Is there anyway to download the update/s outside of the Cold Fusion Admin?
I subscribed to the Cold Fusion Updates.
Do you mean that you changed the updater URL to point to the beta update provider instead of the normal update URL?