Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Module wont install on DNN 05.00.01
PD24
#1 Posted : Thursday, 25 August 2011 2:30:34 AM(UTC)
Rank: Member

Joined: 25/08/2011(UTC)
Posts: 9
Location: UK

We recently purchased the module but having problems installing the module to a portal.
The DNN version we are using is: 05.00.01

and getting this error:

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


Any ideas?

here is this error:

Quote:
AssemblyVersion: 5.0.1
PortalID: 27
PortalName: Site
UserID: 1
UserName: host
ActiveTabID: 18
ActiveTabName: Module Definitions
RawURL: /tabid/18/ctl/Install/rtab/18/portalid/27/language/en-GB/Default.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://www.site.co.uk/ta...uage/en-GB/Default.aspx
UserAgent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:6.0) Gecko/20100101 Firefox/6.0
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 6bbce1ee-c6c9-4e30-a415-f2e491c2467e
InnerException: Object reference not set to an instance of an object.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: DotNetNuke.Services.Installer.Dependencies.DependencyFactory.GetDependency
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.Services.Installer.Dependencies.DependencyFactory.GetDependency(XPathNavigator dependencyNav) at DotNetNuke.Services.Installer.Installers.PackageInstaller.ReadManifest(XPathNavigator manifestNav) at DotNetNuke.Services.Installer.Installers.PackageInstaller..ctor(String packageManifest, InstallerInfo info) at DotNetNuke.Services.Installer.Installer.ProcessPackages(XPathNavigator rootNav) at DotNetNuke.Services.Installer.Installer.ReadManifest(Stream stream) at DotNetNuke.Services.Installer.Installer.ReadManifest(Boolean deleteTemp) at DotNetNuke.Services.Installer.Installer..ctor(Stream inputStream, String physicalSitePath, Boolean loadManifest, Boolean deleteTemp) at DotNetNuke.Modules.Admin.Extensions.Install.wizInstall_NextButtonClick(Object sender, WizardNavigationEventArgs e) at System.Web.UI.WebControls.Wizard.OnNextButtonClick(WizardNavigationEventArgs e) at System.Web.UI.WebControls.Wizard.OnBubbleEvent(Object source, EventArgs e) at System.Web.UI.WebControls.Wizard.WizardChildTable.OnBubbleEvent(Object source, EventArgs args) at System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args) at System.Web.UI.WebControls.LinkButton.OnCommand(CommandEventArgs e) at System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument) at System.Web.UI.WebControls.LinkButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---
Source:
Server Name: WIN-SITE
Roger Martin
#2 Posted : Thursday, 25 August 2011 7:50:44 AM(UTC)
Roger Martin

Rank: Administration

Joined: 3/08/2007(UTC)
Posts: 3,300
Location: Fort Atkinson, WI

The error is happening within the DNN code, not the GSP code, so it might be a bug with DNN. I did a little googling and found a couple related hits:

http://www.dotnetnuke.co...384157/scope/posts.aspx

http://www.dotnetnuke.co...posts/threadpage/1.aspx

One suggestion is that the ZIP file was corrupted. Try downloading a new one.
Roger Martin
Creator and Lead Developer of Gallery Server Pro
PD24
#3 Posted : Friday, 26 August 2011 6:47:05 AM(UTC)
Rank: Member

Joined: 25/08/2011(UTC)
Posts: 9
Location: UK

Roger Martin;7673 wrote:
The error is happening within the DNN code, not the GSP code, so it might be a bug with DNN. I did a little googling and found a couple related hits:

http://www.dotnetnuke.co...384157/scope/posts.aspx

http://www.dotnetnuke.co...posts/threadpage/1.aspx

One suggestion is that the ZIP file was corrupted. Try downloading a new one.



We have this:

The DotNetNuke application you are running DotNetNuke Product: DotNetNuke Community Edition
The DotNetNuke application version you are running DotNetNuke Version: 05.00.01
The .NET Framework version: 2.0.50727.3603, (3.0), (3.5)

