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 ...after 3 months of trying to install DNN i still cant install it (please help)after 3 months of trying to install DNN i still cant install it (please help)
Previous
 
Next
New Post
2/11/2006 5:04 PM
 
I have the same error. Please Help.
 
New Post
2/12/2006 1:42 PM
 

Hi,

Go to your database name add a new user by expanding the nodes and right clicking Users. Make sure you use the same name that you used to give permissions to the dotnetnuke folder in the wwwroot directory. For exapmle, ASPNET/MACHINENAME. Then select the dbo-owner checkboxes, there should be two of them. Then go into your web.config file to make it look like this:

<add key="SiteSqlServer" value="Data Source=.\SQLExpress;Integrated Security=True;Database=YourDatabase;" />

Save and install.

Hope this helps

 

 
New Post
2/12/2006 2:33 PM
 

Things are a little different between all the version mixes you can be using.  On my system I've got ASP .Net 1.1 and 2.0, DNN 3.2.2 and DNN 4.0.2, SQL Server 2000, SQL Server 2005 and SQL Server 2005 Express all running as named instances.  Can you tell I'm doing dom testing.  :)

For DNN 3.2.2 Running under ASP .Net 1.1 connecting to SQL 2000 the line in your web.config file should look like

<appSettings>
    <add key="SiteSqlServer" value="Server=Eagle;Database=DotNetNuke;uid=username;pwd=passwd;" />

My server is Eagle and SQL server 2000 is running default on port 1435. The database name is DoTNetNuke but could be whatever you want it to be and change the username and password to what you configured in the database when you created it.

DNN  Running under ASP .Net 2.0 connecting to SQL 2000 

Same as above but you need a new section in the web.config above appsettings;

<connectionStrings>
<add name="SiteSqlServer" connectionString="Server=EAGLE;Database=DotNetNuke;User ID=user;Password=passwd;Trusted_Connection=False" providerName="System.Data.SqlClient" />

Connection strings for SQL Server 2005 and 2005 express are exactly the same but with express you might need to add Trusted_Connection=False to the end.

If you have named instances of SQL running on your server you need to specify them in the server attribute.  So for my system if I want to use SQL2005 instead of 2000 I specify Eagle\SQL2005 and if I want to use SQL 2005 Express I change it to Eagle\SQLEXPRESS. Works everytime for all of the different things I've got installed.

Don't depend on the 4.0.2 install to create the database and user for you with SQL Express. Create it yourself and then add the user to the instance and database.

A great place to go fine connection strings to different types of databases and different formats for them is

www.connectionstrings.com

Cheers,

 

 


Paul Davis
 
New Post
2/12/2006 3:01 PM
 

http://www.sqlstrings.com/SQL-Server-connection-strings.htm

I suggest a "Trusted Connection" for "Integrated Security" instead of putting a username and password in your web.config (not as secure). This will allow the 'NETWORK SERVICE' or 'ASPNET' user that you've given permission on the webserver for your site's db and virdir (db owner and virdir full control).

You can generate specific ADO connections and connection strings this way:

  1. Create a text file and save it with the extension of ".udl" (.UDL).
  2. Open the new file by double-clicking through file explorer, for example
  3. the .UDL extension will be opened by 'Data Link Properties' dialog
  4. use this to create a connection to your database
  5. in this utility, find the connection string text line and copy it to your clipboard to use

keep editing the connection strings as described in the install instructions and you will hit the right combination

 
New Post
2/12/2006 3:36 PM
 
I think I figured out what the problem is with the default release.config file's connection string, at least when considering SQL Express 2005.

For starters, here's the initial string:
Data Source=.\SQLExpress;Integrated Security=True;User Instance=True;AttachDBFilename=|DataDirectory|Database.mdf;"

The Integrated Security=True setting doesn't match with the instructions given in the install documentation, where their example creates a user called "cnurse." As JohnAskew said, the Integrated Security setting tries to login using your computer's ASPNET (windows XP) or NETWORK SERVICE (2003 Server) account. This means that when you create the user under your database's Security->Logins section, you need to reference the appropriate account for your operating system, not an arbitrary user name as in the install instructions.

Now if you try the connection string as it stands, it won't work. I had to change 2 things to get the install to go through:

1. I had to use the Initial Catalog=DotNetNuke setting instead of the AttachDBFilename=|DataDirectory|DotNetNuke.mdf setting. I called my database DotNetNuke, which is why Database.mdf from above was renamed to DotNetNuke.mdf.

2. I had to remove the User Instance=True setting.

So my final connection string looks like this:
Data Source=.\SQLExpress;Integrated Security=True;Initial Catalog=DotNetNuke;

I'm totally new to DNN, so I'm not sure how the User Instance=True setting affects the system. In any case you can check out this MSDN list of connection string parameters for further understanding:

http://msdn2.microsoft.com/en-us/library/system.data.sqlclient.sqlconnection.connectionstring.aspx
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...after 3 months of trying to install DNN i still cant install it (please help)after 3 months of trying to install DNN i still cant install it (please help)


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