Wrox Programmer Forums
|
BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8
This is the forum to discuss the Wrox book Beginning ASP.NET 2.0 by Chris Hart, John Kauffman, David Sussman, Chris Ullman; ISBN: 9780764588501
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 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 April 16th, 2007, 08:26 PM
Authorized User
 
Join Date: Apr 2007
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Default How do you add a login to sql 2005

I have looked and looked but no where is there a step by step break down of how to add a login?

Also need to know how to attach a database

and add users.

Basically I have xp pro, sql 2005 developers edition, iis 5.1

And I don't understand what to do for the troubleshooting section in appendix B:(

Thanks for your help in advance.
 
Old April 16th, 2007, 08:27 PM
Authorized User
 
Join Date: Apr 2007
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Oh and I have the C# book
 
Old April 17th, 2007, 08:55 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 105
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via MSN to DanM
Default

Hi,

I've completely revised Appendix B and tweaked the WroxUnited code so that it is easier to install. I have also included instructions on how to add SQL logins for your databases as well. Please find the new appendix and code on my website at http://www.hmobius.com/downloads.aspx

Thanks, dan

Dan Maharry
Read the feed at http://feeds.feedburner.com/dansarchive
 
Old April 17th, 2007, 06:07 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 105
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via MSN to DanM
Default

Hi,

> Still have the issue of I hit f5 and get http://localhost:1051/WroxUnited and not http://localhost/WroxUnited

Ok, it sounds like you're opening the web site in Visual Studio from the File System rather than from IIS. In the new appendix help file, rework through the instructions for running the site on IIS, VS FUll and SQL Full and it'll show you how to open the web site from IIS. If you're having permissions problems as well, it sounds like you'll also need to check through the page called 'Set Your Permissions for IIS'

Dan

Dan

Dan Maharry
Read the feed at http://feeds.feedburner.com/dansarchive
 
Old April 17th, 2007, 06:43 PM
Authorized User
 
Join Date: Apr 2007
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi,

I found my problem. I did not put defult.aspx after the http://localhost/WroxUnited

Also in your help file some of your links do not work.

************************************************** *******
Download the code for WroxUnited
You can download the code for the WroxUnited site from my own site, hmobius.com. I've tweaked the web.config file to make it easier to get things working using a SQL Server 'full' edition - hopefully this will filter back into the downloads on wrox.com at some stage.


Site only code - C# from hmobius.com (called WroxUnitedCS.zip) (THIS LINK DOES NOT WORK)
Site only code - VB.NET from hmobius.com (called WroxUnitedVB.zip) (THIS LINK DOES NOT WORK)
************************************************** ************************************************** *

In your download there is no begin or end in order to fully complete the task list in the book.

nor does it have a folder called WroxUnitedCS, but neither does the main download from this site either. That is a error that also needs do be fixed with either the book or the download.
 
Old April 18th, 2007, 04:13 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 105
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via MSN to DanM
Default

Hi tgregory,

Good spot that - I had just the directory in the link rather than the file too. I've updated it now with the links working.

As to the begin\end chapters, this is just the full working code for wroxunited.net. It's not for any specific chapter - in the full download for the book on wrox.com, this is the replacement for finalapplication.zip.

The point of the new appendix is to make sure that everyone knows how to set up the code so they can work through the book with it rather than getting stuck - as you did - at the first step.

I hope that helps.

Dan

Dan Maharry
Read the feed at http://feeds.feedburner.com/dansarchive
 
Old April 18th, 2007, 04:19 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 105
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via MSN to DanM
Default

Incidentally, if you needed to type http://localhost/WroxUnited/default.aspx to get your site working rather than just http://localhost/wroxunited/ you might not have the default page set up in IIS.

Open IIS, right-click on the WroxUnited virtual directory and click properties. Click the documents tab and make sure Default.aspx is in list of pages in the section marked 'Enable default content page'. If it isn't, click Add, and add it. That should help. I think that if you install IIS after .NET the default.aspx entry doesn't get added.

Dan

Dan Maharry
Read the feed at http://feeds.feedburner.com/dansarchive
 
Old April 18th, 2007, 01:34 PM
Authorized User
 
Join Date: Apr 2007
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Yes you where right.

This is something you may want to add to your changes. I would have never known.

Thanks
tgregory
 
Old April 19th, 2007, 05:15 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 105
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via MSN to DanM
Default

Glad to be of help. I'll add it in for the next release of the appendix

Dan Maharry
Read the feed at http://feeds.feedburner.com/dansarchive





Similar Threads
Thread Thread Starter Forum Replies Last Post
reg conn to sql server 2005 from vb.net 2005.. veda SQL Server 2005 2 July 1st, 2008 12:16 AM
Upgrade 2000 DBs to 2005 or install SQL 2000/2005 cJeffreywang SQL Server ASP 0 February 13th, 2008 10:44 PM
Converting from MS SQL 2005 to Sql Epress edition saif44 SQL Language 0 February 16th, 2007 04:17 PM
Video: Extending Visual Studio 2005 with Add-ins jminatel Forum and Wrox.com Feedback 0 January 31st, 2007 02:42 PM
Sql 2000 VS Sql 2005 Reporting Service abdul_owiusa Reporting Services 0 June 25th, 2006 12:01 PM





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