IIS friendly server - iis

I need to do some projects with Ajax, Javascript, etc. Most of my other work is with ASP .NET so I need to have IIS in my system totally untouched.
The last time I installed XAMPP or WAMP server, those two messed up with IIS and I had to reformat my entire windows 8.1 system to get it all back to default settings.
Can anyone tell me how to install XAMPP or WAMP server without messing up with IIS, or any other server that would be IIS friendly.

Related

How to use IIS Express 10?

I have installed IIS 10 On my Windows 10 PC but after installation I cannot find the application either in start menu or if I make a search for it.
I have tried to go to C:\Program files\IIS Express\ but can't understand anything there
I want to see the files of a website.
First you have to understand the difference between iis and iis express. IIS express would only be used by people who don't have access to IIS or want something that is lighter than IIS but more like IIS than Cassini. IIS 7 ships with the operating system and is tightly integrated to Windows. more information you can refer to this link:
IIS Express Overview
IIS Web Server Overview
https://stackoverflow.com/a/8396060/13336642
If you are installing IIS 10(not iis express), then you can find it in the start menu. If you can’t find it, you may have a problem with the installation. you can refer to the following article on how to install iis. If it is iis express, then you can use it in visual studio.
https://www.howtogeek.com/112455/how-to-install-iis-8-on-windows-8/

I cannot enable ASP Classic on Windows 8.1

I am trying to enable ASP Classic on my local PC windows 8.1. I have followed the steps to enable ASP in this Windows KB > https://learn.microsoft.com/en-gb/iis/application-frameworks/running-classic-asp-applications-on-iis-7-and-iis-8/classic-asp-not-installed-by-default-on-iis#installing-classic-asp-on-windows-8-or-windows-81
However when I go to the simple ASP Classic page I have created in a folder under inetpub/wwwroot/test/test.asp which just tries to do a simple Response.Write("TEST") on the page when I go to file:///C:/inetpub/wwwroot/test/test.asp all I see is my ASP code in text on the page. I enabled ASP, ISAPI filters and anything else that seemed relevant but it doesn't seem to run.
Is there not a VBScript DLL that needs to be enabled somewhere that isn't present in the Application Development Features under World Wide Web Services as I thought both VBScript and the ASP DLLS were needed to run ASP Classic?
Anyway I followed the KB article and still all I see are the text of the ASP page when I go to the local URL.
I also have WAMPServer installed on my PC but I have that under a different port 8888 so that I can toggle between the two. I have no problems starting WAMP and running PHP code it is just the IIS I am having issues with.
If I just enable IIS and go to localhost I get the default IIS page e.g file:///C:/inetpub/wwwroot/iis-85.png but I cannot get the ASP code to actually execute, it just shows up as text on the page.
How can I get this to work? I never used to have problems switching between the two servers ASP and WAMP but after a factory reset on this laptop I am having issues.

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.

ColdFusion10 Developer and Windows7 (IIS7.5)

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".

Development in IIS or Visual Studio internal webserver

Do you do local development/debugging with the internal webserver or a local iis install? I'm currently running the internal VS2010 webserver but it's so slow it hurts. I can see the page rendering in front of me...
I prefer to use Windows Server 2008 as my development machine so that I can use IIS 7 as the web server and just set the default location of the website to a locally mapped DNS name. This especially helps when testing code that is dependent on domain URIs and other information of that nature.
One problem I have experienced is an intermittence in the ability of studio to bind the debugger to the IIS processes. (sometimes a reboot is required to get studio to bind if this happens)

Resources