-->

22 December 2019

How to deploy ASP.net or Classic Asp Web Site On Own PC

  Asp.Net CS By Example       22 December 2019

  How to deploy ASP.net or Classic Asp Web Site On Own PC.

1) Create Publish Folder.
   => Copy a project folder in New Location.
   => Now Delete .cs and other extention file from project & keep only aspx & dll file.

2) Deployee Web Site.
   => Copy publish folder in wwwroot folder.
   => start 'run' application.
   => in Run App. Type. 'inetmgr' and click OK.
   => Now broser our site (Site->Defualt web site -> 'DemoWeb'(Ouer Web Site Folder)) select.
   => Right click on 'DemoWeb' choose 'Convert to Application' or 'Add Application'
   => If Choose 'Add Application' then Enter
      1) Alias - Is the Site Name we can broser.
      2) Application Pool- Configure the .net Framework.
      3) Physical Path - Web site folder location within wwwroot.


Error:
   1) HTTP Error 500.21 - Internal Server Error
  
   Start command prompt in Administatrator Mode:
  
   If we are on a 64-bit machine, we may have to use the following:
   %windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_regiis.exe -i
  
   If we are on a 32-bit machine, we may have to use the following:
  
   %windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe -i

Error Will be reslove.

   2) Add .Net Framework to Application Pool.
   => Goto IIS manager.
   => Select 'Application Pools.'
   => On Right Side Click On 'Add Application Pool'.
   => Now 'Add Application Pool' Screen will be opened.
      1) Name - Give the Proper name of .Net Version E.g. 'Asp.net 4.0'
      2) .Net Framework Version . Select from Drop Down. Choose '.Net Framework 4.0.000'
      3) Managed pipeline mode. Select from Drop Down. Choose 'Integrated'
   => Now Click On 'OK' Buttons.

logoblog

Thanks for reading How to deploy ASP.net or Classic Asp Web Site On Own PC

Previous
« Prev Post

No comments:

Post a Comment

Please do not enter any spam link in the comment box.