ASP.NET page not redirecting properly

Gani_tpt 1,401 Reputation points

I am developing application. In that, i have login page for validating the user and then entering the home page.

This will be working in local and server local machine.

But, when i host in IIS, the home page file not re-directing properly. it show's page not found. but, page will the there in the folder.

what is the problem.

But, in the URL it showing the file name and the page is showing below error.

User's image

Internet Information Services
A set of technologies in the .NET Framework for building web applications and XML web services.
1,646 questions
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,322 questions
{count} votes

Accepted answer
  1. Bruce ( 44,966 Reputation points

    check that IIS is configured correctly to host an asp, net application. the app pool should have the correct framework. also check that the app pool account and the anonymous user account have read access to the files.

0 additional answers

Sort by: Most helpful