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
429 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 39

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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How to enforce inte 8 52
SQl server restarts itself 6 38
SQL Express connecting form remote error 26 7 45
create insert script based on records in a table 4 21
There are some very powerful Data Management Views (DMV's) introduced with SQL 2005. The two in particular that we are going to discuss are sys.dm_db_index_usage_stats and sys.dm_db_index_operational_stats.   Recently, I was involved in a discu…
by Mark Wills PIVOT is a great facility and solves many an EAV (Entity - Attribute - Value) type transformation where we need the information held as data within a column to become columns in their own right. Now, in some cases that is relatively…
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

810 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