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
Post a Comment