Our language pack seems correct, i have already tried downloading another zip file.. Still get the same problem.
Roger Martin
#5 Posted : Friday, 26 August 2011 7:00:22 AM(UTC)
Roger Martin

Rank: Administration

Joined: 3/08/2007(UTC)
Posts: 3,300
Location: Fort Atkinson, WI

GSP 2.5 requires .NET 4.0, so if you are trying to run that under .NET 2/3/3.5, you will definitely see an issue.
Roger Martin
Creator and Lead Developer of Gallery Server Pro
PD24
#6 Posted : Friday, 26 August 2011 7:35:50 AM(UTC)
Rank: Member

Joined: 25/08/2011(UTC)
Posts: 9
Location: UK

Roger Martin;7679 wrote:
GSP 2.5 requires .NET 4.0, so if you are trying to run that under .NET 2/3/3.5, you will definitely see an issue.


We have lots of websites on the server where this particular DNN portal is located. It would be risky to upgrade the server and it would take forever to check all the other websites.

Roger Martin
#7 Posted : Friday, 26 August 2011 7:39:18 AM(UTC)
Roger Martin

Rank: Administration

Joined: 3/08/2007(UTC)
Posts: 3,300
Location: Fort Atkinson, WI

You can use GSP 2.4.8, which is supported on those versions. There isn't a whole lot of difference between that 2.4.8 and 2.5 anyway (at least, not in the DNN version).
Roger Martin
Creator and Lead Developer of Gallery Server Pro
PD24
#8 Posted : Friday, 26 August 2011 8:44:40 AM(UTC)
Rank: Member

Joined: 25/08/2011(UTC)
Posts: 9
Location: UK

Roger Martin;7681 wrote:
You can use GSP 2.4.8, which is supported on those versions. There isn't a whole lot of difference between that 2.4.8 and 2.5 anyway (at least, not in the DNN version).


I got this error:

Quote:
AssemblyVersion: 5.0.1
PortalID: 27
PortalName: Site
UserID: 1
UserName: host
ActiveTabID: 1478
ActiveTabName: TestGallery
RawURL: /TestGallery.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://www.site.co.uk/TestGallery.aspx
UserAgent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:6.0) Gecko/20100101 Firefox/6.0
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 16782214-7e3f-4dc5-bbba-7fc1632ee043
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 ---
Source:
Server Name: WIN-G8VD1LKHUEF

Roger Martin
#9 Posted : Friday, 26 August 2011 8:56:49 AM(UTC)
Roger Martin

Rank: Administration

Joined: 3/08/2007(UTC)
Posts: 3,300
Location: Fort Atkinson, WI

You didn't say what you were doing when that error happened. Also notice the error is happening inside DNN, not GSP. While that still could mean there is an issue with GSP, there are no clues to help us pinpoint the cause.

I should also point out that DNN has fixed a lot of issues since 5.0.1. Although I verified GSP works on that version, there may be bug fixes since than that address certain configurations.

I recommend installing a fresh copy of DNN and then adding GSP to that. If that works, you can compare the two sites to see what is different.
Roger Martin
Creator and Lead Developer of Gallery Server Pro
PD24
#10 Posted : Wednesday, 31 August 2011 4:46:11 AM(UTC)
Rank: Member

Joined: 25/08/2011(UTC)
Posts: 9
Location: UK

Roger Martin;7683 wrote:
You didn't say what you were doing when that error happened. Also notice the error is happening inside DNN, not GSP. While that still could mean there is an issue with GSP, there are no clues to help us pinpoint the cause.

I should also point out that DNN has fixed a lot of issues since 5.0.1. Although I verified GSP works on that version, there may be bug fixes since than that address certain configurations.

I recommend installing a fresh copy of DNN and then adding GSP to that. If that works, you can compare the two sites to see what is different.



I cant uninstall version 2.4.8

I get this in the log:

Quote:
Package Uninstall Logs

