zzz projects Entity Framework 6 EF 6
Home EF Core Articles Knowledge Base Online Examples
  • Home
  • EF Core
  • Articles
  • Knowledge Base
  • Online Examples

Entity Framework 6 - Knowledge Base (KB)

61 results in tag: connection-string

Why is a metadata property required for an Entity Framework Connection?

I switched my DAL from using LINQ over to Entity Framework. Because my application connects to different databases depending on the current user, I need to dynamically create the DataContext at run time and pass in the appropriate connection string. How...
connection connection-string data-access-layer database entity-framework
asked by John Bubriski

data source not supported keyword

I have an asp.net-mvc application with the default membership database. I am accessing it by ADO.NET Entity Framework. ...Now I want to move it to IIS, but several problems showed up. I had to install SQL Server Management Studio, Create new DB, import th...
asp.net connection-string entity-framework
asked by Trimack

Connection string for EDMX

so the story is like this....I have a project, called PA.DLL, which have an entity model inside of it (edmx) file....In another project which i'm referencing to the PA.DLL, i copied the connection string that was created (automatically) when creating the...
connection-string edmx entity-framework
asked by Or A

How to Repair In nopCommerce, the ConnectionString attribute has not been initialized.

I'm trying to integrate nopCommerce into a third party system but am hitting a problem when I try to access any nopCommerce pages. Because I'm integrating with a third party system I've had to merge web.configs and copy all files over. I have a standalone...
connection-string entity-framework nopcommerce ysod
asked by Matt Brailsford

Connection string for Entity Framework Code First in SQL Server Express

I am working in Visual Web Developer 2010 Express, and using the Entity Framework code-first CTP. I am able to do this with the new SQL Server CE but I am unable to find a connection string to work with SQL Server Express....This one, using the SQL Server...
code-first connection-string entity-framework sql-server-express
asked by GilShalit

ProviderManifestToken configuration for EF Code First

I have a asp.net MVC3 project using EF code-first. For my unit testing I have been using SQL Server CE 4.0 and SQL Server 2008 Express. Both have worked perfectly with EF generating my database as expected....However, when I run my application outside of ...
code-first connection-string entity-framework
asked by trevorc

How do I retrieve Entity Framework's provider-specific ConnectionString?

using ado.net tipically we need to define a connectionstring to create a sqlconnection object, and if we use the entity framework, we have to dedine a connectionstring too....is threre any way to get the specific provider connectionstring used by entity f...
.net ado.net connection-string entity-framework
asked by Flavio Oliveira

How can I make my database's sql membership provider and entity framework work?

I have .NET MVC 3 project where I use sql membership provider and entity framework....I've created new database on my SQL server and created all objects for membership provider using ...aspnet_regsql.exe..., I've changed my connection string and it works ...
.net asp.net-membership asp.net-mvc connection-string entity-framework
asked by Burjua

'server' is an unsupported keyword.

I've been trying to edit my connection string for uploading my website to a server.... I am not really experienced with this. I got this exception: the Keyword not supported: 'server'.... Here is my connection string:...<add name="AlBayanEntities" connect...
ado.net asp.net connection-string entity-framework sql-server-2008
asked by Evanescence

In a Connection String, how to setup ProviderManifestToken for EF CodeFirst

Currently, I'm passing a database name to the constructor of ...DbContext.... In the ...connectionStrings... section of my ...App.Config... file, I've added a connection string and specified the provider name:...<connectionStrings> <add name="myConnec...
c# connection-string ef-code-first entity-framework
asked by 0xbadf00d

"data source" is not a supported keyword when creating an Entity Framework Context.

I'm initializing Entity Framework Object context, and this gives me the keyword not supported error:...metadata=res://*/MainDB.csdl|res://*/MainDB.ssdl|res://*/MainDB.msl;provider=System.Data.SqlClient;provider connection string=&quot;Data Source=.\SQLEXP...
connection-string entity-framework
asked by Can PoyrazoÄŸlu

