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

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Problem running source from VS Could not connect to database specified in connectionString...Problem running source from VS Could not connect to database specified in connectionString...
Previous
 
Next
New Post
3/8/2007 5:24 PM
 

I've been reading forums for hours now and tried everything I can think of.

I'm getting:
Error Installing DotNetNuke
Current Assembly Version: 04.04.01
ERROR: Could not connect to database specified in connectionString for SqlDataProvider

I've checked and rechecked my connection string, reinstalled IIS and SQL server 2005, deleted and recreated my users trying for both SQL and windows authentication. Tried leaving my database owner as "dbo" and setting it to my username. I've deleted my project files and re-unzipped them multiple times.
I followed installation instructions in the Professional DNN4 book and on a couple websites for installation on a local machine.

I'm not an expert with IIS or SQL, but I have been working with both on a limited basis for some years. I have dnn4 installed sucessfully on another (remote) server, but am trying to set up the source to run off my local machine in visual studio.

I'm outa ideas and any thoughts would be appreciated.

 
New Post
3/12/2007 2:13 PM
 

Ok, I'm posting this for anyone else who has problem trying to install the source code. In the end I was successful using this gentleman's walk through and the documentation (documentation/StarterKit) that comes with the package.

I'm running WinXP Pro SP2, IIS 5.1, SQL Server 2005, Visual Studio (Std) 2005
I was trying to install and run the DNN4.4.1 source code.

The info that seemed to make the difference was a slightly different way of setting up the DB user in SQL 2005 and perhaps setting the permissions for the NETWORK SERVICE user which (I don't think) was mentioned in the "Professional DotNetNuke 4" Book from wrox I'm using. If you have the book, I'd suggest following the documentation included with the downloaded source code. The book information was just enough off to cause me some consternation.

 
New Post
4/2/2007 1:16 AM
 

Hi,

I am having similar problem installing dnn 4.4.1. Here is the error msg:

-------------------------------------------

ERROR: Could not connect to database.

The stored procedure 'dbo.GetPortalAliasByPortalID' doesn't exist

--------------------------------------------

I did my research, looks like that I am not the only one, but I just could not find the right answer.

I am running SQL 2005 and window 2003. SQL server is on separate machine.

Here is my connection string:

-------------------------------

<add
      name="SiteSqlServer"
      connectionString="Server=SQLSERVER01;Database=DNN;Integrated Security=SSPI;"
      providerName="System.Data.SqlClient" />

---------------------------------

 

 

Please help! (my email address: pzhang@pcsigroup.com)

 

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Problem running source from VS Could not connect to database specified in connectionString...Problem running source from VS Could not connect to database specified in connectionString...


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