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 ...Server Error in ....   (using DNN 3.2.2)Server Error in .... (using DNN 3.2.2)
Previous
 
Next
New Post
1/6/2006 3:43 AM
 

I have been trying and trying to install DNN 4.0.2 and have been getting the Server Error in '/' Application message over and over.  I gave up and downloaded DNN 3.2.2.  I followed the PDF file to a 't', and received the same message.  Even at the server (its in the same room I am in), I got the same message (yep, viewing the actual page on the server itself.  Can't figure that one out either. ideas?)  So, I'm not a server guru (I do Classic ASP programming), but figured I would mess around with the ASP.NET tab.  Originally it was set to 1.1, but on a whim I change it to 2.0, and BAM, now I get to a screen like this:

DotNetNuke Upgrade Error

The Assembly Version ( [ASSEMBLYVERSION] ) does not match the Database Version ( [DATABASEVERSION] )

ERROR: Could not connect to database.

Login failed for user 'dotnetnuke'. Reason: Not associated with a trusted SQL Server connection
.

I am assuming because the actual install scripts haven't ran, and its looking at the web.config file.  So, I then went to the /Install folder (via the browser) and added the install.aspx?mode=none (even changed none to install) and get the following:

 

Error Installing DotNetNuke

Current Assembly Version: 03.02.02

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

Where do I need to check this at?  My web.config file has the following:

<appSettings>
  <add key="SiteSqlServer" value="Server=(local);Database=DotNetNuke;uid=xxxxxx;pwd=xxxxxx;" />  <-- xx'd out real data for this post>
  <add key="MachineValidationKey" value="F9D1A2D3E1D3E2F7B3D9F90FF3965ABDAC304902" />
  <add key="MachineDecryptionKey" value="F9D1A2D3E1D3E2F7B3D9F90FF3965ABDAC304902F8D923AC" />
  <add key="MachineValidationMode" value="SHA1" />
  <add key="InstallTemplate" value="DotNetNuke.install.resources" />
  <add key="AutoUpgrade" value="true" />
  <add key="UseDnnConfig" value="true" />
  <add key="InstallMemberRole" value="true"/><!--optionally install the MemberRole scripts -->
  <add key="ShowMissingKeys" value="false" /><!-- Show missing translation keys (for development use) -->
  <add key="EnableWebFarmSupport" value="false" /><!--Set to true to enable web farm suppot.  See Web Farm

Support documentation for additional configuration steps.-->
  <add key="EnableCachePersistence" value="false" /><!--Some cached items can persist an app recycle by

serializing the object to disk. Set to "true" to enable this performance enhancement.-->
 </appSettings>

and my <data stuff is

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

I know I am missing something obvious, so if possible, could someone please show me where I am screwing up? Thanks.  And one final question,  I thought dnn 3.2.2 was geared for ASP.NET 1.1.  Why did the Server Error Message go away when I changed it to 2.0 in IIS?  My goal is to get dnn 3.2.2 running, then try the same thing again with 4.0.2, so if that problem can be determined, it will help me later.  Thanks again. 

Specs on the server I am using:

Win 2k SP4, .NET Frame work 1.1, 1.1 SP1, 1.1 SP1 Security Fix, 2.0, IIS 5

 

I forgot to also put that SQL Server 2000 is installed.

 

R/

 
New Post
1/6/2006 12:55 PM
 
Change (localhost) in <add key="SiteSqlServer" value="Server=(local);Database=DotNetNuke;uid=xxxxxx;pwd=xxxxxx;" /> to 127.0.0.1
 
New Post
1/6/2006 2:11 PM
 

Ok, I did that.  I tried 127.0.0.1 with and without ( ), neither worked.  In Enterprise Manager, the name of the server is shown as SERV2000A.  I tried this also with and without ( ) as the server name.  I even tried localhost. 

I have created a user in SQL Server called dotnetnuke (not a windows user).  Should the user be on the local machine also?  I wouldn't think it should matter because I am passing a user to SQL Server.  Public and db_owner are both checked for that user also. Viewing 'Edit SQL Server Registration Properties', Windows Autentication is marked.  I am also being told that user 'dotnetnuke' is not associated with a trusted SQL server connection. 

 
New Post
1/6/2006 5:39 PM
 
Have you created the User defined by uid/pw in SQL Server as a Login and given it dbowner rights to the Database?  ( SQL Server login not a Windows Login)

Also I find that I sometimes need to use the computer name for Server in the connection String, or real IP address.

Charles Nurse
Chief Architect
Evoq Content Team Lead,
DNN Corp.

Want to contribute to the Platform project? - See here
MVP (ASP.NET) and
ASPInsiders Member
View my profile on LinkedIn
 
New Post
1/6/2006 7:29 PM
 

Yes, I did.  I even deleted, then added another user with a different name and password.  Still no luck.

However, I have managed to finally get 3.2.2 up and running.  What I did was un-installed SQL Server 2000 because I think when I installed it, I used Windows Autentication mode rather than Mixed Mode.  When I re-installed, I selected mixed mode and put in a password.  I then created a user, set the password under the Security tab of SQL Server 2000, added that user to the database, browsed to the site and viola!  It installed ok (rather slow, but then again, the server has only a 800Mhz chip in it.)  So, now it looks like its time to start configuring the site. 

I would like to thank those who responsed and offered suggestions.  I appreciate it.  Both the suggestions, and some serious googling, got me in the right direction.  I am sure I will be back (in another thread of course ) needing more information.....mater of fact, I am getting ready to post a few questions concerning security and built in Windows user accounts. 

 

Thanks again.

 

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Server Error in ....   (using DNN 3.2.2)Server Error in .... (using DNN 3.2.2)


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