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 ...Server Error in Server Error in '/' Application after 4.4.0 Upgrade
Previous
 
Next
New Post
1/29/2007 2:38 PM
 
I am having the same issue, but the work around didn't do anything for me.  Does this forum have a moderator that might offer some assistance?
 
New Post
2/5/2007 2:28 PM
 

I am also having the same problem, I'm wondering what version people were successfully upgrading from?  I was tryning to upgrade from 4.0.2 to 4.4.1 when I got this error. The workaround did work for me, but now I've ended up with the following exception:

Object reference not set to an instance of an object.

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.NullReferenceException: Object reference not set to an instance of an object.

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:

[NullReferenceException: Object reference not set to an instance of an object.]
   DotNetNuke.Framework.Reflection.CreateObject(String ObjectProviderType, String ObjectProviderName, String ObjectNamespace, String ObjectAssemblyName, Boolean UseCache) +465
   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.Common.Globals.GetHostPortalSettings() +214
   DotNetNuke.Common.Globals.GetPortalSettings() +79
   DotNetNuke.HttpModules.AuthenticationModule.Init(HttpApplication application) +12
   System.Web.HttpApplication.InitModules() +267
   System.Web.HttpApplication.InitInternal(HttpContext context, HttpApplicationState state, MethodInfo[] handlers) +1251
   System.Web.HttpApplicationFactory.GetNormalApplicationInstance(HttpContext context) +243
   System.Web.HttpApplicationFactory.GetApplicationInstance(HttpContext context) +106
   System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +317


Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.210

 
New Post
2/5/2007 2:46 PM
 
Ok I found my problem, had to merge in the changes to the web.config.
 
New Post
2/9/2007 9:17 AM
 
How of you have the Column "Email" in the table "dbo.Profile" of the dnn_database?
 
New Post
2/9/2007 11:33 AM
 
Ok, my post before is stupid.

My error came from a erroneous strored procedure called GetPortal:

My old procedure code:
select P.*,
'SuperUserId' = ( select UserId from Users where IsSuperUser = 1 ),
'SuperTabId' = ( select TabId from Tabs where PortalId is null and ParentId is null ),
'AdministratorRoleName' = ( select RoleName from Roles where RoleId = P.AdministratorRoleID ),
'RegisteredRoleName' = ( select RoleName from Roles where RoleId = P.RegisteredRoleID )
from dbo.Portals P
where PortalId = @PortalId


My correction try:
select P.*,
'Email' = ( select Email from Users where IsSuperUser = 1 ),
'SuperUserId' = ( select UserId from Users where IsSuperUser = 1 ),
'SuperTabId' = ( select TabId from Tabs where PortalId is null and ParentId is null ),
'AdministratorRoleName' = ( select RoleName from Roles where RoleId = P.AdministratorRoleID ),
'RegisteredRoleName' = ( select RoleName from Roles where RoleId = P.RegisteredRoleID )
from dbo.Portals P
where PortalId = @PortalId
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Server Error in Server Error in '/' Application after 4.4.0 Upgrade


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