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

Notification

Icon
Error

Added GSP to 2nd portal - GSP module does not work anymore
iamjwk
#1 Posted : Sunday, 29 August 2010 1:00:56 AM(UTC)
Rank: Advanced Member

Joined: 24/04/2010(UTC)
Posts: 38
Location: Netherlands

Roger,

Added the GSP module to a page in another portal and now gives the error as displayed below in both portals. In the test portal it is now blocking the portal login as I placed the module on the home page. On the other portal I placed it on another page and could delete it from the page via the module settings.

Also discovered that the GSP config file is empty (0 bytes); is this correct? It is located in:
wwwroot/DesktopModules/GalleryServerPro/gs/config
In a backup file made before adding the GSP to another portal the config file was also empty.

From the DNN event log I grabbed the following error message:
Quote:

AssemblyVersion: 5.5.0
PortalID: 0
PortalName: TestPortal
UserID: -1
UserName:
ActiveTabID: 40
ActiveTabName: Home
RawURL: /Home/tabid/40/language/en-US/Default.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://test.familykruse....uage/en-US/Default.aspx
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 6.1; nl; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 89a5ca67-f4ba-4fd8-8589-bbf48dc4abbd
InnerException: The type initializer for 'GalleryServerPro.Web.Pages.GalleryPage' threw an exception.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: GalleryServerPro.Web.Util.AddMembershipDataToGallerySettings
StackTrace:
Message: System.TypeInitializationException: The type initializer for 'GalleryServerPro.Web.Pages.GalleryPage' threw an exception. ---> System.NullReferenceException: Object reference not set to an instance of an object. at GalleryServerPro.Web.Util.AddMembershipDataToGallerySettings() at GalleryServerPro.Web.Util.InitializeApplication() at GalleryServerPro.Web.Pages.GalleryPage..cctor() --- End of inner exception stack trace --- at GalleryServerPro.Web.Pages.GalleryPage..ctor() at GalleryServerPro.Web.Pages.album..ctor() at ASP.desktopmodules_galleryserverpro_gs_pages_album_ascx..ctor() at __ASP.FastObjectFactory_app_web_izygnxoo.Create_ASP_desktopmodules_galleryserverpro_gs_pages_album_ascx() at System.Web.Compilation.BuildResultCompiledType.CreateInstance() at System.Web.UI.TemplateControl.LoadControl(IWebObjectFactory objectFactory, VirtualPath virtualPath, Type t, Object[] parameters) at System.Web.UI.TemplateControl.LoadControl(VirtualPath virtualPath) at System.Web.UI.TemplateControl.LoadControl(String virtualPath) at GalleryServerPro.Web.Gallery.LoadRequestedPage() at GalleryServerPro.Web.Gallery.Gallery_Init(Object sender, EventArgs e) at System.Web.UI.Control.OnInit(EventArgs e) at System.Web.UI.UserControl.OnInit(EventArgs e) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.AddedControl(Control control, Int32 index) at System.Web.UI.ControlCollection.Add(Control child) at DotNetNuke.UI.Modules.ModuleHost.InjectModuleContent(Control content) at DotNetNuke.UI.Modules.ModuleHost.CreateChildControls() at System.Web.UI.Control.EnsureChildControls() at DotNetNuke.UI.Modules.ModuleHost.get_ModuleControl() at DotNetNuke.UI.Containers.Container.get_ModuleControl() at DotNetNuke.UI.Containers.Container.ProcessModule() at DotNetNuke.UI.Skins.Pane.InjectModule(ModuleInfo objModule)
Source:
Server Name: S026


I will de-install GSP module and try to re-install it again.




Jan-Willem
iamjwk
#2 Posted : Sunday, 29 August 2010 1:06:45 AM(UTC)
Rank: Advanced Member

Joined: 24/04/2010(UTC)
Posts: 38
Location: Netherlands

Somewhat earlier in the DNN event log I found the message below. It happens approximately each hour during the past night (night in the Netherlands).

Jan-Willem

Quote:

AssemblyVersion: 5.5.0
PortalID: -1
PortalName:
UserID: -1
UserName:
ActiveTabID: -1
ActiveTabName:
RawURL:
AbsoluteURL:
AbsoluteURLReferrer:
UserAgent:
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 0523273b-77e4-4199-87b9-f8a36017cd99
InnerException: Object reference not set to an instance of an object.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: GalleryServerPro.Provider.DataProviderManager.Initialize
StackTrace:
Message: System.NullReferenceException: Object reference not set to an instance of an object. at GalleryServerPro.Provider.DataProviderManager.Initialize() at GalleryServerPro.Provider.DataProviderManager.get_Provider() at GalleryServerPro.Business.GallerySettings.RetrieveGallerySettingsFromDataStore() at GalleryServerPro.Business.Factory.LoadGallerySettings() at GalleryServerPro.Business.Factory.LoadGallerySetting(Int32 galleryId) at GalleryServerPro.Web.Controller.GalleryServerProController.GetGalleryDataForDotNetNukeSearchEngine(ModuleInfo modInfo) at GalleryServerPro.Web.Controller.GalleryServerProController.GetSearchItems(ModuleInfo modInfo) at DotNetNuke.Services.Search.ModuleIndexer.GetSearchIndexItems(Int32 PortalID)
Source:
Server Nam
iamjwk
#3 Posted : Sunday, 29 August 2010 1:26:14 AM(UTC)
Rank: Advanced Member

Joined: 24/04/2010(UTC)
Posts: 38
Location: Netherlands

Roger,

Performed the following actions:

1. De-installed the GSP module --> successful

2. Re-installed the GSP module --> successful (no error messages/warnings)

3. Created new page on the test portal and added GSP module --> bad luck; same error message

4. Tried it in internet Explorer and Firefox --> both same error message

Hopefully you have enough info to find the cause and a cure.

Jan-Willem
Roger Martin
#5 Posted : Sunday, 29 August 2010 1:30:41 AM(UTC)
Roger Martin

Rank: Administration

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

Thanks for the info - I'll dig into this tomorrow.

Regarding the config file, it is supposed to be empty. It will be completely gone by the 2.4 release. The stuff that used to be in this file is now in the database.
Roger Martin
Creator and Lead Developer of Gallery Server Pro
iamjwk
#6 Posted : Friday, 3 September 2010 7:56:09 PM(UTC)
Rank: Advanced Member

Joined: 24/04/2010(UTC)
Posts: 38
Location: Netherlands

For people with same problem: Roger is working on it. Yesterday I sent him a very detailed overview what I did to install it on another portal, how my folder structure looks, which accounts and portal language used, etc.

Hopefully it helps Roger to solve this.

Jan-Willem



Roger Martin
#7 Posted : Wednesday, 8 September 2010 12:54:46 AM(UTC)
Roger Martin

Rank: Administration

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

Found a few bugs and fixed them. Updated DLLs are in this thread.
Roger Martin
Creator and Lead Developer of Gallery Server Pro
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.