Can't find classic asp configuration option in iis 8.5 - iis

I followed instructions on enabling classic asp on iis8 windows server 2012 and the site started working. Now I want to configure classic asp settings. Instructions say In IIS, click your Web site. Click the ASP option in the main window but I can't find the option anywhere. What could I be missing?

Ok, so I gave up and rebooted the computer and the Classic ASP icon appeared. When all else fails, reboot the computer.

Related

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.

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.

Running ASP Classic on IIS 7.5

I need to do some work on an old ASP Classic site, so I’m trying to host it on my IIS, but when I try load a page I get:
An error occurred on the server when processing the URL. Please contact the system administrator.
If you are the system administrator please click here to find out more about this error.
When I follow the link, it takes me to a Microsoft site and talks about running ASP Classic on IIS 7, but none of the pages help and nothing I found on Google will get it to work. I have all the elements under turn Windows features on and off - IIS - WWW services - app dev features.
This was bugging me earlier today and it turned out I had an error in my script.
This assumes you have installed the ASP/ISAPI extensions via the Control Panel's "Add/Remove Windows Features."
By default, errors will not be sent to the browser. To enable sending errors to the browser, go to the site in your IIS manager. Double click the ASP icon and expand "Debugging Properties." Set "Send Errors to Browser" to True.
I had this same problem and it turns out you need to set application pool to classic .net for it to work.

Windows 7 IIS7.5 and asp application Error HTTP 404.0 - Not Found

I have a Classic ASP aplication and now I installed that on my new PC with Windows7 64bit and IIS 7.5. The problem is that when the app tries to open de dabase, I have this error:
Error HTTP 404.0 - Not Found
I tried to open the database from this path and it works correctly. The fact is that I have my asp aplicacion on inetpub\wwwroot directory, but the access database is on C:\ProgramData\MyApp\bbdd.mdb it would be something with permisions? I added a IUSR_XXX user but it is not working too
any help or clue?
thanks in advance
In IIS 7.0 and 7.5, the classic version of ASP is not installed by default. Because of this, you might see HTTP 404 errors when you try to browse to an ASP page on your server, or you might see the source code for your ASP page displayed in your browser window.
Both of these error conditions are created when configuration settings that are used to define the environment for classic ASP are not installed.
Click Start, and then click Control Panel.
In Control Panel, click Programs and Features, and then click Turn Windows Features on or off.
Expand Internet Information Services, then World Wide Web Services, then Application Development Features.
Select ASP, and then click OK.
Classic ASP Not Installed by Default on IIS 7.0 and IIS 7.5

HTTP Error 404.3-Not Found in IIS 7.5

I'm using IIS 7.5 on Windows Server 2008 R2 x64 Enterprise Edition. In the project we have developed with ASP.NET 4.0 we used WCF Service. But it doesn't run over domain when the software is running from local computer. Otherwise, I am getting the following error:
HTTP Error 404.3-Not Found
The page you are requesting cannot be served because of the extension
configuration. If the page is script, add a handler. If the file should
be downloaded, add a MIME map.
You should install IIS sub components from
Control Panel -> Programs and Features -> Turn Windows features on or off
Internet Information Services has subsection World Wide Web Services / Application Development Features
There you must check ASP.NET (.NET Extensibility, ISAPI Extensions, ISAPI Filters will be selected automatically). Double check that specific versions are checked. Under Windows Server 2012 R2, these options are split into 4 & 4.5.
Run from cmd:
%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_regiis.exe -ir
Finally check in IIS manager, that your application uses application pool with .NET framework version v4.0.
Also, look at this answer.
In my case, along with Mekanik's suggestions, I was receiving this error in Windows Server 2012 and I had to tick "HTTP Activation" in "Add Role Services".
In windows server 2012, even after installing asp.net you might run into this issue.
Check for "Http activation" feature. This feature is present under Web services as well.
Make sure you add the above and everything should be awesome for you !!!
I was having trouble accessing wcf service hosted locally in IIS. Running aspnet_regiis.exe -i wasn't working.
However, I fortunately came across the following:
Rahul's blog
which informs that servicemodelreg also needs to be run:
Run Visual Studio 2008 Command Prompt as “Administrator”.
Navigate to C:\Windows\Microsoft.NET\Framework\v3.0\Windows Communication Foundation.
Run this command servicemodelreg –i.

Resources