Welcome to Dream.In.Code
Become a C# Expert!

Join 150,423 C# Programmers for FREE! Get instant access to thousands of C# experts, tutorials, code snippets, and more! There are 1,098 people online right now. Registration is fast and FREE... Join Now!




Connecting to datasource

 
Reply to this topicStart new topic

Connecting to datasource

binnu
31 Mar, 2008 - 08:22 PM
Post #1

New D.I.C Head
*

Joined: 30 Mar, 2008
Posts: 5

Actually i have 2 work with sql server.for connecting i have also gone through MS ODBC administrator.there also 'TEST COnnection' failed.
My database name is 'BINDU'
the tablename i have created in sqlplus is-'emp1'
what will be file extension for that emp1?


When i want 2 connect to datasource from windows application i did like this.

in props window
connect to data source--->database---->Next---->New connection----->Microsoft Sql server---->Continue----->(Server name)==Local system------->windows authenication--->(attach to database)===Bindu-------->(database file)----->In browse option how to find emp1 file bcoz i dont know the extension?------>Test connection----->
the foloowing message is displayed in the window-----

-----> An error has occured while establishing a connection 2 the server.when connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQl server does not allow remote connections.(provider:Named Pipes Provider,error:40-Could not open a connection to SQl Server).


plz tell me why it's happening like that?

User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 1/9/09 08:37PM

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter

Live C# Help!

C# Tutorials

Reference Sheets

C# Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month