Rayne
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
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
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
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
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
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
ASKER
Just to clarify, the version of OS of windows server is
OS Version: 10.0.14393 N/A Build 14393
OS Version: 10.0.14393 N/A Build 14393
ASKER
These are the .net framework versions in local vs server
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thank you all :)
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.