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 ...SQL 2005 connectionSQL 2005 connection
Previous
 
Next
New Post
5/29/2007 8:34 AM
 

I assume it's a MSSQL Server 2005 Standard - Can you send me your connection string?

 
New Post
5/29/2007 8:41 AM
 

Jascht, it 's  SQLEXPRESS

The connection string is as delivered with the install. If I need to customise it. I didn't know.

<connectionStrings>
    <!-- Connection String for SQL Server 2005 Express -->
    <add name="SiteSqlServer" connectionString="Data Source=.\SQLExpress;Integrated Security=True;User Instance=True;AttachDBFilename=|DataDirectory|Database.mdf;" providerName="System.Data.SqlClient" />
    <!-- Connection String for SQL Server 2000/2005
    <add
      name="SiteSqlServer"
      connectionString="Server=(local);Database=DotNetNuke;uid=;pwd=;"
      providerName="System.Data.SqlClient" />
   -->
  </connectionStrings>

 
New Post
5/29/2007 11:45 AM
 

I'm quite sure now that your problem is the connection itself. 
I assume again you're using the standard instance for MSSQL Server Express Ed. then your connection passage for web.config could be: 

...
<connectionStrings>
<
add name="SiteSqlServer" connectionString="Server=yourserver\SQLExpress;Database=yourdb;uid=youruser;pwd=yourpassword;" providerName="System.Data.SqlClient" />
</
connectionStrings>
<
appSettings>
<
add key="SiteSqlServer" value="Server=yourserver;Database=yourdb;uid=youruser;pwd=yourpassword;" />

...

good luck

 
New Post
5/29/2007 5:42 PM
 
Hi Jascht,
i have the same problem intalling DOT4.3.7 in a remote server (noticiasdelmundo.es)
it shows me this error:
DotNetNuke Upgrade Error
The Assembly Version ( [ASSEMBLYVERSION] ) does not match the Database Version ( [DATABASEVERSION] )
ERROR: Could not connect to database.
Se ha denegado el permiso EXECUTE en el objeto 'GetPortalAliasByPortalID', base de datos 'qce374', esquema 'dbo'.

i send you the web.config code:


name="SiteSqlServer"
connectionString="Server=*****;Database=****;uid=****;pwd=****"
providerName="System.Data.SqlClient" />





Please, could you help me whit my installation? THANKS
Best,
 
New Post
5/29/2007 6:06 PM
 

When you started to update your solution have you forgotten a objectQualifier (when you had one before)?

 <data defaultProvider="SqlDataProvider">
      <providers>
        <clear />
        <add name="SqlDataProvider" type="DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider" connectionStringName="SiteSqlServer" upgradeConnectionString="" providerPath="~\Providers\DataProviders\SqlDataProvider\" objectQualifier="dnn_" databaseOwner="dbo" />
      </providers>
    </data>

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...SQL 2005 connectionSQL 2005 connection


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