Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Search | Today's Posts | Mark Forums Read
BOOK: ASP.NET Website Programming Problem-Design-Solution
This is the forum to discuss the Wrox book ASP.NET Website Programming: Problem - Design - Solution, Visual Basic .NET Edition by Marco Bellinaso, Kevin Hoffman; ISBN: 9780764543869
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: ASP.NET Website Programming Problem-Design-Solution 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 April 4th, 2004, 04:21 PM
Authorized User
Join Date: Apr 2004
Location: Cannon Beach, OR, USA.
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default Difficulty getting thePhile up and running

I think this is a pretty basic question, but it's a stumbling block for me, and I would really appreciate some advice.

Can anyone be more specific about what to change in the config files? Step 5 of index.htm …

[begin quote]
You also need to change the name of database server in the following files listed below:
* Web.config
* All the config files residing in the C:\wrox\ThePhile\Config\ folder.
[end quote]

As an example, my unmodified Accounts.Config in my c:\wrox\ThePhile\Config is [my database is already set to ThePhile?]

[begin quote]
<?xml version="1.0"?>
<ModuleSettings xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<ConnectionString>server=CHARUL\NetSDK;database=Th ePhile;uid=sa;pwd=;</ConnectionString>
[end quote]

When I build, reboot, and open http://localhots/thephile I get the error "SQL server does not exist or access denied".

I am running Win XP Pro SP1 with SQL Server 2000 (the databse restored OK) and VS .Net Professional 2002.


  #2 (permalink)  
Old April 5th, 2004, 04:07 AM
Authorized User
Join Date: Nov 2003
Location: Caterham, Surrey, United Kingdom.
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts

What's the name of your SQL Server?
server=CHARUL\NetSDK indicates a named instance NetSDK on machine CHARUL. Unless you only installed MSDE as part of the Visual Studio Setup then this is probably wrong - you only need named instances when you want to run several versons of SQL Server concurrently on the same PC. If you installed SLQ Server (e.g. standard) with default values, then all you need is server=(local); or if it's on another pc then the name of that PC.

  #3 (permalink)  
Old April 5th, 2004, 05:08 AM
Friend of Wrox
Join Date: May 2003
Location: Delhi, Delhi, India.
Posts: 230
Thanks: 0
Thanked 0 Times in 0 Posts


As brian replied above, if your MSDE is installed on your development itself. You just need to change "CHARUL\NETSDK" to "server=(local)". Alternatively you can also define server name as "MACHINE NAME\INSTANCE NAME" syntax. The second approach is more usefull where you database is installed somewhere else in the network, but can also be used for standalone machine.

Charul Shukla
  #4 (permalink)  
Old April 5th, 2004, 12:32 PM
Authorized User
Join Date: Apr 2004
Location: Cannon Beach, OR, USA.
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts

Thanks. I have SQL Server 2000, not MSDE. (Well, I have MSDE on another machine, and I'll try it both ways.)

I replaced CHARUL/NetSDK with (local) and got past my error. I will also try the second approach; we have a workgroup with four machines here.

Thanks for your help. This looks like a great book, and I think I've gotten over the hump and can get into the fun stuff.


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
Difficulty with $_SESSION mall9@hotmail.com Beginning PHP 11 March 11th, 2006 05:41 PM
ASCII conversion loop difficulty crmpicco Excel VBA 2 May 3rd, 2005 01:41 PM
Error while running/executing project thePhile seetha_l BOOK: ASP.NET Website Programming Problem-Design-Solution 0 June 11th, 2004 11:31 AM
The Security problem in running ThePhile web APP crystallac BOOK: ASP.NET Website Programming Problem-Design-Solution 3 July 28th, 2003 01:22 AM
Problems running ThePhile web app kiekar BOOK: ASP.NET Website Programming Problem-Design-Solution 5 July 24th, 2003 07:39 PM

All times are GMT -4. The time now is 01:22 PM.

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