ReportPortal
ReportPortal
Home | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 ReportPortal General Forum
 Report Portal General Issues
 SQL Connection String

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Message:

* HTML is ON
* Forum Code is OFF
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
David Edwards Posted - 04/09/2007 : 11:56:41
Can someone help me with a connetcion string to an SQL2005 Database.
I have tried using following string
Provider=sqloledb.1;
Data Source=(local);
Initial Catalog=myDataBase;
User Id=myUsername;
Password=myPassword;

Many Thanks

1   L A T E S T    R E P L I E S    (Newest First)
admin Posted - 04/09/2007 : 20:18:14
You can build your connection string in the following way:

1) Create a blank text file
2) Rename the file to Test.udl
3) Double click Test.udl
4) Click on the Provider tab ad select OLEDB provider for SQL Server
5) On the next tab enter the connection information and test the connection.
6) Check Allow Saving password option
7) Click ok to save the file
8) Open Test.udl in notepad and copy the line that starts with "Provider="

Also, the newest build (starting 137) creates the connection string for you. Just go to Admin > Connections to make one.

ReportPortal © 2000-2002 Snitz Communications Go To Top Of Page