ASP.NET 4.5 General DiscussionFor 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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .

I need help urgently. I am working in Visual Studio 2015 going through Imar's BEGINNING ASP.NET 3.5 IN C# AND VB (Chapter 13). I have shown Table Developer icons from Toolbars. When I add new Tables in Server Explorer and want to create RELATIONSHIPS, TABLE DESIGNER is not activated, it is still greyed out. What can I do?

Thanks Imar,
I am on page 444, Try It Out - A SIMPLE LINQDATASOURCE APPLICATION. I can create the two tables PhotoAlbum and Picture but I cannot establish the relationship because Table Designer is greyed out. Even If I connect to another SQL database and create tables, the Table Designer cannot be available, still greyed out.
Kindly help.
Thank
Chalo

Quote:

Originally Posted by Imar

Hi there,

Can you be a bit more specific about the exercise and steps you're on? ASP.NET targets Visual Studio 2008 so I am pretty sure some stuff will be quite different.

The table designer is now legacy and works with old versions of SQL Server only. My recommendation would be to use SQL Server Management Studio (also discussed in the book) for all schema and data manipulation. That's what I switched to in later versions of my book.

Hi Imar, Now on a different one about an exercise in your book BEGINNING ASP.NET 3.5

I am doing Try It Out Exercise pg 451. Once done it throws an error as
Server Error in '/' Application.
Index (zero based) must be greater than or equal to zero and less than the size of the argument list.
Error is in line 7 Response.Redirect(String.Format("ManagePhotoAlbum. aspx?PhotoAlbumId={0}"), myPhotoAlbum.ID.ToString())