How to publish ASP.Net MVC 5 with SQL database to IIS

แชร์
ฝัง
  • เผยแพร่เมื่อ 2 ม.ค. 2025

ความคิดเห็น • 57

  • @ajitkamble8929
    @ajitkamble8929 3 ปีที่แล้ว +2

    Great after searching so many site

  • @QuickTs
    @QuickTs 6 ปีที่แล้ว +2

    You are a life saver. Thanks dude. Keep doing the good work.

  • @sanjivsabeswaran5570
    @sanjivsabeswaran5570 4 ปีที่แล้ว +1

    wow you are amazing. you have explained very simple.super

  • @berkcankarabulut5283
    @berkcankarabulut5283 5 ปีที่แล้ว +3

    DUDE I LOVE YOU. YOU SAVED MY LIFE

  • @og4407
    @og4407 5 ปีที่แล้ว

    When I got up to 3:26 the Next> button was greyed out and I couldn't progress any further. Any help on this would be appriciated.

    • @xddevelopers1709
      @xddevelopers1709  5 ปีที่แล้ว

      may be you did not create a profile or select the system location folder to publish the application on your local system

  • @metin4yt
    @metin4yt 5 ปีที่แล้ว +1

    You saved my life, thanks

  • @sumitghatge989
    @sumitghatge989 2 ปีที่แล้ว +1

    very useful video...thanx

  • @WanMaryam_2014
    @WanMaryam_2014 5 ปีที่แล้ว +1

    Hi
    I followed your steps but i got HTTP Error 500.21 - Internal Server Error
    Handler "aspNetCore" has a bad module "AspNetCoreModuleV2" in its module list
    Please advice. Thank you.

    • @xddevelopers1709
      @xddevelopers1709  5 ปีที่แล้ว

      Try this
      1.run the command prompt as administrator
      2.type the line in the command prompt below any one
      %windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe -i

  • @aburayhan5920
    @aburayhan5920 6 ปีที่แล้ว

    Thanks bro very good and helpful tutorial

  • @iyliamajid730
    @iyliamajid730 4 ปีที่แล้ว +1

    Hi why i got error Windows NT user or group .NT AUTHORITY\NETWORK SERVICE not found

    • @xddevelopers1709
      @xddevelopers1709  4 ปีที่แล้ว

      You need to add AUTHORITY\NETWORK SERVICE. just copy and past as it . It will help you the same way

    • @iyliamajid730
      @iyliamajid730 4 ปีที่แล้ว

      @@xddevelopers1709 yes i copy and paste it but i got error instead

    • @xddevelopers1709
      @xddevelopers1709  4 ปีที่แล้ว

      @@iyliamajid730 when you added it go to it's properties, there you need to click on "Owned schemas" list will be appear on right side check the check box with value 'db_owner' same you need to set in membership from properties

  • @Ritasree
    @Ritasree 3 ปีที่แล้ว +1

    Great, it is working.

  • @EarlyRaj
    @EarlyRaj 4 ปีที่แล้ว

    I did what you mentioned still it gives me Login failed for user 'NT AUTHORITY\NETWORK SERVICE'

    • @xddevelopers1709
      @xddevelopers1709  4 ปีที่แล้ว

      just add this to user 'NT AUTHORITY\NETWORK SERVICE'

  • @swathithada6501
    @swathithada6501 4 ปีที่แล้ว

    Hi, Firstly I would like to thank you for this tutorial. I have followed the same steps but I am getting 404 error. I tried deleting the obj folder as well, but it's still the same. can you please help me

    • @xddevelopers1709
      @xddevelopers1709  4 ปีที่แล้ว

      Thank you
      Please check if windows features are off from windows settings

  • @mrajanasir
    @mrajanasir 5 ปีที่แล้ว +1

    Thank you 🌹 great

  • @quangminhha2283
    @quangminhha2283 5 ปีที่แล้ว

    please help me "The Web server is configured to not list the contents of this directory."

    • @xddevelopers1709
      @xddevelopers1709  5 ปีที่แล้ว

      try the following setups
      1- Start IIS Manager. To do this, click Start, click Run, type inetmgr.exe, and then click OK.
      2- In IIS Manager, expand server name, expand Web sites, and then click the website that you want to modify.
      3- In the Features view, double-click Directory Browsing.
      4- In the Actions pane, click Enable.

    • @xddevelopers1709
      @xddevelopers1709  4 ปีที่แล้ว

      @Shantilal Suthar try the following steps bro
      1- Press keys Windows+R to open the Run dialog, type inetmgr and then click OK. This opens the IIS Manager.
      2- In the left treeview, locate the Sites node and find the Default Web Site node under it (or the name of the site where the error message appears).
      3- Right-click the node and select Manage web site -> Advanced settings.... Note the name of the value Application pool. Close this dialog.
      4- In the treeview to the left, locate and select the node Application pools.
      5- In the list to the right, locate the Application pool with the same name as the one you noted in the web site settings. Right-click it and select Advanced settings...
      6- Make sure that the .NET Framework version value is v4.0. Click OK.

  • @Rizkiaqa
    @Rizkiaqa 4 ปีที่แล้ว

    excuss me. Where can i get IIS apps ?

    • @xddevelopers1709
      @xddevelopers1709  4 ปีที่แล้ว

      Bro open control panel from settings, from control panel go to Programs there you will find option Turn windows feature turn on of off. click on it and find IIS feature and make sure it is marked checked.

    • @Rizkiaqa
      @Rizkiaqa 4 ปีที่แล้ว

      @@xddevelopers1709 Oh here it is. I have got this. Thanks.

  • @mianwahab5171
    @mianwahab5171 5 ปีที่แล้ว

    I cant find the release option, only option i have is debug, can you help?

    • @xddevelopers1709
      @xddevelopers1709  5 ปีที่แล้ว

      you can also go with the debug option, that will not make a much difference for it

  • @youness6466
    @youness6466 5 ปีที่แล้ว

    I did the same thing as you except that I have an error that is displayed
    Erreur HTTP 500.19 - Internal Server Error
    Impossible d'accéder à la page que vous avez demandée, car les données de configuration connexes relatives à la page ne sont pas valides.
    Source de configuration
    31:
    32:
    33:

    • @xddevelopers1709
      @xddevelopers1709  5 ปีที่แล้ว

      1- brother it looks like the user account you're using for your app pool doesn't have rights to the web site directory, please check rights of directory.
      2- if you are not using Membership provider for authentication and then modify tag in its web.config.
      3- or you can try Click "Start button"
      in the search box, enter "Turn windows features on or off"
      in the features window, Click: "Internet Information Services"
      Click: "World Wide Web Services"
      Click: "Application Development Features"
      Check (enable) the features. checked all but CGI.

  • @hanitwister3708
    @hanitwister3708 4 ปีที่แล้ว +1

    Are you from kashmir?

  • @mustafaedis7150
    @mustafaedis7150 5 ปีที่แล้ว +1

    thank you bro :)

  • @jerrykalonda1620
    @jerrykalonda1620 4 ปีที่แล้ว

    fine but try to share it on local network

  • @Harishkumar-ss8ll
    @Harishkumar-ss8ll 5 ปีที่แล้ว

    Hai bro,
    I followed your step but i got HTTP error 403.14-Forbidden error.

    • @xddevelopers1709
      @xddevelopers1709  5 ปีที่แล้ว

      To resolve this problem, try these steps:
      Start IIS Manager. To do this, click Start, click Run, type inetmgr.exe, and then click OK.
      In IIS Manager, expand server name, expand Web sites, and then click the website that you want to modify.
      In the Features view, double-click Directory Browsing.
      In the Actions pane, click Enable.

    • @jacksimone4243
      @jacksimone4243 4 ปีที่แล้ว

      Yes same issue like me. I have account with Asphostportal.com and when I deployed it on hosting server, it is showing forbidden error. Any insight? Thank you

    • @xddevelopers1709
      @xddevelopers1709  4 ปีที่แล้ว

      @@jacksimone4243 try the following steps bro
      1- Press keys Windows+R to open the Run dialog, type inetmgr and then click OK. This opens the IIS Manager.
      2- In the left treeview, locate the Sites node and find the Default Web Site node under it (or the name of the site where the error message appears).
      3- Right-click the node and select Manage web site -> Advanced settings.... Note the name of the value Application pool. Close this dialog.
      4- In the treeview to the left, locate and select the node Application pools.
      5- In the list to the right, locate the Application pool with the same name as the one you noted in the web site settings. Right-click it and select Advanced settings...
      6- Make sure that the .NET Framework version value is v4.0. Click OK.

    • @jacksimone4243
      @jacksimone4243 4 ปีที่แล้ว

      ​@@xddevelopers1709 Thanks for your help, they helped me to solve the problem, it was because I haven't setup default page correctly. Thanks bro!

  • @kushagrakumar990
    @kushagrakumar990 5 ปีที่แล้ว +1

    Thanks sir

  • @Sahil-ld3hl
    @Sahil-ld3hl 5 ปีที่แล้ว +1

    GREATTTTTTT.. BRO

    • @xddevelopers1709
      @xddevelopers1709  5 ปีที่แล้ว

      Thank You

    • @Sahil-ld3hl
      @Sahil-ld3hl 5 ปีที่แล้ว

      bro- how to update web application after publish

    • @xddevelopers1709
      @xddevelopers1709  5 ปีที่แล้ว

      just re-build the project and copy the files in the iis directory, just keep in mind if you change the connection string for it you need to replace it again in web.config

  • @HaredMeza
    @HaredMeza 4 ปีที่แล้ว

    HTTP Error 403.14 - Forbidden
    The Web server is configured to not list the contents of this directory.
    What can I do?

    • @xddevelopers1709
      @xddevelopers1709  4 ปีที่แล้ว

      try the following steps bro
      1- Press keys Windows+R to open the Run dialog, type inetmgr and then click OK. This opens the IIS Manager.
      2- In the left treeview, locate the Sites node and find the Default Web Site node under it (or the name of the site where the error message appears).
      3- Right-click the node and select Manage web site -> Advanced settings.... Note the name of the value Application pool. Close this dialog.
      4- In the treeview to the left, locate and select the node Application pools.
      5- In the list to the right, locate the Application pool with the same name as the one you noted in the web site settings. Right-click it and select Advanced settings...
      6- Make sure that the .NET Framework version value is v4.0. Click OK.

    • @HaredMeza
      @HaredMeza 4 ปีที่แล้ว

      @@xddevelopers1709 Thanks!