Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > ASP.NET 2.0 Basics
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
ASP.NET 2.0 Basics If you are new to ASP or ASP.NET programming with version 2.0, this is the forum to begin asking questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Basics 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 July 24th, 2009, 11:06 AM
Authorized User
 
Join Date: Jul 2009
Posts: 20
Thanks: 0
Thanked 1 Time in 1 Post
Default Connect SqlDataSource to SQLServer

Hi there,

I am trying to redeploy my website in ASP.NET which uses a SQLServer DB.

The DB exists on the server but when I try to connect to the SQLServer with a SqlDataSource I get the message that the DB was not found and the Named Pipes-Provider, error: 40. There is no server in the Server name list. I got the server running and TCP / pipes are enabled.

I appreciate your help
Reply With Quote
  #2 (permalink)  
Old July 25th, 2009, 09:59 PM
Friend of Wrox
 
Join Date: Nov 2007
Location: Central Florida, USA.
Posts: 207
Thanks: 2
Thanked 15 Times in 15 Posts
Default hmmm...

Is it on the same server as the web? or is it different? if it's the same you could just make the datasource=localhost and if it's on a different server make sure you have the name spelled correctly or try using the IP of the server (assuming it's static).
__________________
Jason Hall

Follow me on Twitter @jhall2013
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
sqldatasource imjayakumar ASP.NET 2.0 Professional 3 May 21st, 2007 02:56 PM
sqldatasource imjayakumar ASP.NET 2.0 Professional 0 May 19th, 2007 03:58 AM
how to connect to sqlserver database file bhaveshsanghani BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 1 May 3rd, 2007 05:44 PM
SQLserver 2000 vs SQLserver 2005 Express cJeffreywang BOOK: Beginning ASP.NET 2.0 and Databases 0 April 22nd, 2007 10:52 AM
Connect Remote SQLServer Database krajdyal ADO.NET 1 December 21st, 2005 02:47 PM



All times are GMT -4. The time now is 02:55 PM.


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