Select the search type
  • Site
  • Web
Search
You are here:  Support/Forums
Support

Bring2mind Forums

upgrade from DMX Pro 3 PA to DMX 05.02.02
Last Post 03/23/2010 3:00 PM by MOHAMMED MUKHTAR AHMED. 5 Replies.
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
MOHAMMED MUKHTAR AHMED
New Member
New Member
Posts:4


--
03/23/2010 7:26 AM

 Hi,

I am using DMX Pro 3 PA with DNN 04.05.01, Now I upgrade my DNN from 04.05.01 to 05.02.03 and the DNN is working fine but when i am clicking on Forms where we keep our documents i am getting the following error... Do i have to upgrade DMX to 05.02.02 to resolve the problem???


A critical error has occurred.
Object reference not set to an instance of an object. 


Waiting for your help in this regard.

Thanks,
Naveed

Nicolo Pitsch
New Member
New Member
Posts:18


--
03/23/2010 9:09 AM
Hello

I have upgraded from 05.02.02 to 05.02.03 and here the same error:
...
UserAgent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 21e5a917-cb9e-43d7-8804-30906681b22c
InnerException: Object reference not set to an instance of an object.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: DotNetNuke.UI.Containers.ActionButtonList.get_ModuleActions
StackTrace:
Message: DotNetNuke.Services.Exceptions.PageLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.UI.Containers.ActionButtonList.get_ModuleActions() at DotNetNuke.UI.Containers.ActionButtonList.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---
...

Kind regards
Nicolo
Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
03/23/2010 9:36 AM
Naveed, Nicolo,

Note this is an error in DMX 3. Officially we've stopped supporting DMX 3 as it has been succeeded 3 years ago. If it is an easy fix, however, we might still release a fix. I'll see if I can replicate this.

Peter
MOHAMMED MUKHTAR AHMED
New Member
New Member
Posts:4


--
03/23/2010 9:42 AM
Peter,

Do you mean i will not be able to upgrade my DMX from Pro 3 PA to any of the newer version of DMX???


Kind Regards,
Naveed
Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
03/23/2010 10:15 AM
Naveed,

No. DMX 5 upgrades DMX 3. But I found the cause of the DMX 3 break. It has to do with changes in the Portals table in DNN 5. Run the script below and DMX 3 should work again:


IF EXISTS (select * from dbo.sysobjects where id = object_id(N'{databaseOwner}{objectQualifier}DMX_GetAttributesByAddon') and OBJECTPROPERTY(id, N'IsProcedure') = 1)
DROP PROCEDURE {databaseOwner}{objectQualifier}DMX_GetAttributesByAddon
GO

CREATE PROCEDURE {databaseOwner}{objectQualifier}DMX_GetAttributesByAddon
@Addon NVarChar (50)
AS

SELECT
a.*
FROM
{databaseOwner}{objectQualifier}DMX_Attributes a
WHERE
a.Addon = @Addon

GO

IF EXISTS (select * from dbo.sysobjects where id = object_id(N'{databaseOwner}{objectQualifier}DMX_GetAttributesByPortal') and OBJECTPROPERTY(id, N'IsProcedure') = 1)
DROP PROCEDURE {databaseOwner}{objectQualifier}DMX_GetAttributesByPortal
GO

CREATE PROCEDURE {databaseOwner}{objectQualifier}DMX_GetAttributesByPortal
@PortalId Int
AS

SELECT
a.*,
ad.Description AS AddonsDescription
FROM
{databaseOwner}{objectQualifier}DMX_Attributes a
INNER JOIN {databaseOwner}{objectQualifier}DMX_Addons ad ON ad.AddonKey = a.Addon
WHERE
a.PortalId = @PortalId

GO

IF EXISTS (select * from dbo.sysobjects where id = object_id(N'{databaseOwner}{objectQualifier}DMX_GetExtensionsByAddon') and OBJECTPROPERTY(id, N'IsProcedure') = 1)
DROP PROCEDURE {databaseOwner}{objectQualifier}DMX_GetExtensionsByAddon
GO

CREATE PROCEDURE {databaseOwner}{objectQualifier}DMX_GetExtensionsByAddon
@Addon NVarChar (50)
AS

SELECT
e.*
FROM
{databaseOwner}{objectQualifier}DMX_Extensions e
WHERE
e.Addon = @Addon

GO


IF EXISTS (select * from dbo.sysobjects where id = object_id(N'{databaseOwner}{objectQualifier}DMX_GetExtensionsByPortal') and OBJECTPROPERTY(id, N'IsProcedure') = 1)
DROP PROCEDURE {databaseOwner}{objectQualifier}DMX_GetExtensionsByPortal
GO

CREATE PROCEDURE {databaseOwner}{objectQualifier}DMX_GetExtensionsByPortal
@PortalId Int
AS

SELECT
e.*,
a.Description AS AddonsDescription
FROM
{databaseOwner}{objectQualifier}DMX_Extensions e
INNER JOIN {databaseOwner}{objectQualifier}DMX_Addons a ON a.AddonKey = e.Addon
WHERE
e.PortalId = @PortalId

GO

MOHAMMED MUKHTAR AHMED
New Member
New Member
Posts:4


--
03/23/2010 3:00 PM
Thanks Peter.... Thank you very much for the script and solution. It's working fine.


Thanks & Regards,
Naveed
You are not authorized to post a reply.