I have an MVC project and i created ManagerdB.sdf using visual studion.Now i have a server and i want to publish my project.First i did "add deployable dependencies" because without it the deploy doesnt workAnd after that i published the project to the folder i received.The problem is that it is running but it "doesnt know" the DB.How i need to correct my config file?For now it looks like that (i deleted some parts): \[code\]<configuration> <connectionStrings> <add name="ManagerdBEntities" connectionString="metadata=res://*/Models.CustomMembership.csdl|res://*/Models.CustomMembership.ssdl|res://*/Models.CustomMembership.msl;provider=System.Data.SqlServerCe.4.0;provider connection string="Data Source=|DataDirectory|\ManagerdB.sdf"" providerName="System.Data.EntityClient" /><add name="ManagerdBEntities1" connectionString="metadata=res://*/Models.Manager.csdl|res://*/Models.Manager.ssdl|res://*/Models.Manager.msl;provider=System.Data.SqlServerCe.4.0;provider connection string="Data Source=|DataDirectory|\ManagerdB.sdf"" providerName="System.Data.EntityClient" /></connectionStrings> <membership defaultProvider="CustomMembershipProvider"> <providers> <clear /> <add name="CustomMembershipProvider" type="MyMembershipProvider" connectionStringName="ManagerDB" enablePasswordReset="true" maxInvalidPasswordAttempts="5" minRequiredPasswordLength="6" minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10" applicationName="/" /> </providers> </membership> <profile> <providers> <clear /> <add name="AspNetSqlProfileProvider" type="System.Web.Profile.SqlProfileProvider" connectionStringName="ManagerdB" applicationName="/" /> </providers> </profile> <roleManager enabled="false"> <providers> <clear /> <add name="AspNetSqlRoleProvider" type="System.Web.Security.SqlRoleProvider" connectionStringName="ManagerdB" applicationName="/" /> <add name="AspNetWindowsTokenRoleProvider" type="System.Web.Security.WindowsTokenRoleProvider" applicationName="/" /> </providers> </roleManager> </system.web>\[/code\]