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
426 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

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Suggested Solutions

This article will describe one method to parse a delimited string into a table of data.   Why would I do that you ask?  Let's say that you need to pass multiple parameters into a stored procedure to search for.  For our sake, we'll say that we wa…
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.
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

747 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now