EF switches Local database files to source failed ~ Maybe you're just missing a _log.ldf.

Source: Internet
Author: User
Tags switches

If you go tomorrow, you don't have a network, but you need data from the database.

You will change the data source from the server to the local database file

How to switch the way to refer to my another article http://blog.csdn.net/panpen120/article/details/46891305

But you find that you build the database based on the model you want to create a new connection is your local database file, but error, a lot of, a long list, cannot open a new database ...

The second part of the error message I knocked my hand a bit,


Workaround: From the server to get the log file of this database, and you the database of local files together to resolve, as for the log file is

_log.ldf file is a log file



Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

EF switches Local database files to source failed ~ Maybe you're just missing a _log.ldf.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.