I have installed a fresh copy of DNN 4.4.1 and it said it installed successfully. However when I browse to the site, it displays everything including the modules but inside them it states “An error has occurred. Error: Welcome To DotNetNuke® is currently unavailable.”
When I login and view the site logs, it states the following in the module errors:
DotNetNuke.Services.Exceptions.ModuleLoadException: Value cannot be null. Parameter name: connectionString ---> System.ArgumentNullException: Value cannot be null. Parameter name: connectionString at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteReader(String connectionString, String spName, Object[] parameterValues) at DotNetNuke.Modules.Html.SqlDataProvider.GetHtmlText(Int32 moduleId) at DotNetNuke.Modules.Html.HtmlTextController.GetHtmlText(Int32 moduleId) at DotNetNuke.Modules.Html.HtmlModule.Page_Load(Object sender, EventArgs e) --- End of inner exception stack trace ---
I thought this was referring to backwards compatibility however as it’s a fresh install, it shouldn’t be using 3.x.x modules should it?
Also, here is a copy of the two statements in my web.config file that connect to the SQL database (I have taken out passwords):
<connectionStrings>
<!-- Connection String for SQL Server 2000/2005 -->
<add name="SiteSqlServer" connectionString="Data Source=tcp:sql2k507.discountasp.net;Initial Catalog=SQL2005_493844_itvportal;User ID=SQL2005_493844_itvportal_user;Password=*****;" providerName="System.Data.SqlClient" />
</connectionStrings>
<appSettings>
<!-- Connection String for SQL Server 2000/2005 - kept for backwards compatability - legacy modules -->
<add key="SiteSqlServer" value="Data Source=tcp:sql2k507.discountasp.net;Initial Catalog=SQL2005_493844_itvportal;User ID=SQL2005_493844_itvportal_user;Password=*****;" />
<add key="InstallTemplate" value="DotNetNuke.install.config" />
<add key="AutoUpgrade" value="true" />
<add key="InstallMemberRole" value="true" />
<add key="ShowMissingKeys" value="false" />
<add key="EnableWebFarmSupport" value="false" />
<add key="EnableCachePersistence" value="false"/>
<add key="HostHeader" value="" /><!-- Host Header to remove from URL so "www.mydomain.com/johndoe/Default.aspx" is treated as "www.mydomain.com/Default.aspx" -->
<add key="RemoveAngleBrackets" value="false" /><!--optionally strip angle brackets on public login and registration screens-->
<add key="PersistentCookieTimeout" value="0" /><!--use as persistent cookie expiration. Value is in minutes, and only active if a non-zero figure-->
</appSettings>
Any help would be much appreciated as this is a very urgent matter.
Kind regards,
Jy Morgan