?
Solved

sql server management studio express data attach won't open some of the folders in the tree heirarchy

Posted on 2011-03-23
3
Medium Priority
?
450 Views
Last Modified: 2012-05-11
I've been working with Visual studio 2008 and created a sql database in the app_data folder. The tutorial I was following demonstrated how to attach to the database with Management Studio Express.

I am unable to attach the database in my instance of sql server 2005 express because the Locate Files browser (Databases | Attach ... | Add | Locate Database Files) won't open subfolders in my \Documents and Settings folder. The files are located down in the \My Documents\Visual Studio 2008\Websites folder.

All the files were created within my user profile which has admin priviliges.

Thanks for any help.
0
Comment
Question by:Kenhigh2000
  • 2
3 Comments
 
LVL 40

Expert Comment

by:lcohan
ID: 35201608
"All the files were created within my user profile which has admin priviliges" what do you mean by this? did you "created" the database files under the ..\My Documents\Visual Studio 2008\Websites folder?

Assuming not and you just copied the files there I suggest you move them anyway in a different location than your "\My Documents\Visual Studio 2008\Websites folder"
Just create a new folder on a LOCAL or SAN drive and not network drive attached to your server and try to attach them again.
0
 

Accepted Solution

by:
Kenhigh2000 earned 0 total points
ID: 35204596
I granted full permision to my documents and the visual studio 2008 folder inside my documents


KENNY-PC\SQLServer2005MSSQLServerADHelperUser$KENNY-PC

KENNY-PC\SQLServer2005MSSQLUser$KENNY-PC$SQLEXPRESS

NETWORK

NETWORK SERVICES

LOCAL SERVICE


and I went to service maneger and right click SQL Server(SQLECPRESS) for properties
and click log on to select local system account. I restart my computer it works.
I was getting error from the the data in visual studio. All I had to do is to change the data to
c:\ drive and it works
0
 

Author Closing Comment

by:Kenhigh2000
ID: 35230178
I had to google around and finally I encounter a solution for it
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

So every once in a while at work I am asked to export data from one table and insert it into another on a different server.  I hate doing this.  There's so many different tables and data types.  Some column data needs quoted and some doesn't.  What …
In this article I will describe the Copy Database Wizard method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
this video summaries big data hadoop online training demo (http://onlineitguru.com/big-data-hadoop-online-training-placement.html) , and covers basics in big data hadoop .
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question