473,418 Members | 2,177 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,418 software developers and data experts.

is it possible to open mdf file in sql 2008

25
hi everyone here, hope u r doing well


My question that I want to make a page in ASP.Net based on database and I'm a newbie, recently I have got a complete project that one of my friend gave it to me, made in ASP.Net plus SQL Server. I want to add pages and some code in that and I want to start it in my local server in Win 7 ultimate for a test. I saw the mdf DB file in APP_DATA folder and I want to open for editing and add tables and change the data inside. So how can I open MDF file was made in SQL 2005 Express to open it in MS SQL 2008 Developer Ed?

By the way, When I open the file under Database node and choose attach and add the file and click ok I get this msg

Expand|Select|Wrap|Line Numbers
  1. "an error occurrred when attaching the database. click the hyperlink in the message column for details"
  2.  
Also when I open the file in MS Visual studio 2008 pro and point to the file mdf and click on it I get this msg

Expand|Select|Wrap|Line Numbers
  1. "Required components missing
  2. connections to SQL Server files (*.mdf) require SQL server express 2005 to function properly. Please verify the installation of the component or download from the url: http://go.microsoft.com/fwlink/?linkid= 94251"
  3.  
Please tell me how can I open it.
Oct 19 '10 #1
1 1706
ck9663
2,878 Expert 2GB
I found this somewhere...

Good Luck!!!

~~ CK
Oct 19 '10 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: Daniel Polansky | last post by:
Is there a way to open file for writing so that the opening fails if the file already exist? This needs to be atomic operation so that it is possible to use the file as a semaphore. As a result,...
0
by: Stephen | last post by:
could someone give me some advise on a problem I have. At present i have a web application which displays pdf files in a web browser using javascript and the window.open method and pointing to a...
5
by: Mr Gordonz | last post by:
Hi all, I want to put a button on a page, and when the user clicks it, the standard Windows "Open File" dialogue box opens, and the user can browse/select a file on their PC. Having selected a...
1
by: archana | last post by:
Hi all, I am new to asp.net. I heard somthing like we can't open file which is there on client pc without uploading that file onto out server. Is it right? If i am wrong then please correct...
6
by: rahulthathoo | last post by:
Hi I have my home directory on my departments server. Somehow I am not able to write to a file using a php code, $myFile = "trial3.txt"; $fh = fopen($myFile, "a+") or die("can't open file"); ...
1
by: Mike P | last post by:
Is is possible to create an open file dialog box in ASP.NET that allows the user to save a file to whatever directory they choose locally? *** Sent via Developersdex http://www.developersdex.com...
2
by: aaron.watters | last post by:
Hi. I'm writing an archival system which I'd like to be portable to Windows. The system relies on the property of Unix which allows a process to keep a file open even if another process renames...
0
by: cryinlion85 | last post by:
if i have administrative privileges on a machine, is it possible through File methods to open a file for I/O under a different user account? here's my situation, please read through before replying:...
18
by: Coffee Pot | last post by:
Thanks for any advice. ~ CP
2
by: pandehrushikesh | last post by:
I am doing setup project in VS 2008. I used custom action to select file from local drives. On the button click of custom action form, I am launching Open file dialog as ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.