Quick Nav:  Online Store   |   Login | Register
PrevPrev--NextNext
Brettle Upload and Page Blaster Link
Last Post 28 Jun 2009 11:37 AM by Patrick Coleman. 9 Replies.
Please Register to participate.
Sort: Print topic: Printer Friendly
AuthorMessagesResolved
Patrick Coleman
Posts:89


Send PM:Send Private Message

--
22 Jun 2009 03:57 PM
Hey John,
I figured out what has been creating most of my errors. Brettle Upload!! Once I disabled it I am now able to restart the host without the error 500, I am able to upload files in file manager and elsewhere within the site.

Now the only problem I am still getting in this portal is I still don't have a link in Admin for PB so I can't add my registration key!

However, I need Brettle Upload for my uploading videos to UVG!

Any chance of working a solution for either of the above?
Thanks,
Pat
Changing the world one spine at a time - Chiropractic Websites
Snapsis Staff
Posts:243

Avatar

Send PM:Send Private Message

--
22 Jun 2009 05:08 PM
Make sure the NeatUpload module is at the top of the list in the HttpModules section of web.config.
More info in the following thread:
http://www.snapsis.com/Support/tabid/601/aff/9/aft/10918/afv/topic/NeatUpload-Incompatibilty.aspx
John Mitchell
Veteran Member
Posts:4384

Avatar

Administrator
Send PM:Send Private Message

--
22 Jun 2009 05:25 PM
For the Admin>PageBlaster page, you may need to install it again, or just run the SQL located in PageBlaster/Config/SQL with the Host > SQL page after marking "run as script".
Patrick Coleman
Posts:89


Send PM:Send Private Message

--
23 Jun 2009 11:02 AM
Hey John,
Moved the NeatUpload in web.config and all is well on that front.

I tried to run the SQL and got the following error:

System.Data.SqlClient.SqlException: Violation of UNIQUE KEY constraint 'IX_DesktopModules_ModuleName'. Cannot insert duplicate key in object 'dbo.DesktopModules'. Cannot insert the value NULL into column 'DesktopModuleID', table 'dnndb.dbo.ModuleDefinitions'; column does not allow nulls. INSERT fails. Violation of UNIQUE KEY constraint 'IX_ModuleControls'. Cannot insert duplicate key in object 'dbo.ModuleControls'. Cannot insert the value NULL into column 'ModuleDefID', table 'dnndb.dbo.Modules'; column does not allow nulls. INSERT fails. The statement has been terminated. The statement has been terminated. The statement has been terminated. The statement has been terminated. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async) at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe) at System.Data.SqlClient.SqlCommand.ExecuteNonQuery() at DotNetNuke.Data.SqlDataProvider.ExecuteADOScript(String SQL) at DotNetNuke.Data.SqlDataProvider.ExecuteScript(String Script, Boolean UseTransactions) DECLARE @PortalId int DECLARE @TabId int DECLARE @TabOrder int DECLARE @IconFile varchar(50) DECLARE @TabViewPermissionId int DECLARE @TabEditPermissionId int DECLARE @AdminRoleId int DECLARE @AdminTabId int DECLARE @DesktopModuleId int DECLARE @ModuleDefId int DECLARE @ModuleId int DECLARE @ModuleViewPermissionId int DECLARE @ModuleEditPermissionId int -- Add the Admin Control as a module INSERT INTO dbo.[DesktopModules] ([FriendlyName], [Description], [Version], [IsPremium], [IsAdmin], [BusinessControllerClass], [FolderName], [ModuleName], [SupportedFeatures], [CompatibleVersions]) VALUES (N'PageBlaster Admin', 'Administrators can manage the PageBlaster configuration for their portal.', NULL, 0, 1, NULL,'PageBlaster Admin','PageBlaster', 0, NULL) SET @DesktopModuleId = SCOPE_IDENTITY() -- Add a Module Definition INSERT INTO dbo.[ModuleDefinitions] ([FriendlyName], [DesktopModuleID], [DefaultCacheTime]) VALUES (N'PageBlaster Admin', @DesktopModuleId, 0) SET @ModuleDefId = SCOPE_IDENTITY() --add the PageBlaster Admin Control INSERT INTO dbo.[ModuleControls] ([ModuleDefID], [ControlKey], [ControlTitle], [ControlSrc], [IconFile], [ControlType], [ViewOrder], [HelpUrl]) VALUES (@ModuleDefId , NULL, NULL, 'DesktopModules/Snapsis/PageBlaster/PageBlasterAdminConfig.ascx', NULL, 0, NULL, 'http://www.snapsis.com/support.aspx') --Insert into Modules table INSERT INTO dbo.[Modules] ([ModuleDefID], [ModuleTitle], [AllTabs], [IsDeleted], [InheritViewPermissions], [Header], [Footer], [StartDate], [EndDate], [PortalID]) VALUES (@ModuleDefId ,'PageBlaster Admin', 0, 0, 1, NULL, NULL, NULL, NULL, NULL) SET @ModuleId = SCOPE_IDENTITY() DECLARE portal_cursor cursor FOR SELECT PortalId FROM dbo.Portals OPEN portal_cursor FETCH NEXT FROM portal_cursor INTO @PortalId WHILE @@FETCH_STATUS = 0 BEGIN IF NOT EXISTS (SELECT TabID FROM dbo.Tabs WHERE PortalId=@PortalId and TabName='PageBlaster' ) BEGIN --get the parent admin tabid SELECT @AdminTabId = Tabid FROM dbo.Tabs WHERE PortalId = @PortalId AND TabName='Admin' --get the Tab Order SELECT @TabOrder = Max(TabOrder) + 2 FROM dbo.Tabs WHERE PortalId = @PortalId --create a new Tab for the PageBlaster Admin Control INSERT INTO dbo.Tabs (PortalId,TabName,IsVisible,DisableLink,Level,TabOrder, ParentId,IconFile,Title,Description,KeyWords, IsDeleted,Url,SkinSrc,ContainerSrc,TabPath, StartDate,EndDate) VALUES (@PortalId,'PageBlaster',1,0,1,@TabOrder, @AdminTabId,'../DesktopModules/Snapsis/PageBlaster/Images/PBICON16.gif','PageBlaster','','',0, '',NULL,NULL,'//Admin//PageBlaster', NULL,NULL ) SET @TabId = SCOPE_IDENTITY() --Put a PageBlaster Module on the tab INSERT INTO dbo.[TabModules] ([TabID], [ModuleID], [PaneName], [ModuleOrder], [CacheTime], [Alignment], [Color], [Border], [IconFile], [Visibility], [ContainerSrc], [DisplayTitle], [DisplayPrint], [DisplaySyndicate]) VALUES (@TabId, @ModuleId,'ContentPane', 0, 0, NULL,'','','~/DesktopModules/Snapsis/PageBlaster/Images/PBICON32.gif', 0, NULL, 1, 0, 0) --get the administrator roleid SELECT DISTINCT @AdminRoleId = RoleId FROM dbo.Roles WHERE RoleName = 'Administrators' AND PortalId = @PortalId --Get the System Permission IDs for the Tab and module SELECT DISTINCT @TabViewPermissionId = PermissionId FROM dbo.Permission WHERE PermissionCode = 'SYSTEM_TAB' AND PermissionKey = 'VIEW' SELECT DISTINCT @TabEditPermissionId = PermissionId FROM dbo.Permission WHERE PermissionCode = 'SYSTEM_TAB' AND PermissionKey = 'EDIT' SELECT DISTINCT @ModuleViewPermissionId = PermissionId FROM dbo.Permission WHERE PermissionCode = 'SYSTEM_MODULE_DEFINITION' AND PermissionKey = 'VIEW' SELECT DISTINCT @ModuleEditPermissionId = PermissionId FROM dbo.Permission WHERE PermissionCode = 'SYSTEM_MODULE_DEFINITION' AND PermissionKey = 'EDIT' --Add permissions for the Tab INSERT INTO dbo.TabPermission (TabId,PermissionId,RoleId,AllowAccess) VALUES (@TabId,@TabViewPermissionId,@AdminRoleId,1) INSERT INTO dbo.TabPermission (TabId,PermissionId,RoleId,AllowAccess) VALUES (@TabId,@TabEditPermissionId,@AdminRoleId,1) --Add permissions for the Module INSERT INTO dbo.ModulePermission (ModuleId,PermissionId,RoleId,AllowAccess) VALUES (@ModuleId,@ModuleViewPermissionId,@AdminRoleId,1) INSERT INTO dbo.ModulePermission (ModuleId,PermissionId,RoleId,AllowAccess) VALUES (@ModuleId,@ModuleEditPermissionId,@AdminRoleId,1) END FETCH NEXT FROM portal_cursor INTO @PortalId END CLOSE portal_cursor DEALLOCATE portal_cursor

