kelumKP / Sample-Codes

This is sample code 100% made by me for future references
0 stars 0 forks source link

Deploy a ASP.NET release on Local Machine #12

Open kelumKP opened 8 years ago

kelumKP commented 8 years ago

on Visual Studio Change mode to DEBUG Build > Publish "Project_Name"

on Publish Web Popup - Connection Tab Create Release Folder Publish method 'File System' give above folder path

on Publish Web Popup - setting Tab Configuration - Relase

on IIS Site> Add New Website

on Add Web Popup give any site name physical path set above created relase folder location

Double click newly created website , click basic bindings set application pool as '.NET v4.5' or create new instance in application pool

to enable folder permission

Right Click on Website name on IIS > Edit Permissions > securiry > Edit > Add > Everyone > Add > Ok

to add new application pool right click on application pool then add any name

to see this app pool user under DB login set "Identity" as "Networkservice" on advance panel

then give permission to this newly app bool by going SQL server

Righ click on DB name > Properties > Permissions > View Serer Permissions

then select the app pol name and grant or disable permission