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 December 19th, 2014, 12:28 AM
Registered User
 
Join Date: Dec 2014
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Exclamation CH12: Database diagrams issue (p 427)

Hello Imar! First off, i think this is pretty cool that i can reach out to you and have a remote possibility of getting assistance from you, or getting help from someone else.

the trouble i am having isnt exactly with the steps themselves, but with VWD itself. On page 427 of the asp.net 4 c# and VB, I am stuck at steps 1 thru 3.

In step 1 you, you mention that when you click on the database diagrams element and click on "Add new diagram", I may be prompted with a dialog box saying that the database doesnt have a valid dbo user or you do not have permissions to impersonate the dbo user, so database diagramming is not available. do you want to make yourself the dbo of this database <etc>?
i click yes and then get another message
This server does not have one or more of the database objects required to use database diagramming. do you wish to create them?
i click yes again
then i get a third message, one not told about in your book. it states "could not obtain information about Windows NT grou/user 'domain/username', error code 0x54b. i click ok and nothing happens.

now, here's where it gets interesting.
I am using my company laptop to do this coursework through my college. it is registered on the company domain. And i also have VPN access to my company.
When i enable the VPN, i do not get any of the above prompts when i go to Add new diagram. instead i get a blank white page. but if i go up to the menu option "database diagram" to add new diagram, everything in the menu is grayed out.

i found some sites that said if you run a SQL script that alters the authorization
ALTER AUTHORIZATION ON DATABASE::[<Database>] TO [sa];
but that doesnt work. i get a parser error.

I am not sure what else to do...


if it helps, here is a link to what i have created so far. its a link that goes to a 7z file of the planet wrox website.

https://drive.google.com/a/grantham....ew?usp=sharing
 
Old December 19th, 2014, 06:12 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Sounds like you may be actually logged on to the domain. Google brings up things like this:

http://serverfault.com/questions/162...upport-objects

Maybe that's issue?

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!





Similar Threads
Thread Thread Starter Forum Replies Last Post
Database Diagrams Doctor-job BOOK: Beginning ASP.NET 4.5 : in C# and VB 4 June 14th, 2013 09:26 AM
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





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