Facing Operating System error 3 while adding .mdf file in App_Data
Here's the dailog box error I'm getting while adding a .mdf file in App_Data of my dotnet mvc solution. The .mdf file is added, but the.ldf file is not.
I tried restarting VS as an administrator but am still facing the issue.
2 Replies
I guess this was asked quite some time ago, but error code 3 generally means one of the folders in the path was not found.
Are you positive this path exists? What happens if you do this in PowerShell:
Thanks for responding. Yeah, I did check it. I tried doing the same in another location, and there were no issues, so I completed the project and copied it to the original location.