Wrox Programmer Forums
ASP.NET 4.5 General Discussion For ASP.NET 4.5 discussions not relating to a specific Wrox book
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 4.5 General Discussion section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old December 7th, 2013, 03:56 PM
Authorized User
Join Date: Sep 2013
Posts: 18
Thanks: 8
Thanked 1 Time in 1 Post
Default problem creating entity data model

Hi, I'm using Visual Studio 2013 and SQL Server 2012 Enterprise Edition....
I've write a few web applications and all of them works fine...
Now I want build a new one with visual studio 2013... I choose Empty Web Application... then I want to create a entity data model from its wizard...
I simply click on add new item, ado.net entity model and etc...
since I created a database in SSMS before, I want to use database first solution...
here is my problem :
when I want to add database from wizard, it says "this file is in use. enter a new name or close the file that's open in another program"
so I have to go to SSMS and bring (Take) Offline my database...
now when I select database in visual studio and entity model wizard, this problem solved and I got new one!
it says " can't open database ((path database)) requseted by the login. The login faild.
login faild for user "((Pc Name and User))"
help me please...
thanks in advance...

Last edited by Kourosh94; December 7th, 2013 at 04:15 PM..

Similar Threads
Thread Thread Starter Forum Replies Last Post
Chapter 14: Entity Model Code WILL NOT WORK! pittfurg BOOK: Beginning ASP.NET 4 : in C# and VB 6 February 28th, 2013 07:48 AM
entity data model problem and maximum exceeded errors Caden11998 ASP.NET 4 General Discussion 0 August 29th, 2012 11:55 AM
Trouble Creating Entity Framework Model floridaguy BOOK: Beginning ASP.NET 4 : in C# and VB 4 November 16th, 2011 02:56 PM
Chapter 14 - ADO.NET Entity Data Model Sean1980 BOOK: Beginning ASP.NET 4 : in C# and VB 3 July 15th, 2011 12:24 PM
confusing in ADO.NET Entity Data Model,Linq to sql angelboy ADO.NET 5 November 21st, 2008 05:01 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.