Wrox Programmer Forums
|
BOOK: Beginning ASP.NET 4.5 : in C# and VB
This is the forum to discuss the Wrox book Beginning ASP.NET 4.5: in C# and VB by Imar Spaanjaars; ISBN: 978-1-118-31180-6
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET 4.5 : in C# and VB 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 June 7th, 2013, 11:03 AM
Authorized User
 
Join Date: Sep 2011
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Default Database Diagrams

Not able to add tables to data diagram. Every menu option under database diagram menu are disable.
 
Old June 8th, 2013, 08:39 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi there,

Can you provide a lot more detail? For example, where does this happen? In Visual Studio or in SQL Server Management Studio? Which versions of these programs are you using? What's the connection string you are using for that database / how do you connect to it?

Without that, it's impossible to tell what's going on.

Cheers,

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
 
Old June 10th, 2013, 09:13 AM
Authorized User
 
Join Date: Sep 2011
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Default Cannot att table to Database Diagram.

Connection String:
<connectionStrings>
<clear />
<add name="PlanetWroxConnectionString1" connectionString="Data Source=.\SQLEXPRESS;AttachDbFilename=&quot;C:\BegA SPNET\Resources\Chapter 13\PlanetWrox.mdf&quot;;Integrated Security=True;Connect Timeout=30;User Instance=True" providerName="System.Data.SqlClient" />
<add name="PlanetWroxEntities" connectionString="metadata=res://*/App_Code.PlanetWrox.csdl|res://*/App_Code.PlanetWrox.ssdl|res://*/App_Code.PlanetWrox.msl;provider=System.Data.SqlCl ient;provider connection string='data source=.\SQLEXPRESS;attachdbfilename=&quot;C:\BegA SPNET\Resources\Chapter 13\PlanetWrox.mdf&quot;;integrated security=True;connect timeout=30;user instance=True;multipleactiveresultsets=True;App=En tityFramework'" providerName="System.Data.EntityClient" />
</connectionStrings>

Using Microsoft Visual Studio 2010
ver. 10.0.40219.1SP1Rel
 
Old June 14th, 2013, 09:21 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi there,

Can you also answer the other questions I asked? I currently don't have a clue where this is happening, or what steps you're taken.

Cheers,

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
 
Old June 14th, 2013, 09:26 AM
Authorized User
 
Join Date: Sep 2011
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Smile Database designer

Hi Imar, don't worry about this. It seems to be only happening in Windows 7. I setup a Windows Vista machine and I no longer have the problem.

Probably also that the Windows 7 machine is on a LAN. I can no plug away.

Thanks for responding.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Database diagrams (aka Queries) Steve1977 BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 1 September 14th, 2008 07:06 AM
C# database, diagrams StreetSweaper C# 1 December 25th, 2003 06:15 AM
diagrams yagiroy SQL Server 2000 6 June 28th, 2003 01:39 PM





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