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...Upgrading DNN P...Upgrading DNN P...Upgrading from 4.5.5 to 4.6.2Upgrading from 4.5.5 to 4.6.2
Previous
 
Next
New Post
6/18/2010 7:35 PM
 
I'm installing an upgrade to DNN 4.06.02 from 4.5.5. I've tried various ways of doing this and I always end up with the same error (See Below). I've made only the barest changes to the release config file before renaming it to web.config, just the sql setting as well as the keys. Anyone with any experience or insight into this error that wishes to offer feedback it would be most appreciated... Thanks..

Server Error in '/SCPortal' Application.
--------------------------------------------------------------------------------

Value cannot be null.
Parameter name: type
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.ArgumentNullException: Value cannot be null.
Parameter name: type

Source Error:

Line 80:
Line 81:             'Determine the Upgrade status and redirect to Install.aspx
Line 82:             Select Case GetUpgradeStatus()
Line 83:                 Case Globals.UpgradeStatus.Install
Line 84:                     If AutoUpgrade Then
 

Source File: C:\inetpub\wwwroot\SCPortal\App_Code\Global.asax.vb    Line: 82

Stack Trace:

[ArgumentNullException: Value cannot be null.
Parameter name: type]
   System.Activator.CreateInstance(Type type, Boolean nonPublic) +7469462
   DotNetNuke.Framework.Reflection.CreateObject(String ObjectProviderType, String ObjectProviderName, String ObjectNamespace, String ObjectAssemblyName, Boolean UseCache) +584
   DotNetNuke.Data.DataProvider.CreateProvider() +47
   DotNetNuke.Data.DataProvider..cctor() +13

[TypeInitializationException: The type initializer for 'DotNetNuke.Data.DataProvider' threw an exception.]
   DotNetNuke.Data.DataProvider.Instance() +0
   DotNetNuke.Common.Globals.GetUpgradeStatus() +61
   DotNetNuke.Common.Global.CheckVersion() in C:\inetpub\wwwroot\SCPortal\App_Code\Global.asax.vb:82
   DotNetNuke.Common.Global.Application_Start(Object Sender, EventArgs E) in C:\inetpub\wwwroot\SCPortal\App_Code\Global.asax.vb:310



--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.4927; ASP.NET Version:2.0.50727.4927

 
New Post
6/18/2010 7:50 PM
 
It appears that there may be a syntax error in either the <connectionStrings> or <data defaultProvider="SqlDataProvider"> sections of your web.config file, possibily caused when you were making modifications to release.config before renaming it to web.config.

If you are not able to locate the problem, please post the entire <connectionStrings> and <data defaultProvider="SqlDataProvider"> sections. Be sure to replace any sensitive information in the connection strings such as server, user id, and password with xxxxxxx.

Also, be sure to transfer two additional pieces of information from your version 4.5.5 web.config: the values for databaseOwner= and for objectQualifier= found in the <data defaultProvider="SqlDataProvider"> section.

Bill, WESNet Designs
Team Lead - DotNetNuke Gallery Module Project (Not Actively Being Developed)
Extensions Forge Projects . . .
Current: UserExport, ContentDeJour, ePrayer, DNN NewsTicker, By Invitation
Coming Soon: FRBO-For Rent By Owner
 
New Post
6/19/2010 8:15 AM
 

  <connectionStrings>
<!-- Stefan -->
    <add name="SiteSqlServer" connectionString="Server=localhost;Database=ProductionPortal;uid=xxx;pwd=xxx;" providerName="System.Data.SqlClient" />
    <add name="ProductionPortalConnectionString" connectionString="Server=localhost;Database=ProductionPortal;uid=xxx;pwd=xxx;" providerName="System.Data.SqlClient" />
<!--End Stefan -->

  </connectionStrings>






<data
      defaultProvider="SqlDataProvider">
      <providers>
        <clear/>
        <add
          name="SqlDataProvider"
          type="DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider"
          connectionStringName="SiteSqlServer"
          upgradeConnectionString=""
          providerPath="~\Providers\DataProviders\SqlDataProvider\"
          objectQualifier=""
          databaseOwner="dbo"/>
      </providers>
    </data>
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Upgrading DNN P...Upgrading DNN P...Upgrading from 4.5.5 to 4.6.2Upgrading from 4.5.5 to 4.6.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