Click here to Skip to main content
15,671,576 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hello everyone ,

I'm new in MVC and also Identity.

I looked to this course :


In this course , they create a new project and after this they can register directly.
And if i understood correctly , identity create directly a db for this.

When i create a project and tried to register. I got an error about : Win32Exception (0x80004005) The system cannot find the file specified

in line 155 :

Satır 153: {
Satır 154: var user = new ApplicationUser { UserName = model.Email, Email = model.Email };
Satır 155: var result = await UserManager.CreateAsync(user, model.Password);
Satır 156: if (result.Succeeded)
Satır 157: {

Do i miss something ? Need i create a db first ? With old membership i create a db with command promp for membership. Should i make somethink like this ?

But in tutorial videos they didn't create any db.

What I have tried:

I googled it. But no one got this error on the beginning.
Updated 23-Jul-16 4:46am

1 solution

I solved the problem.
I create an empty DB.

And change the connection string to WebConfig for my new DB.
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900