Link to home
Start Free TrialLog in
Avatar of Rayne
RayneFlag for United States of America

asked on

IIS Server - Can't publish to IIS server

Hello
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
Thanks
Steps-I-took--1-.docx
Avatar of Ian Pattison
Ian Pattison
Flag of United Kingdom of Great Britain and Northern Ireland image

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.
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
Avatar of Rayne

ASKER

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
IISwebsite--2-.zip
My-Findings.docx
Avatar of Rayne

ASKER

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

ASKER

These are the .net framework versions in local vs server
ASKER CERTIFIED SOLUTION
Avatar of Miguel Oz
Miguel Oz
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Rayne

ASKER

Thank you all :)