Info Reading Component Manifest - Script
Info Reading Component Manifest - Module
Info Module Manifest read successfully
Info Reading Component Manifest - Assembly
Info Reading Component Manifest - File
Info Reading Component Manifest - File
Info Reading Component Manifest - Config
StartJob Starting Package Uninstall
Info Starting Package Uninstall - TechInfoSystems.GalleryServerPro
Info Starting Component Uninstall - Script
Info Begin Sql UnInstall
Info Executing uninstall.sqldataprovider
Info Start Sql execution: uninstall.sqldataprovider file
Failure Exception - Could not find a part of the path 'C:\inetpub\wwwroot\DNN_mhrufc\DesktopModules\GalleryServerPro\uninstall.sqldataprovider'.
Info End Sql UnInstall
Info Component uninstalled successfully - Script
Warning Component Uninstalled with Warnings - Script
Info Starting Component Uninstall - Module
Failure ExceptionSystem.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.Services.Installer.Installers.ModuleInstaller.DeleteModule()
Info Component uninstalled successfully - Module
Warning Component Uninstalled with Warnings - Module
Info Starting Component Uninstall - Assembly
Info Assembly unregistered - bin\ComponentArt.Web.UI.dll
Info Assembly unregistered - bin\AjaxControlToolkit.dll
Info Assembly unregistered - bin\BrandonHaynes.DotNetNukeResXBuildProvider.dll
Info Assembly unregistered - bin\GalleryServerPro.Business.dll
Info Assembly unregistered - bin\GalleryServerPro.Business.Interfaces.dll
Info Assembly unregistered - bin\GalleryServerPro.Business.Wpf.dll
Info Assembly unregistered - bin\GalleryServerPro.Configuration.dll
Info Assembly unregistered - bin\GalleryServerPro.Data.SqlServer.dll
Info Assembly unregistered - bin\GalleryServerPro.ErrorHandler.dll
Info Assembly unregistered - bin\GalleryServerPro.Licensing.dll
Info Assembly unregistered - bin\GalleryServerPro.Provider.dll
Info Assembly unregistered - bin\GalleryServerPro.WebControls.dll
Info Assembly unregistered - bin\TechInfoSystems.GalleryServerPro.dll
Info Assembly unregistered - bin\GalleryServerPro.ICSharpCode.SharpZipLib.dll
Info Component uninstalled successfully - Assembly
Info Component Uninstall Successful - Assembly
Info Starting Component Uninstall - File
Info Component uninstalled successfully - File
Info Component Uninstall Successful - File
Info Starting Component Uninstall - File
Info Component uninstalled successfully - File
Info Component Uninstall Successful - File
Info Starting Component Uninstall - Config
Failure ExceptionSystem.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.Services.Installer.XmlMerge.ProcessNode(XmlNode node) at DotNetNuke.Services.Installer.XmlMerge.ProcessNodes(XmlNodeList nodes, Boolean saveConfig) at DotNetNuke.Services.Installer.Installers.ConfigInstaller.UnInstall() at DotNetNuke.Services.Installer.Installers.PackageInstaller.UnInstall() at DotNetNuke.Services.Installer.Installer.UnInstallPackages(Boolean deleteFiles) at DotNetNuke.Services.Installer.Installer.UnInstall(Boolean deleteFiles)
Roger Martin
#11 Posted : Wednesday, 31 August 2011 7:24:44 AM(UTC)
Roger Martin

Rank: Administration

Joined: 3/08/2007(UTC)
Posts: 3,300
Location: Fort Atkinson, WI

It can't find the file uninstall.sqldataprovider at C:\inetpub\wwwroot\DNN_mhrufc\DesktopModules\GalleryServerPro\. This is installed as part of GSP. If it no longer exists for some reason, try manually placing a copy there from the original ZIP file.
Roger Martin
Creator and Lead Developer of Gallery Server Pro
PD24
#12 Posted : Wednesday, 31 August 2011 10:21:12 AM(UTC)
Rank: Member

Joined: 25/08/2011(UTC)
Posts: 9
Location: UK

