locked
Error in deploying a web application RRS feed

  • Question

  • Hi all

    I tried my Asp.Net Mvc application to deploy in IIS but i showed an error as:

    the configuration before deploying is as below:


    and when i click create virtual directory it shows below popup:


    and when i press ok then it also shows a popup as below:

    Please help to sort out, i am stucked in this since a couple of days.

    thanks in advance


    Hemant Kaushik


    • Edited by Hemant Kaushik Saturday, August 29, 2015 6:20 AM images
    • Moved by CoolDadTx Monday, August 31, 2015 4:20 PM Wrong forums
    Saturday, August 29, 2015 6:17 AM

Answers

All replies

  • Hi Hemant Kaushik,

    Based on your error description, the port(80) and virtual path(mvc) is used in your iis express. Please choose and input another port or virtual path. In addition, your issue is related to ASP.NET. If you have further questions about ASP.NET, I suggest you create a new thread on ASP.NET forum. You will get more help there.

    Best Regards,
    Li Wang

    Monday, August 31, 2015 7:41 AM
  • Hi Hemant,

    To solved the problem please follow below steps;

    Open:

    Start Menu
    -> Programs
    -> Microsoft Visual Studio 2010
    -> Visual Studio Tools
    -> Visual Studio Command Prompt (2010)

    Run in command prompt:

    aspnet_regiis -i

    Make sure it is run at administrator, check that the title starts with Administrator:

    Refer MSDN article,

    ASP.NET IIS Registration Tool (Aspnet_regiis.exe)

    Related thread,

    Asp.net 4.0 has not been registered


    Thanks, If my reply is helpful please mark as answer or vote as helpful.


    Monday, August 31, 2015 8:10 AM
  • Local IIS and Express IIS are fighting over port 80. It's either one or the other not both.

    https://forums.iis.net/

    • Marked as answer by Just Karl Friday, September 11, 2015 7:58 PM
    Monday, August 31, 2015 1:30 PM
  • Please post questions related to web development in the ASP.NET forums (http://forums.asp.net ).
    • Marked as answer by Just Karl Friday, September 11, 2015 7:58 PM
    Monday, August 31, 2015 4:20 PM