Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > .NET > Other .NET > ADO.NET
Password Reminder
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
ADO.NET For discussion about ADO.NET.  Topics such as question regarding the System.Data namespace are appropriate.  Questions specific to a particular application should be posted in a forum specific to the application .
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ADO.NET 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 14th, 2004, 03:34 AM
Registered User
Join Date: Apr 2004
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default connecting to database with vb.net


I've just purchased the book ASP.NET Website programming - Problem - Design
- Solution: I'm trying to set up the website that comes with the book but I'm getting an error when connecting to the database on my sql server machine. My sql server db is located on a separte machine called is-sv-killianc2, so I've changed all my config files to the following


I'm getting the error msg SQL Server does not exist or access denied. Am I missing something? Please advise

Thanks for your time

Reply With Quote
  #2 (permalink)  
Old April 14th, 2004, 06:12 AM
Friend of Wrox
Points: 3,558, Level: 25
Points: 3,558, Level: 25 Points: 3,558, Level: 25 Points: 3,558, Level: 25
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Join Date: Jun 2003
Location: California, USA
Posts: 996
Thanks: 2
Thanked 11 Times in 11 Posts
Send a message via Yahoo to melvik

If u use Web.Config it should like this in ur Web.Config

    <add key="ConnectionName.ConnectionString" value="data source=BORNA;initial catalog=NewBaz;password=power;persist security info=True;user id=empower;packet size=4096"/>
    <add key="Server" value="BORNA"/>

Then in in design time of Connection Obj. set the properties to:
Name: ConnectionName
dynamic property: Connection = ...

HTH, keep in touch.

Hovik Melkomian.
Reply With Quote
  #3 (permalink)  
Old April 16th, 2004, 01:02 PM
Registered User
Join Date: Apr 2004
Location: , , .
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts


Please confirm that your ServerName "is ie-sv-killianc2" and your SQL be Server is open .

Reply With Quote

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
vb.net connecting to server waad VB Databases Basics 1 December 18th, 2007 04:17 PM
Connecting database using ms access and vb.net adil_farooq Access 0 October 27th, 2005 11:54 PM
Connecting to Active Directory database via VB.NET djoherl Pro VB Databases 1 May 20th, 2005 05:23 PM
connecting to siebel from vb.net hougie ADO.NET 0 July 1st, 2004 09:23 AM
Connecting to MySQL with VB .NET CFerthorney Pro VB.NET 2002/2003 1 October 23rd, 2003 04:20 PM

All times are GMT -4. The time now is 02:38 AM.

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