entity framework - Argument Exception -


exception:

the specified named connection either not found in configuration, not intended used entityclient provider, or not valid.

method exception happened:

/// <summary> /// initializes new dsaplcentities object using connection string found in 'dsaplcentities' section of application configuration file. /// </summary> public dsaplcentities() : base("name=dsaplcentities", "dsaplcentities") {       this.contextoptions.lazyloadingenabled = true;       oncontextcreated();  } 

what exception mean , how can fix it?

found solution. problem was using wcf services in project , did not copy connection string app.config inside service solution.


Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

javascript - jQuery .height() return 0 when visible but non-0 when hidden -