First Azure connection using Entity Framework code

I am using Entity Framework Code First 4.3 + Azure and having difficulties connecting to the database. The error I get is the following (on the first query):...Keyword not supported: 'server'. ...I have the following connection set up in my Web.config...<...
azure code-first connection-string ef-code-first entity-framework
asked by Stefan Szasz

Timeout elapsed on the underlying provider, resulting in an entity exception.

OK, I'm stumped. I am trying to create a .NET Winforms app to talk to a database via Entity Framework. I originally created a ASP.NET MVC3 app (with a seperate DAL layer) that can talk to the database after initially failing. SO the first time that it tri...
asp.net-mvc c#-4.0 connection-string entity-framework sql
asked by Lutz Kretzschmar

Entity Framework 4.1 Code First Multipleactiveresultsets

This is my first EF project so bear with me please....When updating an entity such as Department, you pull it from the context, update its values and call context.SaveChanges. However, if you update Department.Employees, EF does not find that funny....I s...
.net connection-string ef-code-first entity-framework sql-server
asked by Raheel Khan

Connection string for Oracle using Entity Framework and LDAP

I have an ASP.NET 4.0 application that is using Entity Framework 4.3 to connect to Oracle database. Connection on a development environment is not a problem because we use the standard method. Connection string was generated by Visual Studio....Problem is...
c# connection-string entity-framework ldap oracle
asked by Robert Vuković

DefaultConnection and membership - what is the connection between localsqlserver and defaultconnection

Hmmmm... I really can't get my head around this. ...In web.config I have:...<connectionStrings> <clear /> <!--- need this to prevent using LocalSqlServer from machine.config or somewhere becouse it is not present when when publish to hosting --> <ad...
asp.net asp.net-membership connection-string entity-framework
asked by Larsi

An error occurred while getting provider information from the database

Getting the error:...System.Data.ProviderIncompatibleException: An error occurred while getting provider information from the database. This can be caused by Entity Framework using an incorrect connection string.... Check the inner exceptions for detail...
connection-string ef-migrations entity-framework
asked by user1538467

How to specify Entity Framework Code First connection string in external Enterprise Library config file

I am creating a WPF application, having classical architecture: UI layer, business logic layer and infrastructure layer. I decided to split configuration in two files: app.config file, containing common app configuration, and dll.config, containing connec...
code-first connection-string database enterprise-library entity-framework
asked by Danil

How do I set an ADO.NET Entity Framework connection string via the Windows Azure (Preview) Management Portal?

In the Windows Azure (Preview) Management Portal you can change the configuration options for web sites (see ...http://www.windowsazure.com/en-us/manage/services/web-sites/how-to-configure-websites/#howtochangeconfig...)....I currently set the connection ...
azure azure-web-sites connection-string deployment entity-framework
asked by Frank van Eykelen

The connection string 'MyConnection' in the application's configuration file does not contain the required providerName attribute."

I use ...Entity Framework Code First...,...My connection string is in a configuration file:...<connectionStrings> <clear/> <add name="ApplicationServices" connectionString="Data Source=PC-X;Initial Catalog=MYdb;Integrated Security=True"/> </conn...
connection-string ef-code-first entity-framework
asked by Hodaya Shalom

Page 1 of 4
  • 1
  • 2
  • 3
  • 4
  • »

Prime Library

Performance

  • Entity Framework Extensions
  • Entity Framework Classic
  • Bulk Operations
  • Dapper Plus

Expression Evaluator

  • C# Eval Expression
  • SQL Eval Function
More Projects...

Related

  • EF Extensions Online Benchmark
  • WIN an EF Extensions license
  • EF6 BatchSaveChanges for only $79
Save your entities 20× faster with EF Extensions
SaveChanges vs BulkSaveChanges

EF Extensions
Try for free now
Get monthly updates by subscribing to our newsletter!
SUBSCRIBE!