Can not publish web application to IISRSS

9 replies

Last post Sep 10, 2020 09:18 AM by Jalpa Panchal

‹ Previous Thread|Next Thread ›
  • Can not publish web application to IIS

    Sep 01, 2020 12:22 AM|muugii8us|LINK

    Hello.
    i have created ASP.NET Web Application on my local computer.
    Also i have server , which has static ip address.
    i Configured the IIS on server. Now trying to publish my web application to server from my computer.
    Now i cant. how can i ?

    21450-image.png

  • Re: Can not publish web application to IIS

    Sep 01, 2020 02:26 AM|lextm|LINK

    If you don't have Web Deploy installed and configured properly on that IIS server,

    https://docs.microsoft.com/en-us/iis/install/installing-publishing-technologies/installing-and-configuring-web-deploy

    the error is simply expected.

    Lex Li
    Affordable IIS Consulting Services at https://support.lextudio.com/services/consulting.html
    ---------------------------
    This posting is provided "AS IS" with no warranties, and confers no rights.
  • Re: Can not publish web application to IIS

    Sep 01, 2020 03:24 AM|muugii8us|LINK

    lextm

    If you don't have Web Deploy installed and configured properly on that IIS server,

    https://docs.microsoft.com/en-us/iis/install/installing-publishing-technologies/installing-and-configuring-web-deploy

    the error is simply expected.

    HELLO. I ALREADY INSTALLED WEB DEPLOY. NOW I HAVE FOLLOWING ERROR

    <<

    ERROR_COULD_NOT_CONNECT_TO_REMOTESVC

    >>

    On server WEB Deployment Agent service and Web Management Service are running. 8172 and 80 port are open

  • Re: Can not publish web application to IIS

    Sep 01, 2020 04:03 AM|lextm|LINK

    Could be more famous an issue, so you should start from https://docs.microsoft.com/en-us/iis/publish/troubleshooting-web-deploy/troubleshooting-common-problems-with-web-deploy

    There are also tons of other threads if you use a search engine.

    Lex Li
    Affordable IIS Consulting Services at https://support.lextudio.com/services/consulting.html
    ---------------------------
    This posting is provided "AS IS" with no warranties, and confers no rights.
  • Re: Can not publish web application to IIS

    Sep 01, 2020 06:04 AM|muugii8us|LINK

    thanks i published my web site. Last question :). my web working on locally https://localhost:44350/weatherforecast.

    But on server  https://localhost:44350/weatherforecast. not working. Any advice?

  • Re: Can not publish web application to IIS

    Sep 01, 2020 07:13 AM|Jalpa Panchal|LINK

    did you host the site in iis as an application? could you share the IIS site structure of the site which you deployed? to achieve your requirement set the site binding in iis as below:

    Make sure you deployed the site as an application.

    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue.
    If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.
  • Re: Can not publish web application to IIS

    Sep 01, 2020 07:49 AM|muugii8us|LINK

    On locally looks like :

    https://localhost:44350/weatherforecast   

    return:   [{"date":"2020-09-02T15:17:17.9494277+08:00","temperatureC":6,"temperatureF":42,"su …..

    deploy info:

       Publish method: Web Deploy

       server: 122.201.28.34

       Site name: Default Web Site

       user: *********

       pass: ********888

    server iis binding:

       Type : http

       Ip address :  All

       Port : 80

    From server : localhost/weatherforecast   

    error : HTTP Error 500.19 - Internal Server Error

  • Re: Can not publish web application to IIS

    Sep 01, 2020 05:31 PM|lextm|LINK

    muugii8us

    From server : localhost/weatherforecast   

    error : HTTP Error 500.19 - Internal Server Error

    It probably shows you a detailed error page telling what's up.

    Most common causes are missing either URL Rewrite module or ASP.NET Core module.

    Lex Li
    Affordable IIS Consulting Services at https://support.lextudio.com/services/consulting.html
    ---------------------------
    This posting is provided "AS IS" with no warranties, and confers no rights.
  • Re: Can not publish web application to IIS

    Sep 03, 2020 09:50 AM|Jalpa Panchal|LINK

    could you please share a detailed  error message snapshot? 

    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue.
    If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.
  • Re: Can not publish web application to IIS

    Sep 10, 2020 09:18 AM|Jalpa Panchal|LINK

    Hi,

     

    Is your issue solved?

    If your issue is solved then I request you to mark the helpful suggestion as an answer. This will help other people who face the same issue.

    If your issue still exists then try to refer the solution given by the community members.

    If then also you have any further questions then let us know about it.

    We will try to provide further suggestions to solve the issue.

    Thanks for your understanding.

    Regards

    Jalpa.

    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue.
    If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.
‹ Previous Thread|Next Thread ›