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 ...Cannot Install DNN 4.7Cannot Install DNN 4.7
Previous
 
Next
New Post
11/6/2007 1:54 PM
 

I'm exploring the option of using DotNetNuke for a portion of my company's website, but have been unable to get it to install.

I'm trying to install it on my local machine (Windows XP Professional/IIS 5.1, with SQL Server 2005). 

When I try the Auto install, I get the following message:

Error Installing DotNetNuke

Current Assembly Version: 04.07.00

ERROR: Could not connect to database specified in connectionString for SqlDataProvider

When I try typical or custom install, it can connect to the database just fine (the connection test passes), but when it goes to run the scripts, I get the following:

"Installing Database- Version 4.4.0...undeinfed...Success"

Clicking next simply repeats the step, with the same result.

The {Server}\ASPNET account has the appropriate permissions for the website, and I believe it has the appropriate permissions for the database as well (I specified Trusted_Connection = True in the connection string).

Any suggestions on where to look next?  Thanks.

Tim

 

 
New Post
11/6/2007 7:31 PM
 

From web.config:

"<add name="SiteSqlServer" connectionString="Server=(local);Database=DotNetNuke;uid=;pwd=;" providerName="System.Data.SqlClient" />"

Why did you add trusted connection to it?

 
New Post
11/7/2007 12:23 AM
 

    Target:

    Is SQL Server 2005 running on another machine or is it Express running on yours???

    If it is Express running on your PC, there is no need to change anything in the connect string.  This has been very confusing for people installing DNN, especially those with some knowledge of SQL Server 2000, or even 2005 Server but not the express version.  SQL 2005 Express introduced the concept of "User Instance", which allows developers (like the developers of DNN) to distribute the application database a la XCopy mode that you can do with the ASP.Net code.  In other words, you don't need to attach the DB file before using it.  This has some limitations, like the DB is not readily visible in the Express DB Manager, but DNN will actually run and be able to use the database.

    See this thread where I explain more details about the "User Instances" and a reference to an article in MSDN.

            Carlos

 

 

 
New Post
11/7/2007 3:47 PM
 

I'm used Trusted Connection because the ASPNET account is set up to use Windows Authentication.   Should I create a new login for DotNetNuke?

The database I'm using is SQL Server 2005 (on my local machine), not SQL Server Express.  So I commented out the SQL Server Express connection strings and uncommented the SQL Server 2005 connection strings in web.config.  Eventually we'll use SQL Server 2005 located on  a different machine from the one hosting the website.

I'm fairly new to these aspects of SQL Server - in my previous job we were fortunate enough to have 2 full-time DBAs for this stuff.  In my new job, I'm pretty much it for SQL Server knowledge :)

Tim

 

 
New Post
11/8/2007 2:51 PM
 

I too am receiving the same error when installing the database.  I have a blank database setup in SQL Server 2005.  I have changed the connection string in two places in the web.config file.  When I test the connection within the install wizard it connects perfectly but I when I proceed to the next screen I get this error:

Installing Database - Version 4.4.0...undefined...Success
Installation of Database Complete

 <add name="SiteSqlServer" connectionString="Data Source=MYSERVER;Initial Catalog=MYDB;User ID=MYUID;Password=MYPWD" providerName="System.Data.SqlClient" />

<add key="SiteSqlServer" value="Data Source=MYSERVER;Initial Catalog=MYDB;User ID=MYUID;Password=MYPWD" /> 

Any ideas or thoughts would be great!

OS=Server 2003 R2
SQL Server 2005
DNN 4.7.0


View Brenden Kehren's profile on LinkedIn
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Cannot Install DNN 4.7Cannot Install DNN 4.7


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