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

eUKhost.com is commited to offer exceptional UK Windows Web Hosting solutions with quality 24x7 technical support.Our plans support ASP.Net, ASP, ASP.NET Ajax extensions, XML, MSSQL, MySQL, PHP,DNN, multiple domains and Shared SSL as standard.
SmarterTools
The Official Microsoft ASP.NET Website
Portal Webhosting - Hosting For Developers
Red-Gate Software
MaximumASP
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Install It!  Possible solution to dotnetnuke.data.dataprovider error upgrading to 4.7
Previous Previous
 
Next Next
New Post 11/9/2007 11:31 AM
User is offline Mike Klein
63 posts
10th Ranked


Possible solution to dotnetnuke.data.dataprovider error upgrading to 4.7 

I have an install of DNN that has gone through many upgrades.  However when I tried to upgrade to 4.7 I got an 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

So, I spent the next 4 hours troubleshooting this.

After reading posts of people with similar problems I figured the problem was from the upgrade of past versions and leftover dll's in the \bin directory.  I renamed the bin directory and then copied over the \bin directory from the 4.7 install.  I then added ONE dll at a time until I found the one that crashed the site with the above error.

I removed DotNetNuke.Provider.Membership.SqlDataProvider.dll and the site now works.

I hope this helps someone.

 
New Post 11/14/2007 8:33 PM
User is offline netboy34
3 posts
10th Ranked


Re: Possible solution to dotnetnuke.data.dataprovider error upgrading to 4.7 

Followed your suggestion and now my site shows up, thank you, but now I can't login... any suggestions?

 
New Post 11/15/2007 8:19 AM
User is offline Mike Klein
63 posts
10th Ranked


Re: Possible solution to dotnetnuke.data.dataprovider error upgrading to 4.7 

Can anyone login?  Or is it just host?

 
New Post 11/23/2007 5:39 PM
User is offline John
34 posts
10th Ranked


Re: Possible solution to dotnetnuke.data.dataprovider error upgrading to 4.7 

I have the same issue - Neither the host or admin are able to log in - on the site I have those are the only two registered. I can register a new user and log in but that's of little use. Neither can it find either host or admin to email the password. Somehow I'm thinking it is not reading the encription right in the database or something. Site is up but unchangeable.

John

 
New Post 11/26/2007 2:43 PM
User is offline John
34 posts
10th Ranked


Re: Possible solution to dotnetnuke.data.dataprovider error upgrading to 4.7 

Found out the hard way this is what happens when the machineKey is not copied and pasted from the old web.config to the new. I worked with a gal and guy that do subcontracting for me in China. He wrote a script and went into my database getting me back up and running. Whew! You may need to pay him a few bucks for his time via PayPal - I sent him $50 - and it was a bargain for me at that plus learning the error of my ways.

John Clark

WowWebWorks.com

 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Install It!  Possible solution to dotnetnuke.data.dataprovider error upgrading to 4.7
 


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.

 


DNN Photo Gallery
DNN Photo Gallery is a truly unique photo management module released January 1st 2006. With DNN Photo Gallery you can REALLY integrate images into your existing portal and make them look like they were designed for your site.
DNN Photo Gallery
Swirlhost Inc.
Affordable DotNetNuke Hosting, Skin Development, Custom Module Development, and DotNetNuke Consulting. We will install your preference of DNN and now host with us and get a free license for the Swirl AJAX Chatroom Module.
www.swirlhost.com
Active Modules, Inc.
Creators of Active Forums, the best forum module for DotNetNuke
www.activemodules.com

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