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

HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Connection string errorConnection string error
Previous
 
Next
New Post
12/28/2006 4:46 PM
 
Hi,
I am trying to install DotNerNuke 4.4 on my web hosting company.
I have a Microsoft SQL Server 2005 database called “f1support”
I have copied the files to the web root and made the this changes to the web.config file
 
 <connectionStrings>
     <!--Connection String for SQL Server 2000/2005-->
    <add
      name="SiteSqlServer"
      connectionString="Server=(mssql07.dandomain.dk);Database=f1support;uid=xxxx;pwd=yyyy;"
      providerName="System.Data.SqlClient" />
  
 </connectionStrings>
 
And
 
<appSettings>
     <!--Connection String for SQL Server 2000/2005 - kept for backwards compatability - legacy modules-->
    <addkey="SiteSqlServer"value="Server=(mssql07.dandomain.dk);Database=f1support;uid=xxxx;pwd=yyyy;"/>
 
When I go to the site I get this 2 errors
 
Error Installing DotNetNuke
Current Assembly Version: 04.04.00
ERROR: Could not connect to database specified in connectionString for SqlDataProvider

Server Error in '/' Application.

Access to the path 'D:\www2\f1-support.dk\web\www\Compression.config' is denied.
 
I have tried to find something in the forum and on the net but I don’t have any clue of what to do :-(. I anybody have a clue of what to do I would be very happy :-)
Regards
Tue
 
New Post
12/30/2006 4:19 PM
 

Same problem here. The Compression.config file doesn't exist. All permissions are set right.

 

Kom2

 
New Post
12/30/2006 8:45 PM
 
I am also having the same problem on upgrade. Noticed a bug report had been filed on this issue. Please let us know if anyone is working on this. Thanks.
 
New Post
12/30/2006 10:32 PM
 

Compression module does not load config file on startup. You must move compression.config fron \config folder to root. This got my site working. I found the paragraph below in the compression module page,

Good Luck

The rest of the settings have been moved out of web.config into a separate xml file (Compression.config) which can be found in the \Config folder and which is copied to the root folder when first needed.  This config file allows the user to set the excluded paths and mime-types.

 
New Post
1/10/2007 12:12 AM
 

It is kinda wierd to speak of good luck on a tech site, but when it comes to Sql Server connections, it is very appropriate.

Connecting to a Sql database is sometimes easy but if you misstep, your butt is fried and your connection issues jump from trivial to mysterious. There are so many flavors of Sql Servers, Providers and Connections that you have to become a frikin guru to make a connection. I hope MS gets a handle on this because frankly I am really missing xBase and other simple paradigms.

The whole world is GUI - but not Sql Server Connection Strings. These are still gobledygook settings like "User Instance = "put your best guess here."

?

Actually I have that one figure out: SqlExpress, Yes, Otherwise, No.

But there are others. And on this site you get "Hallelujah, I got rid of underscores and I connected OK!" Well, I ain't got underscores. What I have is an error that I can't connect. Yeeesh. It gets old.

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Connection string errorConnection string 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