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 ...Upgrade Problems!!Upgrade Problems!!
Previous
 
Next
New Post
10/25/2007 11:00 AM
 

Ok, so one of my developers finally convinced me that it was time to upgrade the DNN core to the latest version.  I always said if it wasn't broke... well you know the rest.  I have that opinion apparantly for good reason.  After the upgrade the site wouldn't load at all just ASP errors.  I was able to find a thread reguarding that and now have the site partially functioning.  Now my problem though is I can't log in.  This is the message I get.

A critical error has occurred.
The file '/BocesWeb/DesktopModules/AuthenticationServices/LiveID/Login.ascx' does not exist.

I have seen a blog entry about how to disable the LiveID login but that won't help since I can't log in to do it!!!!!  I checked the directory that it is referencing above and of course it cant find the file because the LiveID directory doesn't exist the only thing there is DNN.

 
New Post
10/25/2007 12:30 PM
 
OK, So this may be related. The initial problem that I mentioned was giving me the error below. The way I fixed this was to remove the BIN folder from my virtual directory and then replace it with the BIN from the upgrade package and then replaced the module dll files from my backup. As i said that fixed the error I was having. I have now further traced down the problem and found that the acutall dll file causing the problem is DotNetNuke.Provider.Membership.SqlDataProvider.dll. If this file is in the BIN I get the following exception Server Error in '/BocesWeb' 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: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. 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.Framework.Reflection.CreateObject(String ObjectProviderType, String ObjectNamespace, String ObjectAssemblyName) +17 DotNetNuke.Security.Membership.Data.DataProvider.CreateProvider() +38 DotNetNuke.Security.Membership.Data.DataProvider..cctor() +13 [TypeInitializationException: The type initializer for 'DotNetNuke.Security.Membership.Data.DataProvider' threw an exception.] DotNetNuke.Security.Membership.Data.DataProvider.Instance() +0 DotNetNuke.Security.Membership.AspNetMembershipProvider..cctor() +5 [TypeInitializationException: The type initializer for 'DotNetNuke.Security.Membership.AspNetMembershipProvider' threw an exception.] [TargetInvocationException: Exception has been thrown by the target of an invocation.] System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck) +0 System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache) +103 System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache) +261 System.Activator.CreateInstance(Type type, Boolean nonPublic) +66 DotNetNuke.Framework.Reflection.CreateObject(String ObjectProviderType, String ObjectProviderName, String ObjectNamespace, String ObjectAssemblyName, Boolean UseCache) +582 DotNetNuke.Security.Membership.MembershipProvider.CreateProvider() +38 DotNetNuke.Security.Membership.MembershipProvider..cctor() +13 [TypeInitializationException: The type initializer for 'DotNetNuke.Security.Membership.MembershipProvider' threw an exception.] DotNetNuke.Security.Membership.MembershipProvider.Instance() +0 DotNetNuke.Entities.Users.UserController..cctor() +5 [TypeInitializationException: The type initializer for 'DotNetNuke.Entities.Users.UserController' threw an exception.] DotNetNuke.Entities.Users.UserController.GetUserCountByPortal(Int32 portalId) +0 DotNetNuke.Entities.Portals.PortalInfo.get_Users() +17 DotNetNuke.Entities.Portals.PortalSettings.GetPortalSettings(Int32 TabId, PortalAliasInfo objPortalAliasInfo) +1302 DotNetNuke.Entities.Portals.PortalSettings..ctor(Int32 tabId, PortalAliasInfo objPortalAliasInfo) +82 DotNetNuke.HttpModules.UrlRewriteModule.OnBeginRequest(Object s, EventArgs e) +2848 System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +92 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64 -------------------------------------------------------------------------------- Version Information: Microsoft .NET Framework Version:2.0.50727.832; ASP.NET Version:2.0.50727.832
 
New Post
10/26/2007 2:56 PM
 

Although I didn't get any help I managed to solve the problem myself and I hope that this might be helpful if someone else runs into this.  What you need to do is disable both the LiveID and OpenID authenticiation mechanisims.  Since I couldn't login to my portal the fix had to be made in the database.

So to disable those mechanisims you need to find the Authentication table in your database.  I'm using MSSQL2005 so its called dbo.Authentication.  There are three records in the table you need to changed the IsEnabled column to false for both the LiveID and OpenID records and there you go!

 
New Post
10/26/2007 4:22 PM
 

Jarred,

I am glad that you were able to get in.

It looks like your upgrade didn't execute fully as you should have those providers installed by the upgrade if everything went as expected.

Did you by chance follow any upgrade guides?  (Mine or someone elses that covered all upgrade steps)


-Mitchel Sellers
Microsoft MVP, ASPInsider, DNN MVP
CEO/Director of Development - IowaComputerGurus Inc.
LinkedIn Profile

Visit mitchelsellers.com for my mostly DNN Blog and support forum.

Visit IowaComputerGurus.com for free DNN Modules, DNN Performance Tips, DNN Consulting Quotes, and DNN Technical Support Services
 
New Post
11/3/2007 1:56 AM
 

I tried to do this and found only one record in dbo.Authentication: AuthenticationType="DNN"

I did load the full 4.6.2 install package downloaded from sourceforge. The LiveID and OpenID providers were in zips under install/package and the install seems not to unzip them. I get this error. Any ideas?

[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.Framework.Reflection.CreateObject(String ObjectProviderType, String ObjectNamespace, String ObjectAssemblyName) +17
   DotNetNuke.Security.Membership.Data.DataProvider.CreateProvider() +38
   DotNetNuke.Security.Membership.Data.DataProvider..cctor() +13

[TypeInitializationException: The type initializer for 'DotNetNuke.Security.Membership.Data.DataProvider' threw an exception.]
   DotNetNuke.Security.Membership.Data.DataProvider.Instance() +0
   DotNetNuke.Security.Membership.AspNetMembershipProvider..cctor() +5

[TypeInitializationException: The type initializer for 'DotNetNuke.Security.Membership.AspNetMembershipProvider' threw an exception.]

[TargetInvocationException: Exception has been thrown by the target of an invocation.]
   System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck) +0
   System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache) +103
   System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache) +261
   System.Activator.CreateInstance(Type type, Boolean nonPublic) +66
   DotNetNuke.Framework.Reflection.CreateObject(String ObjectProviderType, String ObjectProviderName, String ObjectNamespace, String ObjectAssemblyName, Boolean UseCache) +582
   DotNetNuke.Security.Membership.MembershipProvider.CreateProvider() +38
   DotNetNuke.Security.Membership.MembershipProvider..cctor() +13

[TypeInitializationException: The type initializer for 'DotNetNuke.Security.Membership.MembershipProvider' threw an exception.]
   DotNetNuke.Security.Membership.MembershipProvider.Instance() +0
   DotNetNuke.Entities.Users.UserController..cctor() +5

[TypeInitializationException: The type initializer for 'DotNetNuke.Entities.Users.UserController' threw an exception.]
   DotNetNuke.Entities.Users.UserController.GetUserCountByPortal(Int32 portalId) +0
   DotNetNuke.Entities.Portals.PortalInfo.get_Users() +17
   DotNetNuke.Entities.Portals.PortalSettings.GetPortalSettings(Int32 TabId, PortalAliasInfo objPortalAliasInfo) +1283
   DotNetNuke.Entities.Portals.PortalSettings..ctor(Int32 tabId, PortalAliasInfo objPortalAliasInfo) +83
   DotNetNuke.HttpModules.UrlRewriteModule.OnBeginRequest(Object s, EventArgs e) +2848
   System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +92
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Upgrade Problems!!Upgrade Problems!!


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