Roger Martin;7688 wrote:
It can't find the file uninstall.sqldataprovider at C:\inetpub\wwwroot\DNN_mhrufc\DesktopModules\GalleryServerPro\. This is installed as part of GSP. If it no longer exists for some reason, try manually placing a copy there from the original ZIP file.


I have managed to install the module again. When i add an instance of it to the page i get an error:

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


Then when you check event viewer it says that there is a Module Load Exception:

Quote:
ModuleId: -1
ModuleDefId: -1
FriendlyName:
ModuleControlSource:
AssemblyVersion: 5.0.1
PortalID: 27
PortalName: test
UserID: 1
UserName: host
ActiveTabID: 1478
ActiveTabName: TestGallery
RawURL: /TestGallery/tabid/1478/language/en-GB/Default.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://site.site.co.uk/T...%2fen-GB%2fDefault.aspx
UserAgent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:6.0) Gecko/20100101 Firefox/6.0
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: d26e3c41-cffe-479f-9bff-c0d3ed7b1599
InnerException: Object reference not set to an instance of an object.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: DotNetNuke.UI.Containers.ActionBase.get_ActionRoot
StackTrace:
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.UI.Containers.ActionBase.get_ActionRoot() at DotNetNuke.UI.Containers.ActionBase.Page_Load(Object sender, EventArgs e) --- End of inner exception stack trace ---
Source:
Server Name: DNNNEW


How can this be an error with DNN? You said that version 2.4.8 worked with .NET 2 / 3.5? and DNN 5.01?

I did manage to upgrade my server with .net framework 4.0 but my login controls are not displaying and therefore i cannot install the paid for module that we purchased.

What else can you suggest?

PD24
#13 Posted : Thursday, 1 September 2011 3:38:48 AM(UTC)
Rank: Member

Joined: 25/08/2011(UTC)
Posts: 9
Location: UK

I created a fresh install of DNN 5.01 and tried to install the module 2.4.8 and it partially installed to the page.

i got this error:

Quote:
An error has occurred.
DotNetNuke.Services.Exceptions.ModuleLoadException: The relative virtual path 'app_localresources/galleryserverpro.web.gallery, techinfosystems.galleryserverpro.ascx.portal-0.resx' is not allowed here. ---> System.ArgumentException: The relative virtual path 'app_localresources/galleryserverpro.web.gallery, techinfosystems.galleryserverpro.ascx.portal-0.resx' is not allowed here. at System.Web.VirtualPath.FailIfRelativePath() at System.Web.Hosting.HostingEnvironment.MapPathActual(VirtualPath virtualPath, Boolean permitNull) at System.Web.Hosting.HostingEnvironment.MapPath(VirtualPath virtualPath) at DotNetNuke.Services.Localization.Localization.GetResourceFileCallBack(CacheItemArgs cacheItemArgs) at DotNetNuke.Common.Utilities.DataCache.GetCachedDataCallBack[TObject](CacheItemArgs cacheItemArgs, CacheItemExpiredCallback cacheItemExpired) at DotNetNuke.Common.Utilities.DataCache.GetCachedData[TObject](CacheItemArgs cacheItemArgs, CacheItemExpiredCallback cacheItemExpired) at DotNetNuke.Common.Utilities.CBO.GetCachedObject[TObject](CacheItemArgs cacheItemArgs, CacheItemExpiredCallback cacheItemExpired) at DotNetNuke.Services.Localization.Localization.TryGetFromResourceFile(String key, String resourceFile, Int32 portalID, CustomizedLocale resourceType, String& resourceValue) at DotNetNuke.Services.Localization.Localization.TryGetFromResourceFile(String key, String resourceFile, Int32 portalID, String& resourceValue) at DotNetNuke.Services.Localization.Localization.TryGetFromResourceFile(String key, String resourceFile, String userLanguage, String fallbackLanguage, String defaultLanguage, Int32 portalID, String& resourceValue) at DotNetNuke.Services.Localization.Localization.TryGetStringInternal(String key, String userLanguage, String resourceFile, PortalSettings objPortalSettings, String& resourceValue) at DotNetNuke.Services.Localization.Localization.GetStringInternal(String key, String userLanguage, String resourceFileRoot, PortalSettings objPortalSettings, Boolean disableShowMissngKeys) at DotNetNuke.Common.Globals.GetHelpText(Int32 moduleControlId) at DotNetNuke.UI.Modules.ModuleInstanceContext.AddHelpActions() at DotNetNuke.UI.Modules.ModuleInstanceContext.LoadActions(HttpRequest Request) at DotNetNuke.UI.Modules.ModuleInstanceContext.get_Actions() at DotNetNuke.UI.Containers.ActionBase.Page_Load(Object sender, EventArgs e) --- End of inner exception stack trace ---
Roger Martin
#14 Posted : Thursday, 1 September 2011 9:19:56 AM(UTC)
Roger Martin

