Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 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 .
DRM-free e-books 300x50
 
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old December 9th, 2005, 03:21 AM
Registered User
 
Join Date: Dec 2005
Location: , , .
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default password for WU WebSite

When I try to open up the Wrox United Website, it asks me for a user name and password.

Enter user name and password at "" localhost.

I suspect it is a database configuration thing. I am using SQLServer 2000. What do I do to fix it so that it is normal as in the book? It works for my other computer so the files should be porperly setup. An explaination of why this occured would be greatly appretiated.

  #2 (permalink)  
Old December 9th, 2005, 05:22 AM
Authorized User
 
Join Date: Dec 2003
Location: , , United Kingdom.
Posts: 46
Thanks: 0
Thanked 1 Time in 1 Post
Default

I'm not sure working with SQL 2000 will work. While you can normally attach MDF files (the database file) into SQL Server, the supplied ones use SQL Server 2005 Express Edition, which is a later version, and you might not be able to attach that to SQL 2000. The book and website has been designed around SQL Express, so all of the data would have to be exported from the existing database and imported into SQL 2000; you'd need additional tools for that.

The security database can easily be configured to use SQL 2000 as there is a tool call aspnet_regsql in the framework directory (c:\windows\Microsoft.NET\Framework\v2.0.50727).

Dave

  #3 (permalink)  
Old December 9th, 2005, 11:25 AM
Registered User
 
Join Date: Dec 2005
Location: , , .
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Well I do have SQLExpress installed it seems, (came with VWD which I did not notice before). the box which pops up when I try to access the page at: http://localhost/WroxUnited is as below:

http://img212.imageshack.us/my.php?i...ication6ot.gif

no matter what login details I input, blank or sa login it would not let me pass. So how do I fix this?

  #4 (permalink)  
Old December 9th, 2005, 11:35 AM
Authorized User
 
Join Date: Dec 2003
Location: , , United Kingdom.
Posts: 46
Thanks: 0
Thanked 1 Time in 1 Post
Default

1. Launch Internet Information Services (Program Files | Adminastrative Tools).
2. Open the Machine name, then the Default Web Site node.
3. Right-click on WroxUnited under that and select Properties.
4. Select the Directory Security tab
5. Select the top Edit button (in the Anonymous access and authentication section).
6. Tick "Anonymous access" and click OK to close all open windows.

Dave

  #5 (permalink)  
Old December 9th, 2005, 08:41 PM
Registered User
 
Join Date: Dec 2005
Location: , , .
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I still can't get it to work though the authentication box no longers pops up another problem has occurred, here is what happens when I follow your steps:

I select anon option as recommended:
http://img216.imageshack.us/my.php?image=authen0zr.gif

the login and password is autogenerated. Also when I check the options here with the projects which work, the details in this windows match theirs. but now when I try to access the site again this error shows up in the browser:

ERROR: 500 Internal Server Error
HResult: 0x80070005
Source: Microsoft SQL isapi extension
Description: Invalid virtual root settings

So what does this error mean?

EDIT: This is what happens when I try to run this app through VWD with Cassinni (by pressing f5):

http://img220.imageshack.us/my.php?image=vwdau6xx.gif

EDIT2: I tried to delete the Wrox directory and do teh setup process again as entailed in AppB, now I get a different error, this is so strange!

ERROR: 400.100 Bad Request
HResult: 0x80004005
Source: Microsoft SQL isapi extension
Description: Queries are not allowed
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
all about website benny HTML Code Clinic 2 February 11th, 2008 04:49 AM
Wrox website HarishASP BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 0 August 21st, 2007 08:37 PM
Dynamic website to Static website Aboal3ood ASP.NET 1.x and 2.0 Application Design 4 December 7th, 2006 11:46 AM
Link to a Website jmss66 VB How-To 3 June 15th, 2006 10:01 AM
website error kucker6 ASP.NET 1.0 and 1.1 Basics 3 June 1st, 2006 01:08 PM



All times are GMT -4. The time now is 10:31 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.