Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Register | 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 Display Modes
  #11 (permalink)  
Old January 20th, 2006, 04:49 PM
Registered User
 
Join Date: Jan 2006
Location: , , .
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I think there is something I don't understand about creating the login for NT AUTHORITY\NETWORK SERVICE.  What goes in the place of NT AUTHORITY? My login name? I got the other login entered.


Just tried it with my login name ie, uname\NETWORK SERVICE and I get an error saying it couldn't create account because of invalid characters in the name. I'm assuming the space is a problem but I'm not sure.
  #12 (permalink)  
Old January 21st, 2006, 06:09 AM
Wrox Author
 
Join Date: Jun 2004
Location: Liskeard, Cornwall, United Kingdom.
Posts: 59
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Ignore my last response, which I have deleted. It should be NT AUTHORITY\NETWORK SERVICE, this is a "general" account that might need enabling. Click New Database user in SQL and type this in exactly under the name. Make you select the database underneath as well. This account doesn't appear in the available users if you browse through it. Then click OK.

Chris

Chris Ullman
Programmer/Technical Author
http://www.cuasp.co.uk
  #13 (permalink)  
Old January 21st, 2006, 05:50 PM
Registered User
 
Join Date: Jan 2006
Location: , , .
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I see a NT AUTHORITY\SYSTEM but no NT AUTHORITY\NETWORK SERVICE. I cannot add this account either as I get an error saying it contains an invalid character. I can add just NETWORK SECURITY (and did so). This still doesn't work.

( Change the connection strings in web.config. That should be all for the WroxUnited database - then there's the providers, which can either be added to WroxUnited db or to a separate one.
)

I'm not sure what you mean by the "providers". What do I need to do about that?. If IIS is such a pain it would be nice if there were a set of instructions somewhere for setting this up. It is the platform it will run on in the real world, right?

  #14 (permalink)  
Old January 21st, 2006, 07:38 PM
Registered User
 
Join Date: Jan 2006
Location: , , .
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I went into sql server and attached both databases. I went into vb.net and put a datagrid on a form and pointed to the db and brought the data into a grid. I then opened that config file and copied the connection string into the web.config file. Still no luck. Get the same error message.

arrrrgh!!

  #15 (permalink)  
Old January 23rd, 2006, 08:15 AM
Wrox Author
 
Join Date: Jun 2004
Location: Liskeard, Cornwall, United Kingdom.
Posts: 59
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Can I just confirm what operating system you are using? and what service packs have been installed (if any)?

Chris

Chris Ullman
Programmer/Technical Author
http://www.cuasp.co.uk
  #16 (permalink)  
Old January 23rd, 2006, 09:08 AM
Registered User
 
Join Date: Jan 2006
Location: , , .
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I'm using XP Pro sp2

  #17 (permalink)  
Old January 27th, 2006, 11:50 AM
Wrox Author
 
Join Date: Jun 2004
Location: Liskeard, Cornwall, United Kingdom.
Posts: 59
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi,
    Sorry it took me so long to get back on this one. I'll admit I was stumped. The plain answer is you should be able to add this account. So I did some surfing and found that you're not the only one with this problem. I'm not sure this is exactly the same problem but it's worth a try.

http://www.sqljunkies.com/Forums/Sho...stID=6658#6658

Also did you install the sql 2005 beta at any time before the final version?

Chris

Chris Ullman
Programmer/Technical Author
http://www.cuasp.co.uk
  #18 (permalink)  
Old February 20th, 2006, 02:25 PM
Authorized User
 
Join Date: Feb 2006
Location: , , .
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi,

The last post on this topic was 1/27. I bought this book today (2/20) and have spent several hours trying to get the WroxUnited web app to run using SQL Server 2005 with no success. I have read and re-read these posts, trying the proposed solutions. No joy. Is there now or will there be soon an authoritative solution to this problem?

Setup:
Windows 2000 Pro SP4
Visual Studio 2005 Standard
SQL Server 2005 Standard

Mike
  #19 (permalink)  
Old February 21st, 2006, 12:04 PM
Wrox Author
 
Join Date: Jun 2004
Location: Liskeard, Cornwall, United Kingdom.
Posts: 59
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi,
   The problem here isn't with the WroxUnited app or the book, but it with SQL server 2005 and ASP.NET 2.0. I haven't been able to recreate this problem myself as I didn't have SQL Server 2005, only SQL Express. I've been keeping an eye on newsgroups to see if an authorative fix comes up, but unfortunately no joy. To be honest I've had a lot of problems with Visual Studio 2005 and wouldn't recommend using it with the book, as it certainly needs patching IMO.

I've just received SQL Server 2005, so I will now install and see if I can recreate the problem, however if I can't I'm not sure where I can take it from there. The plain answer is Network Service should be there and it is a bug that it is not.

Chris

Chris Ullman
Programmer/Technical Author
http://www.cuasp.co.uk
  #20 (permalink)  
Old March 7th, 2006, 11:42 AM
Registered User
 
Join Date: Mar 2006
Location: Austin, , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Sooooo.... what do I do now? I think from what I've been learning on this this is related to having either a DNS server or DC server on the same machine as the one you are trying to run SQL Server 2005 on. Yet I have tried to configure this on my laptop also to no avail. I have posted my questions to the asp.net news group and they don't seem to have an answer either. Any new ideas?

Here is my post on the newsgroup. Its under the title "Use VS2005 with Sql Server 2005 and attach a .mdf (ASP 2.0)"

http://msdn.microsoft.com/newsgroups...5-5b799ac5b46d

Thanks
Greg

 


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
reg conn to sql server 2005 from vb.net 2005.. veda SQL Server 2005 2 July 1st, 2008 12:16 AM
Wrox.com SQL Server 2005 Articles jminatel SQL Server 2005 6 April 10th, 2008 08:59 AM
SQL SERVER 2005 STANDARD (not express) proslambano BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 8 January 8th, 2007 07:55 PM
no wrox books on sql server 2005 connect2sandeep SQL Server 2000 4 September 1st, 2005 02:24 PM
Can we install SQL Server on WinXP Pro? dotnetwhizkid SQL Server 2000 6 August 26th, 2003 03:33 AM



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


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