HomeОбразованиеRelated VideosMore From: ITORIAN

Hosting MVC 4 Web Application and its Databases on IIS 8

147 ratings | 44305 views
In this video you will learn Hosting MVC 4 Web Application and its Databases on local IIS8. Will create a demo MVC 4 Application with membership database and then will deploy the application on IIS 8.
Html code for embedding videos on your blog
Text Comments (44)
Hamza Abbasi (3 months ago)
I'm having error after changing pool identity to network services "login faild 'workgroup/username$'" how to fix this?
Shahed Al Hasan (5 months ago)
great, it works for me.
al f (8 months ago)
How to make automatic backup of localdb REPLY
al f (7 months ago)
Thank you but I want for localdb and not sql server
ITORIAN (7 months ago)
and https://www.youtube.com/watch?v=OEgndcJj-Cs
ITORIAN (7 months ago)
watch this video https://www.youtube.com/watch?v=RlcLJXDidtg
Muneer Khan (8 months ago)
When I try to browse it from iis manager it throws the error: Application not found
Saad Salman (1 year ago)
When I add 'NT AUTHORITY\NETWORK SERVICE' as User name and LogIn name, it gives error : Create failed for user"'NT AUTHORITY\NETWORK SERVICE". Additional information : error: 15401
kevindt12 (1 year ago)
You My friend are just the bomb. Wow i was 4 days up untill 4 in the moring because of the errro you my friend are amazing
sara samir (1 year ago)
everything is OK with me except the last step of login when i press on login i found an error (Create Table Permission is denied in Database) thanks a lot
biaaly13 (1 year ago)
It's help me. Thanks!!
Mohsen Hajikarimian (1 year ago)
Special Thanks :)
Jide Bantale (2 years ago)
Yo made it simple. good explanation
George Lucas T. Bentes (2 years ago)
Thank you very much!!!
Radosław Krawczyszyn (2 years ago)
Thank you, it helped me a lot!
UmaMahesh Meka (2 years ago)
You made it look really simple and crystal clear, nice Job buddy !!!
ITORIAN (2 years ago)
+UmaMahesh Meka thank you so much
Tohid Taghizadeh (3 years ago)
thank you soo much it help me too
ITORIAN (2 years ago)
+Tohid Taghizadeh thank you so much
Fuad Saleh (3 years ago)
nice work.
Fahim Muntasir (3 years ago)
Thanks a lot of. It helps me.
Amit Kumar (3 years ago)
you rock bro
Muhammad Fathy (3 years ago)
Great tutorial and very easy . great work
Myroslava Leskiv (3 years ago)
Thank you very much!
Ananth Kumbla (3 years ago)
Hey I am working with a localDb in my MVC Application.  I have done the following steps to share my localDb so that IIS can access it.  I have shared the sqllocaldb using command prompt and created a Private LocalDB instance with name IIS_DB My Web config file is: <add name="DefaultConnection" connectionString="Data Source=(LocalDb)\.\IIS_DB;Initial Catalog=aspnet-MvcApplication26-20141226150050;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|\aspnet-MvcApplication26-20141226150050.mdf" providerName="System.Data.SqlClient" /> For the server name I have  enterd  (LocalDb).\IIS_DB then right clicking  on the connection and written a  new query and execute this command: create login [IIS APPPool\DefaultAPPPool] from windows; exec sp_addsrvrolemember N'IIS APPPool\DefaultAPPPool, sysadmin But when I click on the Register/Login hyperlink, I get the following error Cannot attach the file 'C:\inetpub\wwwroot\MvcApplication26\App_Data\aspnet-MvcApplication26-20141226150050.mdf' as database 'aspnet-MvcApplication26-20141226150050'.
Ganesh Raj (4 years ago)
I am new to ASP .NET and was searching for a tutorial to create a default webpage and publishing and was going round and round. You helped me a lot. Thanks and keep up the good work
ITORIAN (3 years ago)
+Ganesh Raj thank you so much Ganesh.
Rick Lopez (4 years ago)
That was a great tutorial .
korhan Karacan (4 years ago)
great , its very good
Aris Nguyen (4 years ago)
exactly what i'm looking for. Thanks!
ITORIAN (4 years ago)
Glad Duy.
Waqas Ahmad (4 years ago)
great tutorial 
Musonda Kapatamoyo (4 years ago)
Nice and quick
ITORIAN (4 years ago)
thanks.
Nimit Joshi (5 years ago)
I followed your tutorial but when i am trying to browse after converting to application it shows the following error in my browser: "Error 503. The service is unavailable" Help please.
sara samir (1 year ago)
try to add features( https://docs.microsoft.com/en-us/aspnet/web-forms/overview/deployment/visual-studio-web-deployment/deploying-to-iis ) to IIs
Nimit Joshi (5 years ago)
Wow...Thanks for this great share...
Handita Okviyanto (5 years ago)
Thanks help me a lot.. Nice video..
constantin prigoreanu (5 years ago)
perfect
Gustavo Soares (5 years ago)
Thanks a lot!!
daniel lagazo (5 years ago)
Thanks a lot! Very clear and helpful tutorial.
Weili Xie (5 years ago)
This video help me so much, thank you.
Praveen Kumar (5 years ago)
thank u abhimanyu, it was a great tutorial,
The Best (5 years ago)
Thanx for quick,clear & useful explanation Mr.Abhimanyu K Vatsa. This video saved my time...

Would you like to comment?

Join YouTube for a free account, or sign in if you are already a member.