473,657 Members | 2,419 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

is it possible to open mdf file in sql 2008

25 New Member
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 1717
ck9663
2,878 Recognized Expert Specialist
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
5465
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, the following coding does not do: if (!file.exist()) { // open the file for writing ... A similar function definitely exists for accessing files in
0
1639
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 web address like window.open(http://.........). I have been asked to find out if it is possible to do something similar but instead opening a file located on my web server e.g.(G:\psh-4.pdf). I would like to be able to display the file in the web...
5
3600
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 file, the user clicks Open, and I then want to capture the file path and name in a string variable. Finally, I want to upload the file to the server. BUT: I don't want to use an <input type="file"> control.
1
1908
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 me. One more thing if it is possible to open file which is there on client's pc in read mode, then which class i need to user.
6
3353
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"); Instead of a+ if i use r or w or anything, it does not work. Could this be a permission thing? The entire directory had a 777 permission and even i after i created a file and chmod'ed 777 to it, the code couldnt open it. What could be the matter?...
1
704
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
1549
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 it while it is open. Neither process sees any anomaly or error. Do the NT file systems support this feature (which I think is standard for POSIX systems)?
0
897
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: i have a program running on a client PC. i want it to run as administrator because it accesses sensitive files that i do not want a regular user to be able to touch. this program also references a remote file on a server, to which it also...
18
14622
by: Coffee Pot | last post by:
Thanks for any advice. ~ CP
2
3427
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 ofdGetNetPath.ShowDialog When I run the setup on Vista, and click the button to open the openFileDialog, it hanged, form becomes non responsive and I have to cancel the setup. on debugging I got following error "Current thread must be set to single thread apartment...
0
8402
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8315
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8829
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8734
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8608
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
5633
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4164
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4323
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
1962
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.