Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
AI OnAI Off
Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
Hi, are you sure the connection string name is LocalSqlServer?
In a standard EPiServer installation I think the name of the connectionString is EPiServerDB:
<connectionStrings> <add name="EPiServerDB" connectionString="the connection string" providerName=System.Data.SqlClient" /> </connectionStrings>
Connection string name in my application is EPiServerDB.
I don't know the reason but application tryinng to use data from machine.config
Solution:
Add <clear /> before DefaultProfileProvider
<profile defaultProvider="DefaultProfileProvider"> <providers> <clear /> <add name="DefaultProfileProvider" type="System.Web.Providers.DefaultProfileProvider, System.Web.Providers, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" connectionStringName="EPiServerDB" applicationName="/" /> </providers> </profile>
Thanks
Hi,
I creted new project and changed configuration (changed IIS Express to IIS; local db to SQL SErver 2014).
I gets next error after I have entered domain credentials.
I also updated EPiServer to the latest version.
Could you please help me to solve this error?
Thanks for any help