Avatar of Rayne
Flag for United States of America asked on

IIS Server - Can't publish to IIS server

Using Visual Studio 2019 community on my local machine, I first published a simple asp.net(vb) webapp to folder on the server A ( IIS server (windows 2016 standard)) and then created an application pool and finally add this group [IIS_IUSRS] to the published site. But I still no getting no page when I click on the site link under “Browse Website” in IIS Manager. Please see the attached document about the steps I took
Web DevelopmentASP.NET.NET ProgrammingWindows Server 2016Microsoft IIS Web Server

Avatar of undefined
Last Comment

8/22/2022 - Mon
Ian Pattison

A default installation of IIS on windows server 2016 or 2019 does not have the classic ASP feature set installed.

Check in server roles and features that you have selected the ability to serve ASP and ASPX files on the server and add the features as necessary.
Miguel Oz

Please check the server net framework version and your web site net framework version .

For example if you are targeting net framework 4.7.1 and your IIS server does not have you can follow this link

It is very important that both IIS server and your web site are using the same version.Also your web site must be running OK in your developer PC.
If more help needed, please provide:
- Is your web site running OK in your developer PC?
-  Server net framework version and your web site net framework version .
- Confirmation that you have correctly installed  your target Server net framework version.
- Build a simple html page (Hello world) and make sure it is working.
- your web site web.config file and or your project in a zip file

Hi Miguel,

Thanks for the guidance. I am able to run the webpage successfully in my local machine but not in the IIS so far.  I have not yet installed 4.7.2 in the IIS yet.
Please see my attached files...I had to remove the .exe files from one of the subfolders else the EE upload will not let me.

thank you
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy

Just to clarify, the version of OS of windows server is
OS Version:                10.0.14393 N/A Build 14393


These are the .net framework versions in local vs server
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
Miguel Oz

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question

Thank you all :)