Error publishing MVC4 (EF6.0)

Source: Internet
Author: User

Error:

The Entity Framework provider type ' System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer , for the Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089‘ ' System.Data.SqlClient ADO provider could not be loaded. Make sure the provider assembly are available to the running application.

See http://go.microsoft.com/fwlink/?LinkId=260882 for more information.

For several hours.

Find this article

http://stackoverflow.com/questions/14033193/entity-framework-provider-type-could-not-be-loaded

I haven't read it yet, and I've tried to add it to the EF context.

public void Fixefproviderservicesproblem () {var instance = System.Data.Entity.SqlServer.SqlProviderServices.Instance ;}

  

Re-released once, incredibly can, feel good sad

Error publishing MVC4 (EF6.0)

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.