Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
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
?
447 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

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…
Data architecture is an important aspect in Software as a Service (SaaS) delivery model. This article is a study on the database of a single-tenant application that could be extended to support multiple tenants. The application is web-based develope…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…

636 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