Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

PortalWebHosting
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
The best choice for your web site host, email hosting, and domain registration.
 


  Sponsors  

Meet Our Sponsors

The Official Microsoft ASP.NET Website
Portal Webhosting - Hosting For Developers
Red-Gate Software
MaximumASP
SourceGear - Tools for Developers
.: CounterSoft :.
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Chat About It!  DotNetNuke Upgrade Error & Error Installing DotNetNuke
Previous Previous
 
Next Next
New Post 1/4/2007 4:49 AM
User is offline Tikkune
198 posts
9th Ranked




DotNetNuke Upgrade Error & Error Installing DotNetNuke 

DotNetNuke 4.4

I have a DotNetNuke installation that contains two parent portals. Every few days when browsing to either portal users will see one of two messages:

--- Message 1 ---

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

ERROR: Could not connect to database.

Cannot open user default database. Login failed. Login failed for user 'NT AUTHORITY\NETWORK SERVICE'.

--- Message 2 ---

Error Installing DotNetNuke
Current Assembly Version: 04.04.00
ERROR: Could not connect to database specified in connectionString for SqlDataProvider


I log in as HOST, select Host > Restart Application - and everything is good again; the errors go away.

Anyone know why this might be happening, and how I might fix it once and for all?

Can I alter the error messages so the do not say so much about the underlying system (DotNetNuke)?


"If a problem can be solved, there's no use worrying about it. If it can't be solved, worrying will do no good."
 
New Post 2/8/2007 4:55 AM
User is offline Tikkune
198 posts
9th Ranked




Re: DotNetNuke Upgrade Error & Error Installing DotNetNuke 
Modified By Tikkune  on 2/8/2007 9:09:06 AM)

My associate suggested I check the web.config file and see that the authentication credentials were set correctly for connecting to the database. He thought that maybe this MS SQL Server 2005 Express had authentication set to be either Windows or SQL (Properties > Security - in Mangement Studio) and that one set of credentials were not authenticating correctly.

Turns out SQL Server 2005 Express was set for Windows Authentication only and those credentials were set correctly. But when I got to thinking about credentials, I found an old MSDE instance running for another database (Plesk SiteBuilder) that had SQL Server authentication only enabled. Since the database managed by that MSDE is no longer used, I disabled the MSDE instance altogether. Since then, about two weeks ago, the error DNN Upgrade Error that appeared every couple days when connecting to a DNN portal is gone and has not occurred again.

Maybe the MSDE instance (w/ SQL Server authentication) was somehow causing trouble with the MS SQL Server 2005 Express engine handling the DotNetNuke databases. Thanks to my associate Sebastian for lighting the way to a solution.


"If a problem can be solved, there's no use worrying about it. If it can't be solved, worrying will do no good."
 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Chat About It!  DotNetNuke Upgrade Error & Error Installing DotNetNuke
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


CrystalTech
CrystalTech Web Hosting™ provides first-class service and support. Our value-packed ASP.NET plans offer DNN installation, SQL 2005 and up to 100 domain names starting at only $16.95 per month!
CrystalTech.com
DotNetNuke® in Sweden
All service of DotNetNuke® in Sweden.
Olsmar Konsult
DocuPeak Business Process Management RAD
Comprehensive enterprise and government process management. Forms, documents, indexing, workflow, views, content intelligence, capture, etc. Point and click rapid application development.
www.Webiplex.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP