NexDuke
 Nuke Newbie Posts:9

 |
10/02/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 DotNetNukeCurrent Assembly Version: 04.09.00ERROR: 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
|
|
|
|
|
Lee Sykes DNN Creative Staff
 Nuke Master VI Posts:4945

 |
|
Joseph Craig DNN MVP Posts:11667

 |
10/03/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, Patapsco Research Group Complete DNN Support |
|
|
NexDuke
 Nuke Newbie Posts:9

 |
10/03/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? |
|
|
|
|
Lee Sykes DNN Creative Staff
 Nuke Master VI Posts:4945

 |
10/04/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/DNNCreative
 |
|
|
NexDuke
 Nuke Newbie Posts:9

 |
10/04/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 |
|
|
|
|
Joseph Craig DNN MVP Posts:11667

 |
10/04/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, Patapsco Research Group Complete DNN Support |
|
|
NexDuke
 Nuke Newbie Posts:9

 |
10/04/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 |
|
|
|
|
Lee Sykes DNN Creative Staff
 Nuke Master VI Posts:4945

 |
10/04/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/DNNCreative
 |
|
|
NexDuke
 Nuke Newbie Posts:9

 |
10/05/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
 Nuke Newbie Posts:9

 |
10/08/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 |
|
|
|
|
Joseph Craig DNN MVP Posts:11667

 |
10/08/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, Patapsco Research Group Complete DNN Support |
|
|
Lee Sykes DNN Creative Staff
 Nuke Master VI Posts:4945

 |
|