Rank: Administration

Joined: 3/08/2007(UTC)
Posts: 3,300
Location: Fort Atkinson, WI

I have tested GSP with DNN 5.0.1 and it works fine, but I have not tested the multitude of configurations out there. It seems you may have found a configuration that does not work. The key to figuring out the root cause is determining how your version is different than the stock version I tested against.

That can be tricky to do, so I would first recommend installing the latest version of DNN and verifying GSP works on that. If so, then there must have been some bug in DNN that has been fixed along the way (and way only showing itself in your particular configuration).

The first release of DNN 5 was notorious for being buggy, so if there is any way you can move to a more recent version, that would probably bring you other benefits as well as a (likely) working version of GSP.
Roger Martin
Creator and Lead Developer of Gallery Server Pro
PD24
#15 Posted : Friday, 2 September 2011 2:08:35 AM(UTC)
Rank: Member

Joined: 25/08/2011(UTC)
Posts: 9
Location: UK

Roger Martin;7693 wrote:
I have tested GSP with DNN 5.0.1 and it works fine, but I have not tested the multitude of configurations out there. It seems you may have found a configuration that does not work. The key to figuring out the root cause is determining how your version is different than the stock version I tested against.

That can be tricky to do, so I would first recommend installing the latest version of DNN and verifying GSP works on that. If so, then there must have been some bug in DNN that has been fixed along the way (and way only showing itself in your particular configuration).

The first release of DNN 5 was notorious for being buggy, so if there is any way you can move to a more recent version, that would probably bring you other benefits as well as a (likely) working version of GSP.


I installed a fresh clean copy of DNN 5.01 and installed the GSP 2.4.8 successfully.
However the current installation of my site is throwing up an error when you add an instance of the module to the page. It also doesnt want to uninstall successfully.

I cant even upgrade the installation to 5.4.2, in fact when i do the site is semi broken. Text in various areas is missing and modules error. I would love to simply upgrade and start using GSP 2.4.8.

I managed to get the original site to work with .NET Framework 4 by edditing various areas of the web.config file. The site worked fine apart from, i could not login to the site as the login controls were not showing.
Roger Martin
#16 Posted : Friday, 2 September 2011 6:53:57 AM(UTC)
Roger Martin

Rank: Administration

Joined: 3/08/2007(UTC)
Posts: 3,300
Location: Fort Atkinson, WI

The login controls not appearing is an indication the IIS app pool is running in classic mode, not Integrated Mode. Check this setting in IIS Manager or your host's control panel (not all hosts expose this as a property).

Did you restore the uninstall script as I recommended earlier?
Roger Martin
Creator and Lead Developer of Gallery Server Pro
PD24
#17 Posted : Friday, 2 September 2011 7:36:15 AM(UTC)
Rank: Member

Joined: 25/08/2011(UTC)
Posts: 9
Location: UK

Roger Martin;7700 wrote:
The login controls not appearing is an indication the IIS app pool is running in classic mode, not Integrated Mode. Check this setting in IIS Manager or your host's control panel (not all hosts expose this as a property).

Did you restore the uninstall script as I recommended earlier?



I have access to IIS the server via RDP and the integrated setting didnt solve it.

I will try the uninstall script now.
Rss Feed  Atom Feed
Users browsing this topic
Guest
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.