Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Configuration errorConfiguration error
Previous
 
Next
New Post
3/16/2006 7:36 AM
 

Hi. I installed DNN ok aparently, but in the home page (default.aspx) i see error messages like this:

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 ---

What am i doing wrong? I have already configured web.config so i don't understand what happens...Please i need help!

Thanks in advance.

 
New Post
3/16/2006 8:50 AM
 

Assuming your are running DNN 4 (and I believe 3.2.2 as well though I have not done an install of this version), check that you have set up BOTH the new connection string under the web.config nodes

< connectionStrings> <add name="SiteSqlServer" . . . >

AND under the legacy node < appSettings> <add key ="SiteSqlServer" value=" . . . ." >

This second connection string is needed for legacy modules including many of the core modules.


Bill, WESNet Designs
Team Lead - DotNetNuke Gallery Module Project (Not Actively Being Developed)
Extensions Forge Projects . . .
Current: UserExport, ContentDeJour, ePrayer, DNN NewsTicker, By Invitation
Coming Soon: FRBO-For Rent By Owner
 
New Post
3/16/2006 11:09 AM
 
You've got something wrong with your connectionString in web.config.  You seen all the messages about things installing and upgrading when you first went to your site and didn't see any errors?

Paul Davis
 
New Post
3/16/2006 11:35 AM
 
Yes, i completed both connection strings and both are the same and ok, because the DNN framework installed correctly. So i don't know what's the problem...
------
Just becuase it installed correctly does not mean both connectionStrings are correct, since the install only used the one in the <ConnectionString> section.  On the other hand if none of the core module will load then there probably is a problem with the connection string in the <AppSetting> section, since all core modules use this connectionString.  Every time I have seen this error it has been becuase of this.
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Configuration errorConfiguration error


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out