Hi it is my first time that I publish a project deveolped with entity framework in a remote server. The pages work fine but when I try to access in my reserved area and so, reading a dabatase, I obtain this error
Unable to find the requested .Net Framework Data Provider. It may not be installed.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.ArgumentException: Unable to find the requested .Net Framework Data Provider. It may not be installed.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[ArgumentException: Unable to find the requested .Net Framework Data
Provider. It may not be installed.]
System.Data.Common.DbProviderFactories.GetFactory(String
providerInvariantName) +1402071
System.Data.EntityClient.EntityConnection.GetFactory(String
providerString) +35
[ArgumentException: The specified store provider cannot be found in
the configuration, or is not valid.]
System.Data.EntityClient.EntityConnection.GetFactory(String
providerString) +62
System.Data.EntityClient.EntityConnection.ChangeConnectionString(String
newConnectionString) +263
System.Data.EntityClient.EntityConnection..ctor(String
connectionString) +81
System.Data.Objects.ObjectContext.CreateEntityConnection(String
connectionString) +42
System.Data.Objects.ObjectContext..ctor(String connectionString,
String defaultContainerName) +16
shield_trust.db_shieldtrustEntities..ctor() in
D:rust-companyshield_trustshield_trustPOCO.Context.cs:23
shield_trust.user_login.check_login() in
D:rust-companyshield_trustshield_trustuser_login.aspx.cs:65
shield_trust.user_login.entraButton_Click(Object sender, EventArgs e)
in D:rust-companyshield_trustshield_trustuser_login.aspx.cs:25
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +118
System.Web.UI.WebControls.Button.RaisePostBackEvent(String
eventArgument) +112
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String
eventArgument) +10
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler
sourceControl, String eventArgument) +13
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
+36 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
+5563
I have to copy some dll into my bin folder or modify my web.config?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…