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

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsBlogBlogAdd Blog Module on a page - errorAdd Blog Module on a page - error
Previous
 
Next
New Post
1/11/2009 4:11 AM
 

Hi Gladi,

if you are running DNN live, you'll need to ask your hosting provider the correct connection string to connect to their SQL server. If you are running DNN locally for testing purposes, your connection string should look like the following. This is the connection string I use locally on my developing environment:

<connectionStrings>
  <!-- Connection String for SQL Server 2005 Express -->
  <add name="SiteSqlServer" connectionString="Data Source=.\SQLExpress;Integrated Security=True;User Instance=True;AttachDBFilename=|DataDirectory|Database.mdf;" providerName="System.Data.SqlClient"/>
...
 </connectionStrings>
 <appSettings>
  <!-- Connection String for SQL Server 2005 Express - kept for backwards compatability - legacy modules   -->
  <add key="SiteSqlServer" value="Data Source=.\SQLExpress;Integrated Security=True;User Instance=True;AttachDBFilename=|DataDirectory|Database.mdf;"/>
...
 </appSettings>

Needless to say, you need SQL Server 2005 Express installed and running before accessing your localhost. Let me know if you need further help.

Best regards,
Dario Rossa

 
New Post
2/27/2009 7:16 PM
 

I just added version 3.5.0.00 of the Blog module to DNN 4.8.2-9. I get the same errors that Gladi was getting in the Blog modules. I'm running DNN on a shared hosting service (MochaHost) so I don't have direct access to the web.config file, but I can access "ASP.NET Settings" via the Plesk control panel. I ve copied the connction string and pasted it below. Does anyone see something in the connection string that might be a problem? Also, I am useing SQL Server 2008 Express. Does the blog module work with SQL Server 2008?

data source=.\SQLEXPRESS;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|aspnetdb.mdf;User Instance=true

Thanks,
Brian Bird

 
New Post
2/27/2009 10:01 PM
 

I am getting this error after installing on DNN 5.0.1.  Everything worked fine on 4.9.2.

 
New Post
2/28/2009 4:42 AM
 

Hi Capturm,

do other modules work as expected? If so check that both the connection strings do match.

Best regards,
Dario Rossa

 
New Post
3/1/2009 11:56 PM
 

Using Plesk, I added a new connection string as follows:

Name
---------
SiteSqlServe 

Connection Parameters
---------------------------------
Data Source=.\SQLExpress;Integrated Security=True;User Instance=True;AttachDBFilename=|DataDirectory|Database.mdf;" providerName="System.Data.SqlClient"

Now, when I browse to my DNN site, I get an application error; but I can't view the error details because the current custom error settings prevent the details of the application error from being viewed remotely.

Can anyone help me figure out what the correct connection string (or strings) should be for my installation?

Thanks,
Brian Bird

 

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsBlogBlogAdd Blog Module on a page - errorAdd Blog Module on a page - 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