This question already has an answer here:
I have already enabled classic asp support on IIS for windows 7, and configured IIS web for classic asp,Yet .asp page is not being displayed? [closed]
(1 answer)
Closed 1 year ago.
According to what I have seen on social media, in order for me to set up my computer for writing and debugging Classic ASP, I need to set up IIS a certain way -- which I did -- and then I have to enable ASP by doing the following:
IIS7 - IIS > ASP > Compilation > Debugging Properties > Enable Server-side Debugging
And I am stuck on this. Please, someone give me an idea of what I need to click on.
To add "ASP" to IIs you need to
open control panel.
select "Turn Windows features on or off"
in the tree check "ASP" under "Internet Information Service"-> World Wide Web Services -> Application Development Features
Press OK
after that windows will update the feature and you'll have it in IIS
Related
I copied a web application to my local development machine. When I open the solution in Visual Studio 2019, I get the following error:
Unable to open the Web site 'http://localhost/XYZ'. The Web site 'http://localhost/XYZ' does not
exist. Some of the properties associated with the solution could not be read.
I found this similar question and answer:
The Web site {site name} does not exist
But the directory that is indicated in the error message is different. My error is specifically targeting "http://localhost/...". I've been developing with Visual Studio for several years and I've worked with IIS a little - configuring application pools and converting directories to websites - but that's about it. Any idea what I'm missing here?
You can try the following steps to solve your problem:
Click Start, and then click Control Panel.
Click Programs and Features.
Click Turn Windows features on or off.
In the dialog box, expand Internet Information Services.
Expand Web Management Tools, and then expand IIS 6 Management
Compatibility.
Click to select the IIS Metabase and IIS 6 configuration
compatibility check box, and then click OK.
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.
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.
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
sorry for possibly a very stupid question.
I have one of those Visual studio Web Sites ( ie not a web application) ,
is there any way I can automate the creation of the IIS Web Application that points to the web site within Visual Studio ( ie then when developers open the solution, the IIS site will be set up automagically?
Sorry, just not famiiar with the Web Site side of things
Thanks
AFAIK It's not someting Visual Studio will do out of the box. What you could do is create a batch file that creates the virtual directory then opens the solution. Store it in source control and your developers will be able to run it instead of opening the solution directly.
There are a few options for creating an IIS virtual directory automatically - see this and this.
Also - if you are using VS2005 or above you could change you application to use the development web server instead of IIS and then you won't need to mess around with virtual directories at all. Select 'Use default Web server' on the 'Start Options' section of the projects property pages.