dotnetnuke - 2 DNN filesystems pointing to the same database -
i have setup local installation of dnn7 using database residing in machine (sqlserver 2008). i've tried copy filesystem production server keep connection string same, use exact same database.
i message
"the connection name 'localsqlserver' not found in applications configuration or connection string empty."
<rolemanager> <providers> <add name="aspnetsqlroleprovider" connectionstringname="localsqlserver" applicationname="/" type="system.web.security.sqlroleprovider, system.web, version=4.0.0.0, culture=neutral, publickeytoken=b03f5f7f11d50a3a"/>
the application pool , iis settings same in both machines. ideas of missing?
you missing following section in web.config
<connectionstrings> <!-- connection string sql server 2005/2008 express --> <!-- connection string sql server 2005/2008 <add name="sitesqlserver" connectionstring="server=(local);database=dotnetnuke;uid=;pwd=;" providername="system.data.sqlclient" /> --> </connectionstrings>
Comments
Post a Comment