Issue opening *.mdf files in SqlServer Express 2008 R2

Windows 7 Home Premium (64-bit), VS2010 Pro, SQL Server Express 2008 R2 (tried both x86 and x64)
Error showing in visual studio 
The database 'C:\USERS\SWATI\DOCUMENTS\VISUAL STUDIO 2010\PROJECTS\ONLINE SHOPPING CART ASP.NET WEBFORM\C#\MYPROJECT\APP_DATA\SHOPING.MDF' cannot be opened because it is version 661. This server supports version 655 and earlier. A downgrade path is not supported.
Could not open new database 'C:\USERS\SWATI\DOCUMENTS\VISUAL STUDIO 2010\PROJECTS\ONLINE SHOPPING CART ASP.NET WEBFORM\C#\MYPROJECT\APP_DATA\SHOPING.MDF'. CREATE DATABASE is aborted.
An attempt to attach an auto-named database for file C:\Users\SWATI\Documents\Visual Studio 2010\Projects\Online Shopping Cart Asp.Net WebForm\C#\MyProject\App_Data\shoping.mdf failed. A database with the same name exists, or specified file cannot be opened,
or it is located on UNC share.

Hello,
The version of SQL Server installed on your computer is SQL Server 2008 (version 655), but the database you are trying to attach to that instance was created on a SQL Server 2008 R2 instance, It is like trying to downgrade the database and that is not possible.
Probably you have SQL Server 2008 Express Edition installed. Try upgrading it to SQL Server 2008 R2 Express Edition.
Hope this helps.
Regards,
Alberto Morillo
SQLCoffee.com

