
December 10th, 2004, 07:12 AM
|
|
Registered User
|
|
Join Date: Dec 2004
Location: Harrogate, UK
Posts: 15
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
You'll need to create SQL logins on the database server with appropriate permissions.
To generate a connection string, the easiest way is: - create a new text document
- rename it to conn.udl (so long as the extension is .udl it doesn't matter what you call it) You will need to switch "hide extensions for known filetypes" off if you haven't already (in explorer: tools > folder options > view)
- conn.udl's icon should have changed. If it hasn't, see above for showing the full extension. Double click on it.
- You now have a nice gui to play with - select an appropriate provider and fill in the other bits as needed. Test the connection. If you've done it right you should get a popup box saying test connection succeeded.
- Click OK
- Open up conn.udl in notepad or your favourite text editor. One connection string ready made...
|