ColdFusion10 Developer and Windows7 (IIS7.5) - iis

I am trying to learn ColdFusion and have installed the developer edition (CF10) on my Win7 computer and this brings up the localhost administrator page correctly but I have a test helloworld.cfm file in inetpub/wwwroot and when I try & access this with localhost/helloworld.cfm windows opens a dialogue box saying what program should open this .cfm file?
(in IIS Mime type there is none for .cfm & when I tried to add one it didn't work...).
Several posts on the internet say ensure IIS has CGI enabled and ISAPI Extensions
IIS Metabase and IIS 6 configuration compatibility which I have.
I'm not sure what is wrong here-can anyone advise me clearly & simply if I can view and use .cfm in IIS & how?

We know IIS is the problem because your administrator works, so CF is running correctly.
What I do is the following
create a site in IIS, just basic. no setting changes
install coldfusion 10
During install coldfusion will ask me if it has to configure all current IIS sites
if you let it do that, it should all work like a charm.
Did you do it like this?

I would uninstall and re-install as something must have gone wrong connecting IIS to COldFusion

CF10 does not require the IIS 6 compatibility. If you don't need that for any other web technology connections, then remove that. You do need CGI, .Net Extensibility, ASP.NET, ISAPI Extensions and ISAPI Filters. I believe the connector configurator for ColdFusion especially uses the .Net Extensibilty to "wire things up".

Related

Setting up Coldfusion 10 with IIS - Unable to configure IIS connector

I'm trying to setup Coldfusion to work with IIS on my Windows 8 laptop. I have installed the ISAP filter and extensions along with the CGI extension but when I run the wsconfig and add the web server it then throws the error "Unable to configure IIS Connector". What can I try next? I've made sure they're all enabled in the IIS manager also.
The coldfusion 8 webserver configuration tool states that it is compatible until IIS 7. This is probably why it fails to add the handler mappings for IIS 8.
I found that by uninstalling coldfusion and re installing worked, that way in the setup it was able to identify what web servers were currently running and give me the option to configure coldfusion with IIS. Hope this helps someone else too

Webmatrix - URL rewrite module

Does anyone have any experience with creating URL rewrites in Webmatrix? Because it uses IIS Express instead of IIS 7, there's nowhere for me to create these rules.
I am deploying to IIS 7 on my production server, so if I need to do any rewrites, I need to make them directly in production to test.
Is there any way I can switch to using IIS instead of IIS Express on my local machine?
I have tried a few things to get local IIS working, but to no avail.
You can install IIS on a Windows 7 or Windows 8 machine by going to Control Panel -> Programs and Features -> Turn Windows features on or off. Make sure to install enough of the components to get a WebMatrix site working - ASP.NET & the management console for certain.
You can then create a virtual server for the directory your project is in and use the IIS management console to play around with URL rewriting. You may need to install the UrlRewrite module using the MS Web Platform Installer, available here:
http://www.microsoft.com/web/downloads/platform.aspx
If you need more help getting your local IIS working, give me some more information on how far you've got and I'll try and extend my answer.

HTTP Error 404.17 - Not Found (.Net 4)

I've just got a new server setup on Windows 2008 Web edition. I'm trying to set the first asp.net 4 application up on it but am having nothing but problems.
The latest is that I'm getting the 404.17 error, which says "the requested content appears to be script and will not be served by the static file handler.".
I've done a lot of research on google but most suggestions seem to be to run aspnet_regiis -i to install asp.net 4. I've done this several times both on the Framework and Framework64 folders, but with no success.
I tried changing from the default application pool to a .net4 application pool, which appeared to work at first and I instead got a server error to do with permissions. I fixed that, and immediately the 404.17 error returned.
Other suggestions I've read say to go into the "turn windows features on and off" and make sure .net 4 is selected there under IIS. However on this server clicking "turn windows features on and off" takes me to the standard windows 2008 server manager. I click "add features" there, and only ".NET Framework 3.0 Features (Installed)" is listed and selected. .NET 4 isn't shown there, yet it is selectable through the application pools.
What else can I try to get the website running as I'm at a complete loss now. Its annoying because my old server was easy to manage - I did it all through the server itself without a control panel (Windows 2003), now on my new server I have to manage most of it through Plesk because there is no dns.
Any help would be much appreciated.
I too had the same problem but solved it with simple solution. My program was in framework 4.0 but in application pool was mapped to framework 2.0.
Just changed the frame work in application pool to 4.0.
It worked.
I've finally figured out the problem, and it was to do with Plesk itself.
After delving through some of the thousands of links throughout the plesk control panel I found a page for "Website Scripting and Security". Under there it was set to .NET 2.0. However, even though I'd installed .NET 4 on the server, Plesk didn't know about it. Although the application pool I'd set the website to run under through IIS was .NET 4, it still wouldn't work for some reason.
I then found another page under "tools and settings" for server components, and on that page is a refresh button. Hit that and it suddenly realised that .NET 4 was installed, went back to the website scripting and security page, selected .NET 4, and hey presto, I got a server error (never have I been so glad to see a server error).
I then just had to give the application pool identity read access to the web folder, and the website worked.
I wish I'd paid an extra £15 per month for Windows 2008 Standard edition now so I could manage it all manually without Plesk.
Ensure that you are running this application under a Virtual Directory, also ensure that your IIS has ASP, ASP.Net, ISAPI Extensions And Filters, Static Content installed.
Change the .net framework from 'plesk' panel:
go to Domains
select then domain
Go to 'Domain and Websites & Domains'
Hide Advanced Operations
Go to 'Asp.net Settings'
Go to 'Change Version'
select 4.0
If you don't have the 4.0 option then you must install the framework on your server first.

Missing inetmgr.exe file

I'm a newbie here and have found some of the material really useful. However, I can't seem to resolve this issue: I'm running Windows 7 Professional and don't have an inetmgr.exe file in C:\Windows\System32\inetsrv. I have a number of iis... files but no inetmgr.exe file.
The bigger picture is that I'm trying to get Apache and PHP working on my laptop and am going round in circles trying to get Localhost to work. I keep getting "Webpage cannot be found" and searching the net has led me to believe the inetmgr.exe file might be key to resolving the problem. That and port 80 might be involved somewhere....
In case you haven't already picked this detail up, I am way, way, way out of my comfort zone with this but I really need to get this working for a course I'm taking.
Thank in advance for any light you may be able to shed.
Install IIS:
Control Panel -> Programs and Features -> Turn Windows Features on or off -> Check "Internet Information Services". Select next and follow prompts to Install IIS.
For more info, see this Q&A to check for and install IIS, Check whether IIS is installed or not?
Since this question is the first Google search result for inetmgr not found, and since it can be quite puzzling to not be able to find inetmgr even if the web service seems to be working correctly, I thought I'd annotate it with the most obvious answer for those who actually need the IIS Manager: you have to install the Manager separately from WWW service (it is a separate option to installing IIS WWW service itself).
[Windows 8.x]
First, type IIS in the Start page: if you see Internet Information
(IIS) Manager, you are good to go. If not...
Go to Control Panel, "Programs and Features", then click "Turn
Windows features on or off" in the left pane.
In the "Windows Features" dialog that pops up, make sure that under
"Internet Information Services" you have "Web Management Features"
checked in addition to "World Wide Web Services". (Technically, you
just need "IIS Management Console" under "Web Management Features"
to be checked).
Don't forget to click OK in the "Windows Features" dialog. :-)
Now go to Step #1 and you should see Internet Information (IIS)
Manager as an available icon.
Inetmgr.exe is the executable for IIS. If you are trying to just have Apache and PHP work, you can use WAMP server - this will give you everything you need to start developing with PHP. The site is: http://www.wampserver.com/en/
IIS is a web server and Apache is a webserver too. If you want to use Apache, you donèt need to have IIS installed.
You need to install iis first.
http://www.iis.net/learn/install/installing-iis-7/installing-iis-on-windows-vista-and-windows-7
In windows server 2008 R2 I found IIS Server under Roles, not features

What is the default location of inetmgr.exe of IIS in Windows 7, as none of my Windows searches are working; Any Alternative to access it?

Hi I want to acces, open "inetmgr.exe" on my Windows 7 machine. But none of the searches are working. ( Start Menu --> Search Program and Files NOR Search in My Computer).
I somehow want to access inetmgr.exe of IIS(InternetInformation Services).
So can anyone kindly let me know the
default location of inetmgr.exe or any
DOS command to access it. I even
tried typing "inetmgr.exe" in command
prompt. But not working. So PLz
somehow I need to access inetmgr.exe.
Thanks in advance.
It should be available in following location:
C:\Windows\System32\inetsrv\InetMgr.exe
But when you goto start menu and type inetmgr.exe it should be visible in the list. If not then something wrong with your installation or that file has been deleted.
At first check IIS is installed or not.
For XP
Open Control Panel
Add-Remove Windows Components.
For Windows 7 / Windows Server 2012
Open Control Panel
Programs and Features
Turn Windows features on or off.
I had the same issue. Go into Control Panel -> Programs-> Turn Windows features on or off.
Click on features for Internet Information Services. Specifically, Web Management Tools and Wold Wide Web Services.
For Web Management Tools
->IIS 6 Management Compatibility
->IIS Metabase and IIS 6 configuration compatibility. (or any other features you think you may need)
I had the same problem on Windows Server 2016 with it not wanting to search. IIS Manager (with our normal websites) was showing in the Start menu but IIS 6 Manager was not (where the SMTP Virtual Server settings are located).
Luckily you can launch it from within Server Manager:
Yes, I installed IIS and still couldn't find InetMgr.exe until I went back to
Turn Windows features on or off
and then checked
Internet Information Services
Web Management Tools
IIS Management Console

Resources