Any thoughts?
Changing the world one spine at a time - Chiropractic Websites
Snapsis Staff
Posts:243

Avatar

Send PM:Send Private Message

--
23 Jun 2009 11:16 AM
It looks like it is already in there.
You may need to un-install it first.
To uninstall, make sure you remove it from web.config first, then uninstall it from Host > Module Definitions
Patrick Coleman
Posts:89


Send PM:Send Private Message

--
28 Jun 2009 07:38 AM
Hey John,
I found the problem and this one should make you laugh but it would be good to note for future reference.
The Page Blaster page was installed but it was not installed in the normal Admin drop down menu. I had created another page called Admin that was a subpage to our Videos page. This is where we have our UVG config installed. The Page Blaster is installed as a subpage to this admin page. I just happened to find it on accident.

I had already uninstalled and reinstalled twice before I found it. Now I have several subpages call Page Blaster under this Admin page. So my questions are:

Can I just delete these additional pages called PageBlaster?
How can I move the PageBlaster page to where it actually belongs in the normal Admin menu?

Thanks,
Pat
Changing the world one spine at a time - Chiropractic Websites
John Mitchell
Veteran Member
Posts:4384

Avatar

Administrator
Send PM:Send Private Message

--
28 Jun 2009 07:46 AM
That is a good one. I'll have to remember that.

You could delete all those pages under your other admin menu, and then rename it before running the SQL that creates the Admin > PageBlaster page.
John Mitchell
Veteran Member
Posts:4384

Avatar

Administrator
Send PM:Send Private Message

--
28 Jun 2009 07:47 AM
Oh, and you can rename the other admin menu back after running the SQL that creates the PageBlaster admin page.
Patrick Coleman
Posts:89


Send PM:Send Private Message

--
28 Jun 2009 10:00 AM
Hey John,
What do I do for the portals that now have multiple links to PageBlaster in the normal Admin Menu. A couple of the portals that I don´t spend a lot of time in while trying to clean up this little mess I created I realized have multiple PageBlaster links. I thought they would have been removed when I uninstalled but they weren´t.
Any thoughts?
Pat
Changing the world one spine at a time - Chiropractic Websites
Patrick Coleman
Posts:89


Send PM:Send Private Message

--
28 Jun 2009 11:37 AM Accepted Answer
Hey John,
I found the solution. I used the uninstall sql data provider file. I tried running it as is and it produced a bunch of errors. So I removed the references to Desktop Modules and just kept the remove tabid PageBlaster references.

I first tried it using SQL Server Management Studio Express and this again just produced a bunch of errors. I finally tried using the DNN SQL page and ran it as script.
Voila...no more extra pages in the Admin...

Now to reinstall again!!! Hopefully, things will get easier now!
Pat
Changing the world one spine at a time - Chiropractic Websites
Please Register to participate.

Active Forums 4.1
     
      
Powered by: Snapsis Software