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 problem from DNN 4.0.3 to 4.3Upgrade problem from DNN 4.0.3 to 4.3
Previous
 
Next
New Post
6/20/2006 7:10 AM
 

Hello guys,

I have a problem after upgrade to DNN 4.3 : I get an error each time I save the protal settings (and the changes are not saved). Here is the error that I find in the logs :

ModuleId: 350
ModuleDefId: 14
FriendlyName: Paramètres du Site
ModuleControlSource: Admin/Portal/SiteSettings.ascx
AssemblyVersion: 04.03.00
Method: DotNetNuke.Modules.Admin.PortalManagement.SiteSettings.cmdUpdate_Click
FileName:
FileLineNumber: 0
FileColumnNumber: 0
PortalID: 0
PortalName: MyPortal.net
UserID: 1
UserName: host
ActiveTabID: 39
ActiveTabName: Paramétrage
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://www.mysite.net/Admin/SiteSettings/tabid/39/Default.aspx
ExceptionGUID: 5173ae0a-2592-4aaf-9ea0-717c8947e2d8
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
InnerException: Object reference not set to an instance of an object.
Message: DotNetNuke.Services.Exceptions.ModuleLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.Modules.Admin.PortalManagement.SiteSettings.cmdUpdate_Click(Object sender, EventArgs e) --- End of inner exception stack trace ---
StackTrace:
Source:
Nom du serveur: ANAXAVPS999

Thank you very much for any help!

Regards,
Fabian

 

 
New Post
6/20/2006 9:56 AM
 

Got the solution ! (Edit: in fact not : see my post below)

It's the strored precedure AddPortalInfo that is not changed by the update. Here is the old procedure to be changed :

 

CREATE procedure dbo.AddPortalInfo
@PortalName         nvarchar(128),
@Currency           char(3),
@FirstName          nvarchar(100),
@LastName           nvarchar(100),
@Username           nvarchar(100),
@Password           nvarchar(50),
@Email              nvarchar(100),
@ExpiryDate         datetime,
@HostFee            money,
@HostSpace          int,
@SiteLogHistory     int,
@HomeDirectory varchar(100)

as

DECLARE @PortalID int

insert into dbo.Portals (
  PortalName,
  ExpiryDate,
  UserRegistration,
  BannerAdvertising,
  Currency,
  HostFee,
  HostSpace,
  Description,
  KeyWords,
  SiteLogHistory,
  HomeDirectory
)
values (
  @PortalName,
  @ExpiryDate,
  0,
  0,
  @Currency,
  @HostFee,
  @HostSpace,
  @PortalName,
  @PortalName,
  @SiteLogHistory,
  @HomeDirectory
)

SET @PortalID = SCOPE_IDENTITY()

IF @HomeDirectory = ''
BEGIN
 UPDATE dbo.Portals SET HomeDirectory = 'Portals/' + convert(varchar(10), @PortalID) WHERE PortalID = @PortalID
END

SELECT @PortalID

 

Here is the sql query to apply to make the correction :

ALTER PROCEDURE dbo.[AddPortalInfo]
 @PortalName         nvarchar(128),
 @Currency           char(3),
 @ExpiryDate         datetime,
 @HostFee            money,
 @HostSpace          int,
 @SiteLogHistory     int,
 @HomeDirectory  varchar(100)

as
DECLARE @PortalID int

insert into Portals (
  PortalName,
  ExpiryDate,
  UserRegistration,
  BannerAdvertising,
  Currency,
  HostFee,
  HostSpace,
  Description,
  KeyWords,
  SiteLogHistory,
  HomeDirectory
)
values (
  @PortalName,
  @ExpiryDate,
  0,
  0,
  @Currency,
  @HostFee,
  @HostSpace,
  @PortalName,
  @PortalName,
  @SiteLogHistory,
  @HomeDirectory
)

SET @PortalID = SCOPE_IDENTITY()

IF @HomeDirectory = ''
BEGIN
 UPDATE Portals SET HomeDirectory = 'Portals/' + convert(varchar(10), @PortalID) WHERE PortalID = @PortalID
END

SELECT @PortalID
GO

 

I hope this might help someone else.

Regards,
Fabian

 

 
New Post
6/20/2006 4:07 PM
 
In fact I was wrong

The problem still percists :

ModuleId: 350
ModuleDefId: 14
FriendlyName: Paramètres du Site
ModuleControlSource: Admin/Portal/SiteSettings.ascx
AssemblyVersion: 04.03.00
Method: DotNetNuke.Modules.Admin.PortalManagement.SiteSettings.cmdUpdate_Click
FileName:
FileLineNumber: 0
FileColumnNumber: 0
PortalID: 0
PortalName: MySite.net
UserID: 1
UserName: host
ActiveTabID: 39
ActiveTabName: Paramétrage
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://www.mysite.net/Admin/SiteSettings/tabid/39/Default.aspx
ExceptionGUID: fbc78dcb-2e39-4ee6-a124-e640636e3690
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
InnerException: Object reference not set to an instance of an object.
Message: DotNetNuke.Services.Exceptions.ModuleLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.Modules.Admin.PortalManagement.SiteSettings.cmdUpdate_Click(Object sender, EventArgs e) --- End of inner exception stack trace ---
StackTrace:
Source:
Nom du serveur: ANAXAVPS27

So I am still not able to change the Portal Settings!

Thank you very much for any help!

Regards,
Fabian
 
New Post
6/20/2006 5:03 PM
 

Fabian,

I have not encountered that issue with a new portal (did not make an upgrade from 4.0.3 yet), are you sure, that you made all necessary changes to web.config, Have you checked the upgrade logs in the sqldataprovider folder?


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
6/20/2006 5:46 PM
 

Hello Leupold,

yes, on a fresh installation I did not encounter this problem either. What should I check in the sqldataprovider folder?

Thank you for your help! It's a production site and I'm really enoyed by this problem...

Regards,
Fabian

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Upgrade problem from DNN 4.0.3 to 4.3Upgrade problem from DNN 4.0.3 to 4.3


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