Why I cant access pages of my Classic ASP site? - iis

I am setting up a classic ASP site on my computer. I have installed all the necessary DLL's, configured the IIS and enabled ASP on my IIS. All the files of the website are in a folder named ClassicASP.This Folder is in wwwroot Folder of IIS.
Now my problem is that I am able to access the Login Page of my site. But when I enter credentials It doesnot redirects to the next page. Its gives
"
HTTP Error 404.0 - Not Found
The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.
"
However the file is in the same folder. I can only access Login Page no other page is working it says Resource not Found.
Can some one help. I am new to ClassicASP.

Related

IIS HTTP Error 404 local but not on server

I have a problem where a site runs okay on hosting server browser but not on my local browser.
It is a site I need to migrate from a windows 2012 server to a new windows 2019 server. I have ensured all IIS components are setup on the new Windows 2019 server. I copied over all files and re-created the site in IIS on new server with, as far as I can see, exactly the same IIS configurations except the Connection string is set to database on new server which was also migrated from old server. I have checked the websites root folder permissions are the same too
The site is built in ASP.NET and both ASP.NET authentication and windows authentication are enabled and anonymous authentication is disabled. The application pools' "identity" is set to "ApplicationPoolIdentity" as was the old site.
To ensure the site worked on new server I created a registry entry for "DisableLoopbackCheck" because the site continually asked for credentials and with registry change my credentials were accepted and site appeared
Lastly, I have asked ICT to ensure the local DNS is set to new site and the old site in old server is stopped. However I still continue to receive "HTTP Error 404. Resource not found" in both Edge and Chrome. I have also viewed the IIS logs for site but tell me very little
Why do I keep getting this 404 error please? I feel it is something simple I am missing

IIS authentication error

I'm trying to simply run a local website which has sime basic HTML files using IIS.
Through the IIS Manager I have created a new website and have set the physical path to the directory with the HTML files.
However when I input the physical path I get the following warning:
The server is configured to use pass-through authentication with a
built-in account to access the specified physical path. However, IIS
Manager cannot verify whether the built-in account has access. Make
sure that the application pool identity has Read access to the
physical path. If this server is joined to a domain, and the
application pool identity is NetworkService or LocalSystem, verify
that \$ has Read access to the physical path.
Then test these settings again.
Now, when I navigate to the site through localhost I get the following Unauthorized error:
You do not have permission to view this directory or page because of
the access control list (ACL) configuration or encryption settings for
this resource on the Web server.
What's going on here? When I right click my folder I seem to have given access to everyone. I haven't made any specific IIS changes so what could be the issue here?
EDIT:
MAN I cannot believe this. My case is so simple (I just wanna display some HTML files on localhost) which should require ZERO configuration at all. Yet IIS fails to meet the demand.
EDIT: I think everyone should have permission to my folder. Here's a picture of the permissions screen for the folder:
Working with a set of server protocols is different than adding files to a share. In this case, you're going to want to open IIS and navigate to the website you added it as.
There, you'll see a variety of icons, some under the heading of ASP.NET, some under IIS. The first heading you'll see under IIS is Authentication. That's the one you want. If this is strictly internal/for learning, go ahead and enable Anonymous Authentication. It's not safe, but it'll get you in the right place to start googling around.

Running ASP.NET MVC 4 app on IIS 7.5 Locally

I have an MVC 4 application that I can run using IIS 7.5. In the application properties there is an option to create virtual directory I click that button and nothing happens. When I open IIS Manager I do not see my application under Default WebSite.
UPDATE: I think I am able to setup the virtual directory. But now when I browse the web site it says "A default document is not configured for the requested URL and directory browsing is not enabled on the server".
You should change the path to your default website in IIS to see if it goes to the right place where your solution is.

Publish web api on IIS

If I create a small web api project and publish it to a server with IIS7.5, i can't open the site. I get an
HTTP Error 403.14 - Forbidden
The Web server is configured to not list the contents of this directory.
Someone who can help?
Does your site have a default page? Try putting the address to the default page in the URL.

Cannot access classic asp files through IIS

Windows 2003 IIS 6
I have a virtual directory called offline. I can access the default.htm file via
http://localhost/offline/default.htm
but
http://localhost/offline/config.asp
returns with "The page cannot be displayed".
I can see the file through the IIS manager interface. In the application configuration .asp is listed as an application extension. Execute permissions on the virtual directory are "scripts only"
So the questions is Why won't the file display?
In the IIS Manager under the server node in the tree view select the "Web Service Extensions" node.
On the right hand side ensure "Active Server Pages" is "Allowed". You should have "Server Side Includes" allowed as well.

Resources