I have just deployed my asp.net web forms to the IIS server but a default document is not configured for the requested URL; when I click on browse it's go to the project folders (root folder). Thanks for the help
Loading
I have just deployed my asp.net web forms to the IIS server but a default document is not configured for the requested URL; when I click on browse it's go to the project folders (root folder). Thanks for the help
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Amit MohantyPosted Sep 20, 2023, 5:51 AM
Ajay KumarPosted Sep 20, 2023, 4:51 AM
It sounds like you're encountering an issue with the default document configuration in IIS for your ASP.NET web application. To resolve this issue and ensure that your web application loads correctly, follow these steps:
Open IIS Manager:
Windows + Ron your keyboard to open the Run dialog.inetmgrand press Enter to open the Internet Information Services (IIS) Manager.Select Your Website:
Default Document Configuration:
httpon port 80.Default Document Settings:
Add Default Document:
Default.aspxorindex.html, and press Enter.Apply Changes:
Restart IIS:
Once you've configured the default document and ensured that your web application is bound correctly, accessing the URL should load your ASP.NET web application as expected.
If you encounter any issues or error messages while making these changes, please provide more details, and I'll be happy to assist you further.