# MVC Vidly application

**URL:** <https://forum.codewithmosh.com/t/mvc-vidly-application/998>\
**Category:** ASP.NET MVC\
**Created:** [November 29, 2020, 12:56pm UTC](https://forum.codewithmosh.com/t/mvc-vidly-application/998 "2020-11-29T12:56:16Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![yosovd](https://avatars.discourse-cdn.com/v4/letter/y/f08c70/32.png) [@yosovd](https://forum.codewithmosh.com/u/yosovd)\
**Post date:** [November 29, 2020, 12:56pm UTC](https://forum.codewithmosh.com/t/mvc-vidly-application/998/1 "2020-11-29T12:56:16Z")

</div>

Hi All,

I’m currently taking the [ASP.NET](http://ASP.NET) MVC 5 training.  
In the “Working with Data” section need to enable migrations.  
When trying to run this getting following error all the time:

PM\> Enable-Migrations  
No context type was found in the assembly ‘Vidly’.  
PM\>

Can anyone advise how this can be resolved?

Thanks in advance

Regards

Yossi

---

<div class="post-metadata">

**Author:** ![SAM](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.codewithmosh.com/sam/32/167_2.png) [@SAM](https://forum.codewithmosh.com/u/SAM)\
**Post date:** [November 29, 2020, 1:57pm UTC](https://forum.codewithmosh.com/t/mvc-vidly-application/998/2 "2020-11-29T13:57:46Z")

</div>

When creating the project in Getting Started, Lesson 4, did you change the authentication from “Individual User Accounts” to something else? If you disable authentication, VS won’t add EF to the project and won’t generate the boilerplate code to set it up.

 ![Authentication](https://us1.discourse-cdn.com/flex020/uploads/codewithmosh/original/1X/f8b34c0636024be6db4fc805d5cb801f72bed740.png)

---

<div class="post-metadata">

**Author:** ![yosovd](https://avatars.discourse-cdn.com/v4/letter/y/f08c70/32.png) [@yosovd](https://forum.codewithmosh.com/u/yosovd)\
**Post date:** [November 29, 2020, 2:16pm UTC](https://forum.codewithmosh.com/t/mvc-vidly-application/998/3 "2020-11-29T14:16:59Z")

</div>

Thanks a lot for the answer.  
How can I verify this? Tried to find the Authentication settings but didn’t find it.

Regards

Yossi

---

<div class="post-metadata">

**Author:** ![SAM](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.codewithmosh.com/sam/32/167_2.png) [@SAM](https://forum.codewithmosh.com/u/SAM)\
**Post date:** [November 29, 2020, 4:19pm UTC](https://forum.codewithmosh.com/t/mvc-vidly-application/998/4 "2020-11-29T16:19:00Z")

</div>

If you chose authentication you should have a Startup.Auth.cs in your App\_Start folder.

---

<div class="post-metadata">

**Author:** ![rajanmahal](https://avatars.discourse-cdn.com/v4/letter/r/dc4da7/32.png) [@rajanmahal](https://forum.codewithmosh.com/u/rajanmahal)\
**Post date:** [March 19, 2021, 3:23pm UTC](https://forum.codewithmosh.com/t/mvc-vidly-application/998/5 "2021-03-19T15:23:22Z")

</div>

I am having the same issue. Were you able to resolve this issue @yosovd ? Thank you!

---

<div class="post-metadata">

**Author:** ![rajanmahal](https://avatars.discourse-cdn.com/v4/letter/r/dc4da7/32.png) [@rajanmahal](https://forum.codewithmosh.com/u/rajanmahal)\
**Post date:** [March 19, 2021, 3:38pm UTC](https://forum.codewithmosh.com/t/mvc-vidly-application/998/6 "2021-03-19T15:38:34Z")

</div>

Thanks for the response @SAM I will try to recreate the Project by selecting Individual User Accounts. By Default on my machine No Authentication was the option selected and I starting developing on it and ran into issues.
