I think you may use the sp_attach_db to do that
.Net SqlClient Data Provider: Msg 5122, Level 16, State 1, Line 1
Directory lookup for the file "C:\Projects\Foo\Trunk\App_Data\MyTestDB.mdf" failed with the operating system error 5(Access is denied.).
What's weird is that I opened up the permissions (Everyone = FullControl). Any ideas about why I might be getting this error?
hths
Thanks
If so its, Tools > Database Utilities > Linked Table Manager...
You can create a connection to a SQL table here.
Or if you mean you want your application to talk to sql tables you need to create a data connection, data adapter and ultimately you would need the dataset...
hth
Keith Hill wrote:
Nevermind. I had not opened up the permissions on the parent dirs. It connects now. Thanks.
Hi,
How do you set the permissions? I have the same problem.
Regards