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.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Ajay KumarRank #56 · 29K reputationPosted Sep 20, 2023, 12:51 AM EDT
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.
Amit MohantyRank #112 · 20K reputationPosted Sep 20, 2023, 1:51 AM EDT