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

Forum

Installation: Configure Database Connection
Last Post 2011-09-07 02:02 PM by Joseph Craig. 9 Replies.
Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
saintXUser is Offline
Nuke Master
Nuke Master
Posts:147

--
2009-02-15 05:27 AM  
Hello,

I had SQLExpress 2005 and 2008 installed on my machine and had no problems installing and running DNN on my localhost. As having 2 instances of SQL caused some problems for me, I had to format my hard drive, this time installed VWD without SQLServer by the installation time and after that SQLExpress2008 incl. Managementstudio.


Now, DNN can't stablish a Database connection by the installtion, it accepts neighter the default ./SQLEXPRESS entry nor ./mymachinename and gives me this error messsage:

Connection Error(s):

Index #: 0
Source: .Net SqlClient Data Provider
Class: 20
Number: -1
Message: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)

Whereas WVD, which also can't find the SQLServer automatically, accepts mymachinename as I type it myself and also estabilisches the Database connection and retrives the data.

For allowing remote connections the "TCP/IP" is also activated. 

I have no idea what could I do else for DNN (4.9.0) to find the database?

Thanks for your help!




Joseph CraigUser is Offline
DNN Creative Support
Nuke Master VI
Nuke Master VI
Posts:8996
Avatar

--
2009-02-15 04:22 PM  
How do you connect to the SQL Server using SQL Server Management Studio Express?

Joe Craig, DNN Creative Support

Subscribe to DNNCreative
I recommend PowerDNN for DotNetNuke Hosting.
saintXUser is Offline
Nuke Master
Nuke Master
Posts:147

--
2009-02-15 08:11 PM  
Yes! Besides VWD, Management Studio Express can also find and connect to the databases, just DNN can't find it.
Thanks
Joseph CraigUser is Offline
DNN Creative Support
Nuke Master VI
Nuke Master VI
Posts:8996
Avatar

--
2009-02-16 05:09 AM  
You should be able to use the same server, database, uid, and password in your connection string. Can you post what you are using? (with appropriate changing of names ...)?

Joe Craig, DNN Creative Support

Subscribe to DNNCreative
I recommend PowerDNN for DotNetNuke Hosting.
saintXUser is Offline
Nuke Master
Nuke Master
Posts:147

--
2009-02-16 11:48 PM  
I am trying to run: DotNetNuke_04.09.00_Install

As I had Express 2005 on my machine, it had always found the server itself under the default name ./SQLEXPRESS and the installation was taking about 2 minutes.

By the time now I just have Express2008 (can't have another server on my machine because then login fails for NT Authority and the other applications don't work). 

B.T.W. This time all applications and programms can connect to this 2008 using ./machine name, but just DNN can't. I have used several combinations like ./machine name, ./machine name/User,  IP Address, Windows shar name, etc. but nothing works.

Could it be that DNN just can connect an run database installation scripts under 2005 at all? Otherwise I have no idea.  I think I Should forget about a localhost installation of DNN ... right?
saintXUser is Offline
Nuke Master
Nuke Master
Posts:147

--
2009-02-17 06:50 AM  

I have got the idea now: Will make a virtual machine and run the 2005 database there using exactly tutorila 31.

Thanks

saintXUser is Offline
Nuke Master
Nuke Master
Posts:147

--
2009-05-06 08:40 AM  
For those who may have the same problem: I entered (local) on the database connection field of DNN, and this time it works!
Lee SykesUser is Offline
DNN Creative Staff
Nuke Master VI
Nuke Master VI
Posts:4945
Avatar

--
2009-05-06 03:11 PM  
Thanks for the feedback
Lee Sykes
Site Administrator
Subscribe to the website : DotNetNuke Video Tutorials : The Skinning Toolkit : DotNetNuke Podcasts

Twitter: www.twitter.com/DNNCreative

Lee Sykes's Facebook Profile
hemant kulshresthaUser is Offline
Nuke Newbie
Nuke Newbie
Posts:1

--
2011-09-07 11:29 AM  
<script>alert('You got alert msg')<script>
Joseph CraigUser is Offline
DNN Creative Support
Nuke Master VI
Nuke Master VI
Posts:8996
Avatar

--
2011-09-07 02:02 PM  
The script tags in your message caused it to be mangled. Please send it again.

Joe Craig, DNN Creative Support

Subscribe to DNNCreative
I recommend PowerDNN for DotNetNuke Hosting.
You are not authorized to post a reply.

Active Forums 4.3

Latest Forum Posts

Problem After Attaching/Detaching Database.mdf by Prakasam Srinivasan
I successfully installed DNN 6 on my local machine using IIS 7.5. Its working good. When I attach to
RE: Module Security permissions by Bhushan Gholap
Thanks for the reply!!! I would definitely contact sales engineer team of DNN.
RE: There's a tutorial for this somewhere by Eric W
The error I got was the Connection Error(s): Index #: 0 Source: .Net SqlClient Data Provider
RE: DNN 6 Modules Not Showing by Joseph Craig
Where can I see this? If you'd like to send me some login credentials so that I can look, use the c
RE: DNN 6 Modules Not Showing by Mike DeBaise
No, modules are set to all viewers/users. Just cant figure this out, it really doesnt make any sense
RE: Searching in DNN by Alex Ritter
Will do Joseph. I'll let you know my findings.
RE: DNN Blog module syndication by Aggiedan97
The reason I bring it up - Lee had originally provided a tutorial regarding podcast submission to iT
RE: installing DNN locally - problems with relative path by Joseph Craig
Recently I discovered this very useful blog post: http://www.dotnetnuke.com/Resources/Blogs/EntryId
installing DNN locally - problems with relative path by Prakasam Srinivasan
Instead of making tests on my live site, I recently seen various tutorials concerning installing DNN
RE: Moved site to subdomain, now no links work by Joseph Craig
PortalAlias is a table in the DotNetNuke database. Normally you would adjust this on the Site Set
RE: DNN 6 Modules Not Showing by Joseph Craig
Did you also check the module permissions? Are the modules permissions such that only logged in use
RE: Add to the menu with a custom module by Joseph Craig
I can't tell you how to do this, but ... I'd think you could start with a version of the Mega menu i
RE: Where is the Manage Profile default Properties required error message found? by Joseph Craig
You'll find it in one of those resource files you can get at with the Language Editor. I'm not sure
RE: Facebook Like Button by Joseph Craig
You can get the code you need from Facebook and then you can paste it into an HTML module in HTML mo
RE: Module Security permissions by Joseph Craig
Just a thought -- as you are evaluating the Professional version of DotNetNuke, you might want to as
RE: Module Security permissions by Joseph Craig
The module permissions that you mention are for the module: Edit the module's settings, Delete the
RE: Module permission does not work! by Joseph Craig
When you login are you a member of the Administrators security role? I don't believe that you can d
DNN 6 Modules Not Showing by Mike DeBaise
Hello all. I created a skin for DNN 6 and noticed that only while I am logged in can I see the modul
RE: URL login bypass by Joseph Craig
If you want the private page to be protected, you are going to have to have some way of "logging in.
RE: DNN Blog module syndication by Joseph Craig
Sorry. I'm not really familiar with feedburner and I haven't had a chance to research this. While
You are not logged in.
You must log in to access all 
650+ videos, tutorials, podcasts, and more.
RSS Feeds