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 ...Install on MSSQL server 2005 (instead SQL Express)?Install on MSSQL server 2005 (instead SQL Express)?
Previous
 
Next
New Post
4/24/2009 2:41 AM
 

I installed DNN on our IIS and everything worked fine and DNN is working. Anyways I now saw in the connection string that it is obviously running on a SQL Express server, although there should be our corporate MSSQL Server 2005:

<add key="SiteSqlServer" value="Data Source=.\SQLExpress;AttachDbFilename=|DataDirectory|Database.mdf;Integrated Security=True;User Instance=True" />

Does someone how to switch that to our SQL Server 2005? The site is not in production already, so there will be no pages etc. lost if we start from a blank database.

 
New Post
4/24/2009 3:58 AM
 

Even when I make a new Install and choose to take the MSSQL Server 2000/2005 it will generate the following connection string which obviously points to an SQL Express:

    <add name="SiteSqlServer" connectionString="Data Source=.\SQLExpress;Integrated Security=True" providerName="System.Data.SqlClient" />

 
New Post
4/24/2009 4:07 AM
 

Jens,

you need a) to specify  the correct SQL Server instance .\SQLExpress is a local SQL Server Express installation, except there had been an upgrade from Express to full version in the past. You may explore correct version using management studio or server administration.

b) if using SQL Server express, you shouldn't use database.mdf, because you cannot access database the same time using SSMS, please read http://www.dotnetnuke.com/Community/Blogs/tabid/825/EntryId/1202/DNN-SQLExpress-SQL-Server-Management-Studio.aspx 

c) web.config holds by default templates for file using database and database.mdf - make sure you don't look at the commented <!-- ...  --> strings.

d) always make sure that both connection string (in connection strings section and legacy version in the next section) are identical.

 


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
4/26/2009 5:25 AM
 

Sebastian,

I have the same question as Jens. I run the complete setup but going to Install.aspx I get the message:

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

I tried numerous varainst of connection string but none was working. When I open the database in SQL MMS with the username and password, no problem. The same is the case when I add an connection from Visual Studio to the database.
I do not think the problem is in the name of the database, username and password. It is -I think- the part to address the SQL server instance. How should this look like? I tried the name I find in the server properties 'Name', but no luck, 'ServerName\SQL'.

To be short, HELP!

I am running Win XP Pro, SQL server Developper Edition, DNN Assembly Version: 04.09.03 

If you have any suggestions you are more the welcome.

Thanks in advance,

Gerard

 
New Post
4/26/2009 5:45 AM
 

Gerard,

server needs to be specified by "(servername)" only, if the default instance is used, or "servername\sqlserverinstancename" else.

If you are on (localhost), you may use "." as servername, e.g. ".\SQLExpress". SQL instance shall be the same as used in SSMS

besides, make sure, both SQL client and server do support TCP/IP authentication and remote authentication is turned on on SQL server as well.

HTH


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Install on MSSQL server 2005 (instead SQL Express)?Install on MSSQL server 2005 (instead SQL Express)?


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