Similar Messages

  • Mac having issue opening certain files on a day to day basis

    My Mac seems to have problems opening files on a day to day basis.  One day it will not open JPEG files saying Mac does not support file format and then the next day it will open JPEG files but then have an issue opening PDF files or MS Word files.  Sometimes I am able to reboot and the issue is resovled other times even with a reboot I still run into an issue with opening a certain file format.  I Verified Permissons with a few errors that got repaied but I'm still having this issue.

    I understand what you want.. but it is the wrong way to do it.
    You will get into a mess with using TM this way. It is designed for backup of individual machines.. you are trying to use it for a file server.
    They do not want to create a central server where they manually have to go and save and fetch new files, they want it to be automatic.
    The ironic thing is you are trying to use Time Machine as a central server.. only it is not.
    A central server is exactly the right way to do it. But it can be done automatically.. you just use some synchonisation software. (Central server means you all work on the same files and you have centralised backup)
    http://mac-sync-software-review.toptenreviews.com/
    Using some cloud method would be the other suggestion.. but I am not sure exactly how to do it. I have lousy internet so cloud is really too hard to use for storage.. but Apple do lots of stuff to help people with cloud to synchronize fies.

  • Captivate 8 - Issue opening PowerPoint files

    I am having an issue opening PowerPoint files with Captivate 8. I am running Captivate on the latest version of OSX on a Mac. And I keep getting a very specific message that states the PPT file is corrupted or outdated. Here is an image with the exact wording:
    The problem is all my PowerPoint files receive this message when attempting to upload them into Captivate 8, and some of PPT files were saved using PowerPoint 2013. Both of which, lead me to believe that this is not a damaged PPT or an outdated PPT issue. Can anyone help with this one? 

    Hi Austin,
    Is the issue specific to a particular powerpoint file and other powerpoint files are getting imported properly ?
    If yes, can you please email the problematic powerpoint file to me at [email protected]
    If the powerpoint file size is huge, please upload it to dropbox.com and email me the download link at the above mail id.
    Regards,
    Hari

  • How to attach .mdf file to sql server 2008 EXPRESS

    I have .mdf files created using SQL SERVER management studio 2012 in another computer and wish to attach the same to SQL SERVER 2008 EXPRESS in another computer. How should I do so? I tried this method :How
    to: Attach a Database File to SQL Server Express but then it shows an error that the database cannot be created due to compatibility issues.
    Msg 948: The database xyz cannot be opened because it is version 706. This server supports version 655 and earlier. A downward path is not supported..
    Any help??

    I have .mdf files created using SQL SERVER management studio 2012 in another computer and wish to attach the same to SQL SERVER 2008 EXPRESS in another computer. How should I do so? I tried this method :How
    to: Attach a Database File to SQL Server Express but then it shows an error that the database cannot be created due to compatibility issues.
    Msg 948: The database xyz cannot be opened because it is version 706. This server supports version 655 and earlier. A downward path is not supported..
    Any help??
    You are trying to attach SQL Server 2012  database files to SQL Server 2008 R2 which is not allowed, you either need to upgrade your SQL Server 2008 to 2012 or alternatively you can generate all scripts from SQL Server 2012 and execute it in SQL Server
    2008 R2.
    You can refer below link to how to generate script.
    http://blog.sqlauthority.com/2012/07/18/sql-server-generate-script-for-schema-and-data-sql-in-sixty-seconds-021-video/
    Please mark solved if I've answered your question, vote for it as helpful to help other users find a solution quicker
    Praveen Dsa | MCITP - Database Administrator 2008 |
    My Blog | My Page

  • Problem attaching mdf file in sql server 2008

    hi...!
    I have an mdf file of sql server 2005 database now i want it to attach in sql server 2008 R2 but when i try to attach it, it gave me error saying.
       Fail to retrieve data for this request. 
     An exception occur while executing a Transact-SQL statement or batch.(Microsoft.sqlServer.connectionInfo)
    C:\program files\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER\MSSQL\DATA\file6.mdf is not a primary database file. (Microsoft SQL Server, Error:5171)
    Thanks in advance

    hi...!
    I have an mdf file of sql server 2005 database now i want it to attach in sql server 2008 R2 but when i try to attach it, it gave me error saying.
       Fail to retrieve data for this request. 
     An exception occur while executing a Transact-SQL statement or batch.(Microsoft.sqlServer.connectionInfo)
    C:\program files\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER\MSSQL\DATA\file6.mdf is not a primary database file. (Microsoft SQL Server, Error:5171)
    Thanks in advance
    Hello,
    As the message says the file is not primary data file ,i guess it must be ndf(secondary data file) or some other file you might have selected by mistake.PLease select primary data file and try attching you will succed
    Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers

  • Opening MDF files in Diadem generated with Vector CANape v7.0?

    Hi all,
    I have a Vector CANape v7.0 data aquisition system that generates files in MDF format.  I found the Diadem data plugin for MDF files and installed it.  I can open the files, see the parameter names, but all the data is 0 (and it should not be).
    The plugin looks up to date and the description mentions MDF version 3.0 & 3.2.  We have CANape version 7.0.  How do those numbers correspond?  How can I open this file correctly?
    Plugin Description: 
    This DataPlugin supports reading / importing of Bosch MDF data files, ETAS INCA® MDF data and Vector CANape® and other products from Vector. The DataPlugin supports MDF files up to version 3.2. The MDF DataPlugin also supports writing of MDF 3.0 and 3.2 files. Writing behavior is controlled by the root property 'version'; set version to "MDF 3.2" to write MDF 3.2 files.
    The Measure Data Format (MDF) is well established in the automotive industry for recording, exchanging, and post-measurement analysis. MDF files are produced by eg. INCA® from ETAS, and by CANape® and other products from Vector.
    Thanks- Dshow
    P.S.  I have tried this on Diadem v10.1 and 11 with the same results.  Thx
    Message Edited by Dshow on 07-13-2009 02:12 PM
    Solved!
    Go to Solution.

    Hello Dshow,
    Since I don' have any MDF files to test this with, I can't help with your immediate question. I can offer up an alternative though:
    With version 11.1, DIAdem has gained the ability to load CAN files directly through the "CAN Converter" that can be found in the NAVIGATOR "File" menu. You can test this with the free evaluation version that can be found at http://www.ni.com/diadem/ - this might take care of the issue you are having. It also offers a number of additional features you might be interested in ...
    Best regards,
    Otmar D. Foehner
    Business Development Manager
    DIAdem and Test Data Management
    National Instruments
    Austin, TX - USA
    "For an optimist the glass is half full, for a pessimist it's half empty, and for an engineer is twice bigger than necessary."

  • Error No. 11 Cannot open .MDF file

    Hello,
    I am using DIAdem 12.0.0f4911 TDM and I cannopt seem to open this particular .MDF file.  The Error I get is  "XXXXXX.MDF" file has an invalid format.  (error no. 11)
    I have opened other .MDF files without issue however this particular file is nearly 3 gigs in size.  Is it possible the file size it is too large?
    Tim
    Solved!
    Go to Solution.

    Thanks
    I loaded the MDF plugin and started DIAdem.
    I have since loaded the data into the Data portal but DIAdem is cycling between "Not Responding" and "Responding" and has been doing so for over 2 hours now.  I am not sure if it is working, but I will give it some more time before I kill the process.
    Thanks for your help nonetheless.
    Tim

  • Issue opening .cp files in Captivate 5

    Good evening,
    I am having issues opening some of our .cp files in Captivate 5. We are currently in the process of converting .cp -> .cptx -> HTML5. I handful of project files, when trying to open, this is what I get:
    Just to clarify;
    The file is not open already
    I have more than enough hard drive space
    CPU usage, as well as RAM usage is less than 25%
    They are reading as .cp files, and this isn't the only file that is doing this
    Any help would be greatly appreciated regarding what might be going on.
    Regards,
    Geoffrey

    I found a workaround. If I open in Captivate 3, overwrite the file, then resave, it seems to open fine in Captivate 5. Ultimately, I wish there weren't so many hoops to jump through just to get these bad boys converted to HTML5. The process now is;
    Open .cp in Captivate 3
    Save in Captivate 3
    Open .cp in Captivate 5
    Save as .cptx
    Open .cptx in Captivate 7
    Publish to HTML5
    Save in Captivate 7
    Is there an easier way to this process?

  • Having issues opening raw files from Canon 5D Mark iii in Photoshop CS5

    I cannot open RAW files from a Canon 5D Mark III in Photoshop CS5. I get an error saying "
    Could not complete your request because the file appears to be from a camera model which is not supported by the installed version of Camera Raw.
    Please visit the Camera Raw help documentation for additional information."
    Documentation seems to be no help.
    Any ideas?

    You can download the updates manually and try to install them Adobe - Photoshop : For Macintosh
    If you can not get CS5 updated you may want to consider  Use the CC Cleaner Tool to solve installation problems | CC, CS3-CS6
    Search Results
    1 (800) 833-6687Adobe Systems, Customer service

  • Issues opening RAW files with CS2...

    I find if a bit complicated to open RAW files with Photoshop CS2 in iPhoto 08 (I'm using OS X 10.5). Currently the only way I've been able to do this is do a search for the file name in the finder, at the bottom of the Finder window, in the path, double click on the folder that the RAW files are in (user/my name/pictures/iphoto library/originals/2007/RAW files), then highlight the NEF files (the cameras a Nikon D200) I want to open, hit command/O then Photoshop CS2 opens the files in the RAW converter. If I try this from CS2 (command/O) the path goes as for as iphoto library (user/my name/pictures/iphoto library), at this point the iphoto library icon is ghosted out and can not be opened. If I drag and drop the image from iPhoto to the CS2 icon in the dock it opens as a jpg not the RAW file I need. If I try clicking my way to the folder from the left side of the finder, my name/pictures/iphoto library this is as far as I can go. There's something strange going on here. How can you go to a folder only one way and not the others? There seems to "hidden" folders now.
    So... My question (finally), how can I simply open RAW files from iPhoto 08 in CS2?

    In iPhoto's Advanced preferences select the checkbox under RAW Photos: "Use RAW when using external editor". That will open the Cr2 file in the raw editor. To get the edit to show in iPhoto you'll need to click on the Open Image button so the jpg version is created with the edits you made to the RAW file. Then when you save you'll need to navigate in the Save window to the Modified folder and save it into the folder representing the event that the original is in. It's not easy. I've not done much with RAW, just a few tests, so there may be an easier way to get iPhoto to recognize the edited version.
    If you don't use the Open File and close iPhoto won't display the edits you made to the RAW file.
    Do you Twango?
    TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.
    I've created an Automator workflow application (requires Tiger), iPhoto dB File Backup, that will copy the selected Library6.iPhoto file from your iPhoto Library folder to the Pictures folder, replacing any previous version of it. It's compatible with iPhoto 08 libraries. iPhoto does not have to be closed to run the application, just idle. You can download it at Toad's Cellar. Be sure to read the Read Me pdf file.

  • Issue opening .AI file with linked/embedded images in Illustrator 6

    Received an Illustrator 16.x ai file with 6 Linked\embedded images. Opening in Illustrator 16.0.3 2 images are missing, but opening in Illustrator 15.1 opens them correctly. Illustrator 16.0.3 has warning "Could not find linked file “filename.png”. Choose replace to select another file or Ignore to leave the link unchanged". Illustrator 15.1 has warning "The file “filename.ai” was created by a newer version of Illustrator. Would you like to import this file? Some data loss may occur.". When I open in Photoshop 12.1 and select Images only 4 images show. The two that are missing in ai. are not showing in Photoshop Images option tab, but are in Photoshop when I open the file using pages option tab. Any idea what is happening here and why Illustrator 15.1 opens fine, but Illustrator 16.0.3 cannot?
    Thanks,  Dale

    Illustrator CS5 opens the PDF part of the file. Images are always embedded in that part, but you might not be able to edit all objects in it.
    Illustrator CS6 will access the AI part of the file, where linked images are not embedded. You should ask for the images in order to edit the file.
    Recommended reading: Real World Illustrator: What's in a file?

  • Issues opening xml files in CS6

    I'm having a problem opening xml files in CS6. Currently, I'm able to load Dreamweaver CS6, but when I open a file labeled as .xml, the application freezes up. I have already set up my preferences to read .xml files. (some background info: I do have a previous version of 5.5 installed on the same machine. I could guess that the problem could be associated with having an earlier version of dreamweaver installed at the same time, but why would it only affect xml files?)

    Have you tried opening the .xml file in NotePad or some other simple text editor? just to verify that the file is good and not corrupted.

  • Can't open any files in Logic Express 8

    Hi out there,
    I just installed Logic Exp. 8 out of the box. Runs nice as far as i can tell, but has a major bug with me: It won't open any projects or other files.
    If i click the Projects in the Finder, they will open just fine. But I can't open them in Logic.
    Import of Files into a project works fine.
    Ideas anyone? Update anyone (wink, wink to apple)?
    Cheers,
    Fox

    You may be having the same problem I observed, and I think it may be a bug.
    After upgrading to Logic Express 8, when I save projects they appear as a folder rather than a file in the finder, with the .logic suffix. Previous versions saved projects as a .iso file. On another machine I upgraded Logic Pro to Logic Studio 8, and here projects are saved as a .logic file. My guess is the .logic file created is supposed to be a file for both Logic Pro and Express, with package contents under OS X ... but for some reason this is appearing as a folder when created by Logic Express, with the package contents visible ... so you can't double click on anything to open them.
    Has anyone else seen this? is there a workaround or is this a bug?
    In the meantime, note that you can launch the Logic Express .logic 'folders' by dragging the and dropping the entire .logic folder onto the Logic Express icon in the dock.

  • Issues opening PDF files from SharePoint document library reader/pro 11.0.5

    Hello,
    We have a sharepoint 2010 enviroment and recently upgraded our Acrobat X11 installs ( both reader/std/pro) to version 11.0.5.
    We have a mixture of WIndows 7 32/64Bit IE 8 and IE 9 machines
    After upgrading to 11.0.5 when users click a pdf file in a SP document libary one of two things happens depending if they have the
    Adobe Reader Plugin Enabled or not
    If the Adobe Reader Plugin is enabled, they will not get prompted to run/save the pdf file and it will not open in a new tab in the browser
    If the Adobe Reader Plugin is disabled, they will get a popup window that has the correct URL to the PDF in the address bar but they will not be prompted to save or run the file.
    If they click in the addrss bar and press enter the pdf will then load in the external reader/acrobat application.
    This issue started with 11.0.5 updates, rolling people back to 11.0.4 fixes the issue.
    I have attempted everything I can think of including rebuilding new machines with our image.
    Has anyone see issues like this with the 11.0.5 update?

    If a bug is confirmed, a fix may be delivered in the next release (can't promise). For a similar issue caused by a Microsoft bug, see http://forums.adobe.com/message/6106294#6106294.
    Ben

  • Issues opening adobe files using the safari browser

    Hi,
    I am currently on a website and as I attempted to open a PDF file as a download, the safari browser opened a new window which was completely black but with no PDF product.
    A message along the lines of an adobe reader was unavailable, so I followed the instructions to download, thinking that possibly I need the latest version, however my OS detected that I already have a version installed. Unfortunately no change has taken place while completing the same process to download the PDF from the website, has anyone else had a similar experience? I noted nothing appeared in my download box also.
    I am currently using Mac Air Book, OS X 10.8.4 if this helps.

    Back up all data.
    Triple-click the line of text below on this page to select it, the copy the selected text to the Clipboard (command-C):
    /Library/Internet Plug-ins
    In the Finder, select
    Go ▹ Go to Folder
    from the menu bar, or press the key combination shift-command-G. Paste into the text box that opens (command-V), then press return.
    From the folder that opens, remove any items that have "Adobe" or “PDF” in the name. You may be prompted for your login password. Then quit and relaunch Safari, and test.
    The "Silverlight" web plugin distributed by Microsoft can also interfere with PDF display in Safari, so you may need to remove it as well, if it's present. The same goes for a plugin called "iGetter," and perhaps others.
    If you still have the issue, repeat with this line:
    ~/Library/Internet Plug-ins
    If you don’t like the results of this procedure, restore the items from the backup you made before you started. Relaunch Safari again.

Maybe you are looking for