Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 change the file location of mdf file

Author  Topic 

jacobgold
Starting Member

5 Posts

Posted - 2012-05-10 : 16:03:36
hi i'm working with a vb.net project that works with a sql server database the database is currently not located in the program file i would like to transfer the mdf file to the vb project but when i transfer it i can not attach it to the server
i tried to open it by click the file and open with sql and it returned a error i tried with attaching with management studio but the three does not open till this file i don't know why

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2012-05-10 : 18:45:47
quote:

but the three does not open till this file i don't know why



What? Could you at least post an error?

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog
Go to Top of Page

jacobgold
Starting Member

5 Posts

Posted - 2012-05-11 : 18:14:37
as i said earlier wen i do this the tree simply doesn't open till the mdf file i can't get why

and when i try the attach command i it returns an error that access is denied i already changed all permissions and it stil does not work
Go to Top of Page
   

- Advertisement -