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
435 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

INTRODUCTION: While tying your database objects into builds and your enterprise source control system takes a third-party product (like Visual Studio Database Edition or Red-Gate's SQL Source Control), you can achieve some protection using a sing…
In SQL Server, when rows are selected from a table, does it retrieve data in the order in which it is inserted?  Many believe this is the case. Let us try to examine for ourselves with an example. To get started, use the following script, wh…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

729 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