HTTP 404 issue

Peter_1985 2,586 Reputation points
2022-11-18T02:08:36.28+00:00

Hi,
Due to the issue

Server Error in '/' Application.
The resource cannot be found.
Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly.

Requested URL: /Login4/Default.aspx

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4494.0

when going to

http://localhost/Login4/Default.aspx

and I do not see any proper reason (of the above), from the log file in the following path

C:\inetpub\logs\LogFiles\W3SVC3

Please help.

Internet Information Services
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,549 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,136 questions
0 comments No comments
{count} votes

Accepted answer
  1. XuDong Peng-MSFT 10,186 Reputation points Microsoft Vendor
    2022-11-18T07:50:54.103+00:00

    Hi @Peter_1985 ,

    Based on the screenshot information in the previous thread you posted, I tried to reproduce your issue. Something like this:
    ![261728-image.png]1

    261802-image.png

    I deployed it in IIS and it can be accessed correctly via this url http://localhost:8088/. Simple result like this below:

    261747-image.png

    So just modify the request url to fix it: ** http://localhost:<your-port> **

    Best regards,
    Xudong Peng


    If the answer is the right solution, please click "Accept Answer" and kindly upvote. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


2 additional answers

Sort by: Most helpful
  1. Peter_1985 2,586 Reputation points
    2022-11-22T03:20:44.397+00:00

    Hi,
    Yes, it is the same issue even if I make use of 8088 port. Can you share the details to access Default web site?


  2. XuDong Peng-MSFT 10,186 Reputation points Microsoft Vendor
    2022-11-24T10:06:05.947+00:00

    Hi @Peter_1985 ,

    I checked this log message (I'm not sure if it's sensitive, and I don't recommend you post it in the forum), and I found that the request was executed correctly, with 200 status code. I think you may have chosen the wrong log info file. And as I mentioned, it will be more helpful for you to open a support ticket.