Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 3.5 > BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3
This is the forum to discuss the Wrox book Beginning ASP.NET 3.5: In C# and VB by Imar Spaanjaars; ISBN: 9780470187593
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 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
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old December 30th, 2009, 12:07 PM
Registered User
 
Join Date: Dec 2009
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default Chapter 11: SQL Server connection (General question)

Hello,

I had a problem in the Try It Out exercise on chapter 11. After adding the PlanetWrox.mdf and PlanetWrox_log.ldf files to App_Date folder, when I double clicked the database it took several seconds and then I saw the following message:

http://i45.tinypic.com/2j4wkqw.jpg

I've been through all the Try It Out exercised and the problem was solved. However, I solved the problem only after adding the "Network Service" account, while ASPNET account wasn't even there (After doing the whole aspnet_regiis -i procedure (I'm using XP)). Moreover, I couldn't see the "IUSR" / "IUSR_MachineName" accounts in the "Select Users or Groups" window. My question is - Why is it like this, and if there's any chance for future problems manipulating the DB (later in the book) because of that?

Last edited by StamPita; December 30th, 2009 at 12:10 PM.
Reply With Quote
  #2 (permalink)  
Old January 2nd, 2010, 01:02 PM
Imar's Avatar
Wrox Author
Points: 71,558, Level: 100
Points: 71,558, Level: 100 Points: 71,558, Level: 100 Points: 71,558, Level: 100
Activity: 100%
Activity: 100% Activity: 100% Activity: 100%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,000
Thanks: 79
Thanked 1,573 Times in 1,550 Posts
Default

Hi there,

Do you have SQL Server Express installed on your local machine? If so, does it have SqlExpress as the instance name? What accounts did you configure for the App_Data folder? The Network Service account is used by SQL server as well, so if you've attached databases to this SQL server, you need to grant access for NS as well. Check out Appendix B for more info.

If this doesn't help / explain things, please provide more info about your setup of VWD, IIS, SQL Server, OS and so on, and when you run into problems exactly.

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!
Reply With Quote
Reply


Thread Tools
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
Chapter 11 Sample database Connection Closed sanmarie BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 15 May 30th, 2009 04:50 AM
Chapter 11 Connection Issue justin000 BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 3 August 4th, 2008 06:14 AM
Connection Chapter 11?! workidoo BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 3 July 15th, 2008 04:01 AM
Quick Question for Author of Chapter 11 Wullie BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 0 July 16th, 2006 06:54 PM



All times are GMT -4. The time now is 08:09 PM.


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