You need to Register for free and Login to post a message in the forum.

Forum

Subject: Installing on XP Home
Prev Next
You are not authorized to post a reply.

Author Messages
nexduke
DNN Creative Magazine Subscriber
Nuke Newbie
Nuke Newbie
Posts:6

02 Oct 2008 11:40 AM  
Hi

I've been trying to install DNN for 4 days now and it's seriously doing my nut.

I've followed the How to Install DotNetNuke to Windows XP Home (Using VWD) video guide exactly and get as far as initiating the installation.

Then I get this error:

Error Installing DotNetNuke

Current Assembly Version: 04.09.00

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


I have read that I need to change the connectionString in the Web Config file to somthing like: value="Server=(local);Database=DotNetNuke;uid=**MYSERNAME**;pwd=**MYPASSWORD**;

I've tried this and it's telling me that the Username is't valid, how do I set the user name?

Thanks
leesykes
DNN Creative Staff
Nuke Master III
Nuke Master III
Posts:3375

02 Oct 2008 12:47 PM  
If you are installing locally you should not need to change the connection string because it is already set to connect to a SQL Server Express database that is inside your dnn installation folders. You only need to change it if you are connecting to a SQL Server 2005.

Did you setup SQL Server Express when you installed it to use both windows authentication and SQL Server authentication?

Lee Sykes
Site Administrator
Subscribe to the website : DotNetNuke Video Tutorials : The Skinning Toolkit : DotNetNuke Podcasts

Twitter: www.twitter.com/leesykes

Lee Sykes's Facebook Profile
jncraig
DNN Creative Staff
Nuke Master II
Nuke Master II
Posts:2368


03 Oct 2008 8:18 AM  
If you are installing a new version of DotNetNuke and if it is at least 4.8.0 or higher, DotNetNuke includes an installation Wizard. If you delete any web.config file in the directory, then the Wizard should start when you browse to the site.

The Wizard will test your file permissions and help you configure you database connection strings. Just follow the prompts, and make sure that you try the test at every stage that includes one.

Joe Craig
DNN Creative Support
Subscribe to the website
nexduke
DNN Creative Magazine Subscriber
Nuke Newbie
Nuke Newbie
Posts:6

03 Oct 2008 9:11 AM  
Hi

Thanks for your relpy Lee, I did select Mixed and added a password, I've reinstalled SQL Server Express 2005 again just to be extra sure.

This time I get a different error:

An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)

jncraig, thanks for your reply too, I've just tried deleting the Web.config file and VWD gives me a build error and gives me this:

Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: BC30451: Name 'Config' is not declared.

Source Error:

Line 66: Private Sub Application_Start(ByVal sender As Object, ByVal e As EventArgs)
Line 67:
Line 68: If Config.GetSetting("ServerName") = "" Then
Line 69: ServerName = Server.MachineName
Line 70: Else


Source File: C:\DotNetDukeSites\Unhappy3\App_Code\Global.asax.vb Line: 68

Do you think I should uninstall VWD 2008 and start again?
leesykes
DNN Creative Staff
Nuke Master III
Nuke Master III
Posts:3375

04 Oct 2008 2:21 AM  
Hello,

I would create a fresh folder and copy the DNN installation files into there (the files from a fresh download of the install package), don't make any changes to the web.config or delete it.

Just follow the steps through exactly as the video without using anyone else's written instructions.

See if it goes through, if you get an error when installing DNN, you are best starting again with new files, especially if you have been tweaking the web.config etc.



Lee Sykes
Site Administrator
Subscribe to the website : DotNetNuke Video Tutorials : The Skinning Toolkit : DotNetNuke Podcasts

Twitter: www.twitter.com/leesykes

Lee Sykes's Facebook Profile
nexduke
DNN Creative Magazine Subscriber
Nuke Newbie
Nuke Newbie
Posts:6

04 Oct 2008 5:57 AM  
Hi,

This morning I've downloaded a fresh DotNetNuke_04.09.00_Install.zip and extracted this to a new folder on my C drive.

The install builds with no error, opens the installation wisard. I select Auto, click Next and again it gives me:

Error Installing DotNetNuke
Current Assembly Version: 04.09.00
ERROR: Could not connect to database specified in connectionString for SqlDataProvider


I have noticed that there is a broken image above this message that hasn't loaded properly:
http://localhost:1225/DNNTEST1/Install/logo.gif

Should this display normally or is it a symptom of a wider problem ?

Cheers
jncraig
DNN Creative Staff
Nuke Master II
Nuke Master II
Posts:2368


04 Oct 2008 7:54 AM  
Are you running this as a normal website, or are you running this inside of Visual Studio? I'd recommend running it outside of Visual Studio.

Did you create an empty database in your SQL server? You must also attach a login name and password to this database. The login name must also be able to access the database as the database owner (dbo).

Did the Wizard start when the site loaded? I really do recommend that you use the Wizard, and that you use the test buttons at every stage.

Joe Craig
DNN Creative Support
Subscribe to the website
nexduke
DNN Creative Magazine Subscriber
Nuke Newbie
Nuke Newbie
Posts:6

04 Oct 2008 9:22 AM  
Hi Joe

I'm following everything as the guide suggests:

Launch Visual Studio
Open New Site
Debug - Start Without Debugging

The Wizard only gets as far as the 1st page, were you can pick Custom, Typical or Auto.

I pick Auto and get the Error:
Could not connect to database specified in connectionString for SqlDataProvider

I never get to the part with the test buttons.


I haven't created an empty database or attached a login name & password as nothing in the guide mentions doing this.
How do I do this? I'll give it a try

