C
C#•6d ago
Will

ADO.NET Error

Hi everyone, I'm running into an issue when trying to add an ADO.NET Entity Data Model in Visual Studio 2022. I get a System.Data.Entity.Core.EntityException with the inner exception saying: "An attempt to attach an auto-named database for file ... failed. A database with the same name exists..." It seems VS is looking for the .mdf file inside the VS Installation folder (Common7\IDE) instead of my project folder. Has anyone faced this pathing issue before? Is this related to a bad connection string in Web.config or a LocalDB instance conflict? Any help is appreciated!
No description
15 Replies
Unknown User
Unknown User•6d ago
Message Not Public
Sign In & Join Server To View
Will
WillOP•6d ago
for learning 😄
Unknown User
Unknown User•6d ago
Message Not Public
Sign In & Join Server To View
Will
WillOP•6d ago
i see, so basically what I should do to learn the new thing is create the ASP.NET Core Web App (MVC) and follow the newest tutorial right?
Unknown User
Unknown User•6d ago
Message Not Public
Sign In & Join Server To View
Will
WillOP•6d ago
So to clarify, I learn this for my internship on december which the company told me that they're using ASP.NET for their projects. This's what I should learn right?
No description
Will
WillOP•6d ago
also do u have a recommended tutorial for me on starting learning on ASP.NET environment? since my background is on golang backend development, and this visual studio is a whole new thing for me
Unknown User
Unknown User•6d ago
Message Not Public
Sign In & Join Server To View
Will
WillOP•6d ago
im afraid no, the company only told me like they use Vue as their frontend and ASP.NET as their backend but no further information regarding what dotnet they're using
Unknown User
Unknown User•6d ago
Message Not Public
Sign In & Join Server To View
Will
WillOP•6d ago
okay then! thank you so much for the help! I really appreciate it btw do u have any recommended tutorial on learning aspnetcore webapi?
Unknown User
Unknown User•6d ago
Message Not Public
Sign In & Join Server To View
Will
WillOP•6d ago
okay! thank you so much! for ur help btw my job started at december, do u think i will have enough time to learn all of this before 1st december?
Unknown User
Unknown User•6d ago
Message Not Public
Sign In & Join Server To View
Will
WillOP•6d ago
i see, okay then! thank you", ima close this forum right now. Thank you so much!

Did you find this page helpful?