Hi
I am having trouble getting the individual controls to work after an initial installation of DNN4. I now have a local copy of the site going, and I can see the basic site. But all the 5 original codes are broken. When I go into SiteLog viewer, I get the following error for each of the controls
ModuleId: 348
ModuleDefId: 99
FriendlyName: Sponsors
ModuleControlSource: DesktopModules/HTML/HtmlModule.ascx
AssemblyVersion: 04.00.02
Method: Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteReader
FileName:
FileLineNumber: 0
FileColumnNumber: 0
PortalID: 0
PortalName: My Website
UserID: 2
UserName: admin
ActiveTabID: 36
ActiveTabName: Home
AbsoluteURL: /DotNetNuke/Default.aspx
AbsoluteURLReferrer: http://localhost/DotNetNuke/Home/tabid/36/ctl/Login/Default.aspx
ExceptionGUID: be1fc76f-ea0c-43e1-8010-9865761d00f4
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
InnerException: Value cannot be null. Parameter name: connectionString
Message: 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 ---
StackTrace:
Source:
Server Name: YD380
It appears as though it is missing a connection string somewhere but I have been through the config file and double checked that it is set in both places.
Any advice gratefully received.
Alec