Thanks

leesykes
DNN Creative Staff
Nuke Master III
Nuke Master III
Posts:3375

04 Oct 2008 4:39 PM  
ah yes, because you are installing to XP home you have to go through visual studio and use the auto method - you can not use the wizard method as it will not complete on windows home XP so you wont be able to use the test buttons.

Did you install SQL Server Express 2005 rather than 2008?

There must be some configuration problem with SQL Server itself as it should just be able to connect to the database that is already created in the DNN installation files for you - the settings in the web.config automatically are set to connect to this database, so you should not have to create a database or make any changes to the web.config.

Lee Sykes
Site Administrator
Subscribe to the website : DotNetNuke Video Tutorials : The Skinning Toolkit : DotNetNuke Podcasts

Twitter: www.twitter.com/leesykes

Lee Sykes's Facebook Profile
nexduke
DNN Creative Magazine Subscriber
Nuke Newbie
Nuke Newbie
Posts:6

05 Oct 2008 5:37 AM  
Hi

Yes, I'm using SQL Server Express 2005, what would you suggest I do if it is a configuaration problem?

Should I try SQL Server Express 2008?
nexduke
DNN Creative Magazine Subscriber
Nuke Newbie
Nuke Newbie
Posts:6

08 Oct 2008 8:35 AM  
Hi again,

I'm still getting absolutely nowhere with this, could anybody suggest any other ways to set this DNN on XP Home?

Any ideas would be very much appreciated.

Cheers
jncraig
DNN Creative Staff
Nuke Master II
Nuke Master II
Posts:2368


08 Oct 2008 8:54 AM  
You will need to create an empty database, and give it appropriate login name and password. Your SQL server should be configured for mixed authentication. Your login name must have dbo privileges for the database.

You will also need to edit the two connection strings in your web.config file to be able to open the database.

Joe Craig
DNN Creative Support
Subscribe to the website
leesykes
DNN Creative Staff
Nuke Master III
Nuke Master III
Posts:3375

10 Oct 2008 9:07 AM  
ok I'm back from OpenForce, have you solved the problem?

Because you are having these problems, I would try exactly as Joe suggests with creating a new database and username and editing the web.config file.


But - It should work without doing this however, so, the first thing I would check is the settings on SQL Server Express and that they are set to 'SQL Server and Windows Authentication' mode not just 'Windows Authentication' check this post for further info:

SQL Server Authentication


Lee Sykes
Site Administrator
Subscribe to the website : DotNetNuke Video Tutorials : The Skinning Toolkit : DotNetNuke Podcasts

Twitter: www.twitter.com/leesykes

Lee Sykes's Facebook Profile
You are not authorized to post a reply.
Forums > DotNetNuke® > DotNetNuke® Questions > Installing on XP Home



ActiveForums 3.7

Latest Forum Posts

RE: localhost Install issues by cdees
Lee: I wanted to follow up on this for anyone following this thread. I have been unable to solve t...
RE: Add New Profile Properties by WSI
HI Joe, The DNN version is 4.5.5. Thanks, Cliff
Change Skin on URL by vinita
Hi,Can the skin be changed based on the url used to access a portal. Multiple portal aliases may be ...
problem creating child portal by kabamaro
  Hello all i have 4 Aliases for my parent portal , lets call them X,y,Z,WIn all Aliases i can creat...
problem creating child portal by kabamaro
  Hello all i have 4 Aliases for my parent portal , lets call them X,y,Z,WIn all Aliases i can creat...
Best DNN portal ever! by derpir
I have been a subscriber since august 2008, and DNNCreative.com is simply the best DNN Portal, their...
RE: skinning trouble by derpir
Hello Yes could you be so kind and take a look att the htm-file and css-file.I would be very gratef...
Search function is not working by kishorpawar
I am using Seach module in my project but not working, i have set   host setting alsoHost --> Schedu...
RE: backend is changing from sql2005 to sql2008 by leesykes
hello,There should not be any code changes needed, but you'll need to make sure that SQL 2008 upgrad...
RE: skinning trouble by leesykes
Hello,I would need to see your code to help you with this one, you can zip up your files and attach ...
RE: Installing DotNetNuke 4.9.00 on VWD 2005 w/ SQL server 2008 by leesykes
I have run a test with SQL Server 2008 express and DotNetNuke installed in exactly the the same way ...
RE: Issue 39 Interview by leesykes
thanks Bill, glad it was useful, we will have a think about the best way to approach this,Thanks,
RE: Issue 39 Authentication by leesykes
yes I have a live site in 4.9.0 at it seems stable as well.
backend is changing from sql2005 to sql2008 by meenu
hi all advance thanks. in my DNN0408 website am using sql2005 as backend.now planning to remove sq...
About catalook error by kishorpawar
 I am  using dnn 4.8.4 version in my project, this  site is in 2 language,whenver i click on the BYN...
RE: Menu Keeps Verticaly by ruimacdonald
Tnx for your help. It's done. Rui
RE: Menu Keeps Verticaly by jncraig
The configuration of the MENU skin object is defined in the skin.xml file. You'll need to modify th...
RE: Add New Profile Properties by jncraig
I have not seen that problem. Which version of DotNetNuke are you using?
RE: Issue 39 Authentication by jncraig
I've been developing a new site using 4.9.0 and finding it quite stable.
RE: Installing DotNetNuke 4.9.00 on VWD 2005 w/ SQL server 2008 by jncraig
You should have no problem using SQL Server 2008 Express. I'm pretty sure that the connection strin...
DotNetNuke Modules
RSS Feeds