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 ...Error Upgrading from 4.05.05 to 4.7Error Upgrading from 4.05.05 to 4.7
Previous
 
Next
New Post
11/30/2007 8:06 PM
 

Ok, So I've racked my head on this for hours... and I cannot find a solution.

I have a relatively old install that has moved up over the past 1.5 years through all the upgrades.  Now, when I try to upgrade from 4.5 to 4.7 (or even 4.6) I run into the null set refference issue in DotNetNuke.Provider.DNNProvider.dll

I've made sure that I adequately upgrade my web.config (it allows me to upgrade from 4.4 to 4.5 but no further)

I have attempted what others suggest and deleted some of my old SQLDataProvider.dll's

At this point I am resigned to believe that we will forever be stuck with 4.5.  Please help. 

Any recomendations of someone who I could empoy to solve this issue?

Thank you!

 

 
New Post
12/1/2007 6:38 AM
 

please post the complete error message.

In your web.config make sure, the connection string does not have a trailing ";"


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
12/4/2007 11:43 AM
 

Here is the error as requested.

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: D:\SkyeWeb\Website\App_Code\Global.asax.vb    Line: 82

Stack Trace:

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

[TypeInitializationException: The type initializer for 'DotNetNuke.Data.DataProvider' threw an exception.]
DotNetNuke.Common.Globals.GetUpgradeStatus() +67
DotNetNuke.Common.Global.CheckVersion() in D:\SkyeWeb\Website\App_Code\Global.asax.vb:82
DotNetNuke.Common.Global.Application_Start(Object Sender, EventArgs E) in D:\SkyeWeb\Website\App_Code\Global.asax.vb:310

Also: here is my connection string (I am using SQL Server 2005 express):

    <!-- Connection String for SQL Server 2005 Express -->
            <add name="SiteSqlServer" connectionString="Data Source=XXXX\U15221866;Initial Catalog=YYYY;User Id=YYYYY;Password=ZZZZZ" 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>
    <appSettings>
    <!-- Connection String for SQL Server 2005 Express - kept for backwards compatability - legacy modules   -->
    <add key="SiteSqlServer" value="Data Source=XXXX\U15221866;Initial Catalog=YYYY;User Id=YYYYY;Password=ZZZZZ" />
    <!-- Connection String for SQL Server 2000/2005 - kept for backwards compatability - legacy modules
    <add key="SiteSqlServer" value="Server=(local);Database=DotNetNuke;uid=;pwd=;"/>
    -->

----

as you can see, I removed the ";" at the end of the connection strings and still no love.

I believe it has something to do with old/obsolete dlls, but I have tried to eliminate one-by-one in the bin and no love.

Thanks,

 
New Post
12/5/2007 4:24 AM
 

check out the versions table in the database, other issues can be a problem to connect to database or to access web.config (check permissions!)


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
12/5/2007 9:40 AM
 

Thanks for the pointers, however none worked as of yet:

1. The version table shows that it never got upgraded from 4.5.5 (the last entry). 

2. web.config - permissions are already set for Network Service.  (besides, wouldn't this have already come up in previous upgrades?)

3. Connecting to the Database - this is the exact connection string used in past versions for flawless execution (if i include the ";" at the end of the connection string, I get a different error:

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

[TypeInitializationException: The type initializer for 'DotNetNuke.Data.DataProvider' threw an exception.]
DotNetNuke.Entities.Portals.PortalAliasController.GetPortalAliasByPortalID(Int32 PortalID) +38
DotNetNuke.Entities.Portals.PortalSettings.GetPortalAliasLookup() +74
DotNetNuke.Entities.Portals.PortalSettings.GetPortalAliasInfo(String PortalAlias) +14
DotNetNuke.HttpModules.UrlRewriteModule.RewriteUrl(HttpApplication app) +3527
DotNetNuke.HttpModules.UrlRewriteModule.OnBeginRequest(Object s, EventArgs e) +826
System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +92
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64

 Is this progress or just making it worse?

thanks,

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Error Upgrading from 4.05.05 to 4.7Error Upgrading from 4.05.05 to 4.7


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