|
| Forum Guidelines
|
|
Please ensure you follow the bug-raising guidelines (e.g. post the full error from your Event Viewer) if you are raising a support call. To request a feature in a module, please use Feature Requests (unless you want to discuss it here in more detail first). If you have an urgent feature that you would like to see in the product then you should consider a Sponsored Enhancement.
First Time User? Make sure you have read the Module Config Guide in the documents folder of each module. Also check out this handy Module Deployment Guide (written by a Smart-Thinker customer!)
Configuration issues and no time to read the Forums/Documentation? See our DotNetNuke Premium Support Service. We need your opinion! Please read our proposed new CrowdSourcing development method and let us know if you would be interested and if it might work.
|
|
|
|
 |    |  |
 | |  |
 | |  |
 | |  |
 | |  |
 |
|
|
| Edit home page (United States) |
|
|
I could not fine the answer to this by searching so I am sorry if it has been covered.
I am using DNN 3.1.1 I have installed the correct Home Page module.
The problem I am having is when the My Home Page button is clicked It does create a home page but the is no button to edit the home page (I log on as a normal registered user), If I go back to the main home page and click the My Home Page again it creates a ne whome page and will keep doing so. I did it and had 10 home pages and could not edit one of them.
Please, someone tell me what stupid mistake I made.
Thanks |
|
|
|
 |  |
|
|
| Re: Edit home page (United Kingdom) |
|
|
Hello
Hmm - this sounds very odd - I don't think it has been covered! Can you
please check your Log Viewer and see if an error is logged when you do
this and paste it here if it is? Also - what was the last Smart-Thinker
module that you installed? Try installing the latest Events module
(1.0.5) to ensure you have the latest shared code libraries.
Thanks
Rodney
See our modules in action on PokerDIY, a social network for home poker players
 |
|
|
|
 |  |
|
|
| Re: Edit home page (United States) |
|
|
Not a problem. The log looks clean. I just tried it again so this is within minutes.
TabID: 87 PortalID: 0 TabName: ********* - HomePage Title: ********** - HomePage Description: STH-3 KeyWords: STH-3 Url: ParentId: 85 IconFile: IsVisible: False SkinSrc: ContainerSrc: Server Name: WEB10
The last ST Module was the User Profile and it seems to be working fine.
I can see variation on parent id
TabID: 84 PortalID: 0 TabName: Philip Finan - HomePage Title: Philip Finan - HomePage Description: STH-3 KeyWords: STH-3 Url: ParentId: -1 IconFile: IsVisible: False SkinSrc: ContainerSrc: Server Name: WEB10
I will give you access to the site and the name of it in a private e-mail (The Web Site is private)
|
|
|
|
 |  |
|
|
|
This is most odd Phil (I logged in and see what you mean).
It looked like DNN 3 - is that correct? Have you tried installing the module on a local portal and seen if that works? Also - can you log in as Host and tell me the name of the Control Panel the site is using?
Have you done anything different? Ie . did it used to work and stopped - or has it never worked? Have you tried uninstalling it and reinstalling it (sorry - but this does sometimes fix it!)
Thanks
Rodney
See our modules in action on PokerDIY, a social network for home poker players
 |
|
|
|
 |  |
|
|
| Re: Edit home page (United States) |
|
|
Good to see you back. Hope you had a good vacation. Now back to the daily grind.
It is DNN 3.1
The control Panel is: Smartthinkerhpbar
If I use the Icon bar then I have the left side page functions. ie. create new pages.
But switch back and now toggle bar.
Unistall, delete from host mod. def. / re-install
Install Log: (Odd errors on this install, I have 4 sites being hosted on 1 account, a resellers account, could this have anything to do with it? I did verify that I do have separate database for each web site, could it be because this is reinstall, I do believw that I have uninstalled and reinstalled prior to this, I was hesitant to do so do to the warning of uninstalling the module, it says that I need a scrpit to run that you have to uninstall the home page)
| StartJob |
Starting Installation |
| StartJob |
Reading files |
| Info |
Loading SmartThinkerHPBar.ascx |
| Info |
File SmartThinkerHPBar.ascx read successfully |
| Info |
Loading HomePage.ascx |
| Info |
File HomePage.ascx read successfully |
| Info |
Loading Settings.ascx |
| Info |
File Settings.ascx read successfully |
| Info |
Loading Settings.ascx.resx |
| Info |
File Settings.ascx.resx read successfully |
| Info |
Loading HomePage.ascx.resx |
| Info |
File HomePage.ascx.resx read successfully |
| Info |
Loading Version History.txt |
| Info |
File Version History.txt read successfully |
| Info |
Loading Installation.txt |
| Info |
File Installation.txt read successfully |
| Info |
Loading License.txt |
| Info |
File License.txt read successfully |
| Info |
Loading Module Config Guide.txt |
| Info |
File Module Config Guide.txt read successfully |
| Info |
Loading Roadmap.txt |
| Info |
File Roadmap.txt read successfully |
| Info |
Loading Smart-Thinker - HomePage.dnn |
| Info |
File Smart-Thinker - HomePage.dnn read successfully |
| Info |
Loading SmartThinker.DNN.Modules.HomePage.SqlDataProvider.dll |
| Info |
File SmartThinker.DNN.Modules.HomePage.SqlDataProvider.dll read successfully |
| Info |
Loading SmartThinker.DNN.Modules.HomePage.dll |
| Info |
File SmartThinker.DNN.Modules.HomePage.dll read successfully |
| Info |
Loading Uninstall.SqlDataProvider |
| Info |
File Uninstall.SqlDataProvider read successfully |
| Info |
Loading 01.00.00.SqlDataProvider |
| Info |
File 01.00.00.SqlDataProvider read successfully |
| Info |
Loading SmartThinker.DNN.Modules.ModuleFramework.dll |
| Info |
File SmartThinker.DNN.Modules.ModuleFramework.dll read successfully |
| Info |
Loading 01.00.01.SqlDataProvider |
| Info |
File 01.00.01.SqlDataProvider read successfully |
| EndJob |
Reading files done. |
| |
| StartJob |
Reading DNN file |
| Info |
DNN file is in valid 3.0 format. |
| Info |
... |
| Info |
Loading files info |
| Info |
Found valid path (App_LocalResources) for HomePage.ascx.resx. |
| Info |
Found valid path (App_LocalResources) for Settings.ascx.resx. |
| Info |
Found valid path (Documentation) for Installation.txt. |
| Info |
Found valid path (Documentation) for License.txt. |
| Info |
Found valid path (Documentation) for Module Config Guide.txt. |
| Info |
Found valid path (Documentation) for Roadmap.txt. |
| Info |
Found valid path (Documentation) for Version History.txt. |
| Info |
Loading Modules info |
| Info |
Loading Control info for 'Smart-Thinker - HomePage' module |
| EndJob |
Dnn load finished successfully |
| |
| StartJob |
Begin Sql execution |
| Info |
Executing 01.00.00.SqlDataProvider |
| StartJob |
Start Sql execution: 01.00.00.SqlDataProvider file |
| Failure |
SQL Execution resulted in following Exceptions: System.Data.SqlClient.SqlException: There is already an object named 'SmartThinker_HomePageModulesGetTabsForUser_C' in the database. at System.Data.SqlClient.SqlCommand.ExecuteNonQuery() at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteNonQuery(SqlConnection connection, CommandType commandType, String commandText, SqlParameter[] commandParameters) at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteNonQuery(String connectionString, CommandType commandType, String commandText, SqlParameter[] commandParameters) at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteNonQuery(String connectionString, CommandType commandType, String commandText) at DotNetNuke.Data.SqlDataProvider.ExecuteScript(String Script, Boolean UseTransactions) CREATE PROCEDURE dnusr_35813f5e67.SmartThinker_HomePageModulesGetTabsForUser_C @PortalID int, @UserID int /* Author: Rodney Joyce Date created: 13/5/05 Purpose: Gets all the pages for a specific user Notes: Checks if this user has any pages Updates: Copyright: Smart-Thinker 2005 */ AS SELECT * FROM dnusr_35813f5e67.Tabs WHERE PortalID = @PortalID AND KeyWords = 'STH-' + CAST(@UserID AS VARCHAR) AND Description = KeyWords AND IsDeleted = 0 |
| EndJob |
End Sql execution: 01.00.00.SqlDataProvider file |
| |
| Info |
Executing 01.00.01.SqlDataProvider |
| StartJob |
Start Sql execution: 01.00.01.SqlDataProvider file |
| Failure |
SQL Execution resulted in following Exceptions: System.Data.SqlClient.SqlException: There is already an object named 'SmartThinker_HomePageModulesGetTabsForUser_C' in the database. at System.Data.SqlClient.SqlCommand.ExecuteNonQuery() at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteNonQuery(SqlConnection connection, CommandType commandType, String commandText, SqlParameter[] commandParameters) at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteNonQuery(String connectionString, CommandType commandType, String commandText, SqlParameter[] commandParameters) at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteNonQuery(String connectionString, CommandType commandType, String commandText) at DotNetNuke.Data.SqlDataProvider.ExecuteScript(String Script, Boolean UseTransactions) CREATE PROCEDURE dnusr_35813f5e67.SmartThinker_HomePageModulesGetTabsForUser_C @PortalID int, @UserID int /* Author: Rodney Joyce Date created: 13/5/05 Purpose: Gets all the pages for a specific user Notes: Checks if this user has any pages Updates: Changed to be tolerant of version number (STH-<VER>-UserID) Copyright: Smart-Thinker 2005 */ AS SELECT * FROM dnusr_35813f5e67.Tabs WHERE PortalID = @PortalID AND LEFT(KeyWords, 4) = 'STH-' AND RIGHT(KeyWords, LEN(@UserID) + 1) = '-' + CAST(@UserID AS VARCHAR) AND Description = KeyWords AND IsDeleted = 0 System.Data.SqlClient.SqlException: Invalid object name 'dnusr_35813f5e67.aspnet_UsersInRoles'. Invalid object name 'dnusr_35813f5e67.aspnet_Roles'. at System.Data.SqlClient.SqlCommand.ExecuteNonQuery() at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteNonQuery(SqlConnection connection, CommandType commandType, String commandText, SqlParameter[] commandParameters) at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteNonQuery(String connectionString, CommandType commandType, String commandText, SqlParameter[] commandParameters) at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteNonQuery(String connectionString, CommandType commandType, String commandText) at DotNetNuke.Data.SqlDataProvider.ExecuteScript(String Script, Boolean UseTransactions) /* ===================================================================================== / END SmartThinker_HomePage Custom Stored Procedures - Copyright 2005, Smart-Thinker / ===================================================================================== */ /* ==================================================================================== / SmartThinker_HomePage Custom Install Script - Copyright 2005, Smart-Thinker / ===================================================================================== */ --Delete all STH Roles from version 01.00.00 (no longer used) DELETE FROM dnusr_35813f5e67.FolderPermission WHERE RoleId IN ( SELECT RoleID FROM dnusr_35813f5e67.ROLES WHERE RoleName like 'STH-%' AND Description = 'Smart-Thinker HomePage Role - Do not edit' ) DELETE FROM dnusr_35813f5e67.ModulePermission WHERE RoleId IN ( SELECT RoleID FROM dnusr_35813f5e67.ROLES WHERE RoleName like 'STH-%' AND Description = 'Smart-Thinker HomePage Role - Do not edit' ) DELETE FROM dnusr_35813f5e67.TabPermission WHERE RoleId IN ( SELECT RoleID FROM dnusr_35813f5e67.ROLES WHERE RoleName like 'STH-%' AND Description = 'Smart-Thinker HomePage Role - Do not edit' ) DELETE FROM dnusr_35813f5e67.ROLES WHERE RoleName like 'STH-%' AND Description = 'Smart-Thinker HomePage Role - Do not edit' DELETE FROM dnusr_35813f5e67.USERROLES WHERE RoleId IN ( SELECT RoleID FROM dnusr_35813f5e67.ROLES WHERE RoleName like 'STH-%' AND Description = 'Smart-Thinker HomePage Role - Do not edit' ) --ASP_NET tables DELETE FROM dnusr_35813f5e67.aspnet_UsersInRoles WHERE RoleId IN ( SELECT RoleID FROM dnusr_35813f5e67.aspnet_Roles WHERE RoleName like 'STH-%' ) DELETE FROM dnusr_35813f5e67.aspnet_Roles WHERE RoleName like 'STH-%' --send all tabs to the Recycle bin that do not have an associated user (safer than deleting) UPDATE dnusr_35813f5e67.Tabs SET IsDeleted = 1 WHERE Description LIKE 'STH-%' AND Description = KeyWords AND Substring(Description, 5, LEN(Description)) NOT IN ( SELECT UserID FROM dnusr_35813f5e67.Users ) /* ==================================================================================== / END SmartThinker_HomePage Custom Install Script - Copyright 2005, Smart-Thinker / ===================================================================================== */ |
| EndJob |
End Sql execution: 01.00.01.SqlDataProvider file |
| |
| EndJob |
Finished Sql execution |
| |
| StartJob |
Creating files |
| Info |
Created E:\inetpub\vhosts\ivoryhighlands.net\httpdocs\ihdnn\bin\SmartThinker.DNN.Modules.HomePage.dll |
| Info |
Created E:\inetpub\vhosts\ivoryhighlands.net\httpdocs\ihdnn\bin\SmartThinker.DNN.Modules.ModuleFramework.dll |
| Info |
Created E:\inetpub\vhosts\ivoryhighlands.net\httpdocs\ihdnn\bin\SmartThinker.DNN.Modules.HomePage.SqlDataProvider.dll |
| Info |
Created E:\inetpub\vhosts\ivoryhighlands.net\httpdocs\ihdnn\DesktopModules\Smart-Thinker - HomePage\Providers\DataProviders\SqlDataProvider\01.00.00.SqlDataProvider |
| Info |
Created E:\inetpub\vhosts\ivoryhighlands.net\httpdocs\ihdnn\DesktopModules\Smart-Thinker - HomePage\Providers\DataProviders\SqlDataProvider\01.00.01.SqlDataProvider |
| Info |
Created E:\inetpub\vhosts\ivoryhighlands.net\httpdocs\ihdnn\DesktopModules\Smart-Thinker - HomePage\Uninstall.SqlDataProvider |
| Info |
Created E:\inetpub\vhosts\ivoryhighlands.net\httpdocs\ihdnn\DesktopModules\Smart-Thinker - HomePage\HomePage.ascx |
| Info |
Created E:\inetpub\vhosts\ivoryhighlands.net\httpdocs\ihdnn\DesktopModules\Smart-Thinker - HomePage\Settings.ascx |
| Info |
Created E:\inetpub\vhosts\ivoryhighlands.net\httpdocs\ihdnn\DesktopModules\Smart-Thinker - HomePage\SmartThinkerHPBar.ascx |
| Info |
Created E:\inetpub\vhosts\ivoryhighlands.net\httpdocs\ihdnn\DesktopModules\Smart-Thinker - HomePage\App_LocalResources\HomePage.ascx.resx |
| Info |
Created E:\inetpub\vhosts\ivoryhighlands.net\httpdocs\ihdnn\DesktopModules\Smart-Thinker - HomePage\App_LocalResources\Settings.ascx.resx |
| Info |
Created E:\inetpub\vhosts\ivoryhighlands.net\httpdocs\ihdnn\DesktopModules\Smart-Thinker - HomePage\Documentation\Installation.txt |
| Info |
Created E:\inetpub\vhosts\ivoryhighlands.net\httpdocs\ihdnn\DesktopModules\Smart-Thinker - HomePage\Documentation\License.txt |
| Info |
Created E:\inetpub\vhosts\ivoryhighlands.net\httpdocs\ihdnn\DesktopModules\Smart-Thinker - HomePage\Documentation\Module Config Guide.txt |
| Info |
Created E:\inetpub\vhosts\ivoryhighlands.net\httpdocs\ihdnn\DesktopModules\Smart-Thinker - HomePage\Documentation\Roadmap.txt |
| Info |
Created E:\inetpub\vhosts\ivoryhighlands.net\httpdocs\ihdnn\DesktopModules\Smart-Thinker - HomePage\Documentation\Version History.txt |
| Info |
Created E:\inetpub\vhosts\ivoryhighlands.net\httpdocs\ihdnn\DesktopModules\Smart-Thinker - HomePage\Smart-Thinker - HomePage.dnn |
| EndJob |
Files created |
| |
| StartJob |
Registering DesktopModule |
| Info |
Registering Definitions |
| Info |
Registering Controls |
| EndJob |
Registering finished |
| |
| Info |
Upgrading Module: 01.00.00Upgrading Module: 01.00.01 |
| EndJob |
Installation successful.
Now I try yo use again and this is the result:
Very interesting, I have a toggle switch.
I added to modules, announcements and calendar
Go to home page (main site home page)
Click on the ST My Homepage and modules are no longer there, I have 3 home pages for myself. I did create a parent page called My Homepage, I changed it and still creates a new home page everytime, GOOD NEWS, I have the Toggle control panel switch now!!! But I now have 7 homes pages.
Please help.
Login is still the same with admin access.
Thanks.
Phil |
|
|
|
|
 |  |
|
|
| Re: Edit home page (United States) |
|
|
Does anything that my post above help you out? The home page module seems like it is nice.I just would lik eto have it work correctly. I am sure it is a simple fix, I just can't fix it, Thus, I buy the modules I need and not create them. |
|
|
|
 |  |
|
|
| Re: Edit home page (United States) |
|
|
Rodney, Rodney, Rodney
How about a little help here buddy. |
|
|
|
 |  |
|
|
| Re: Edit home page (United Kingdom) |
|
|
|
I assume that you are not doing an upgrade, you are installing 1.0.1 first?
From your install error, this looks
like it could be the problem:
“Invalid object name 'dnusr_35813f5e67.aspnet_UsersInRoles'.
Invalid object name 'dnusr_35813f5e67.aspnet_Roles'.”
What is “dnusr_35813f5e67” – is that
the Database Owner?
It seems that you have found a bug
in the upgrade DB scripts (01.00.01.SqlDataProvider) where the old roles from
version 1.0.0 are erased as they are no longer used. This failed on yours
because the script specifies a DBOwner before the core Microsoft tables (UsersInRoles).
To
fix this (it may be related to the problem) – can you change the lines:
--ASP_NET tables
DELETE FROM
{databaseOwner}aspnet_UsersInRoles
WHERE RoleId IN
(
SELECT RoleID
FROM
{databaseOwner}aspnet_Roles
WHERE RoleName like 'STH-%'
)
DELETE FROM
{databaseOwner}aspnet_Roles
WHERE RoleName like 'STH-%'
TO:
--ASP_NET tables
DELETE FROM aspnet_UsersInRoles
WHERE RoleId IN
(
SELECT RoleID
FROM aspnet_Roles
WHERE RoleName like 'STH-%'
)
DELETE FROM aspnet_Roles
WHERE RoleName like 'STH-%'
You will need to unzip the
PA, edit it, and then zip it up again – let me know if you are not familiar with
this procedure and I can help.
Then uninstall and reinstall the
module and let me know the result. I will fix this in the next version.
Hopefully this is related to your problem, but let me know. When you uninstall
the module, it will leave the user homepages that have been created – if you
can, can you delete all of these manually. (to restore the system to how it was
before reinstalling it).
Thanks
Rodney
See our modules in action on PokerDIY, a social network for home poker players
 |
|
|
|
 |  |
|
|
| Re: Edit home page (United Kingdom) |
|
|
One more thing - can you run the following stored proc on your database and return the results to me please:
SmartThinker_HomePageModulesGetTabsForUser_C <portalID> <UserID> (use 73 - not sure what portalID that is)
This is the sp that determines if it should add or edit a page...
Thanks
Rodney
See our modules in action on PokerDIY, a social network for home poker players
 |
|
|
|
 |  |
|
|
| Re: Edit home page (United Kingdom) |
|
|
|
And lastly:
Let me explain how the control panel
and the toggle fit into it:
Basically the only way I could
achieve the desired functionality without modifying the core was to use a
custom control panel (the one you saw in your Host settings). When a page is
loaded, a check is done to see if you are the page’s owner. This is done by
querying the Keywords and Description of the page (hardcoded with the UserID).
If you are the page owner, you will get the toggle button (which shows and
hides the Smart-Thinker Control Panel), unless you are logged in as admin, in
which case you will be shown the normal control panel.
What is strange is that in your
error log you have STH-73 for the Description and
Keywords (if you view the Log Viewer now)
But if you view the page settings
you will see it is “STH-101-73” (for my user – which is STH-101 for
Smart-Thinker HomePage version 1.0.1, and then –UserID (73 must be for the “maint”
user).
This is the correct value, but I am
not sure why the log viewer thinks it is the old version 1.0.0 value of “STH-73”.
Thanks
Rodney
See our modules in action on PokerDIY, a social network for home poker players
 |
|
|
|
 |  |
|
|
| Re: Edit home page (United States) |
|
|
Thank you very much for responding and helping to ge this unique problem fixed.
I do not know how to do the database stuff you requested. Sorry
I deleted module from Host/Module definitions
Made the changes that you said to, I have attached the new zipped file so you can check it for accuracy.
Reinstalled the module and here is the install log: Also dnusr_35813f5e67 is the DB owner, and has all dbo rights.
| StartJob |
Starting Installation |
| StartJob |
Reading files |
| Info |
Loading Installation.txt |
| Info |
File Installation.txt read successfully |
| Info |
Loading License.txt |
| Info |
File License.txt read successfully |
| Info |
Loading Module Config Guide.txt |
| Info |
File Module Config Guide.txt read successfully |
| Info |
Loading Roadmap.txt |
| Info |
File Roadmap.txt read successfully |
| Info |
Loading Settings.ascx |
| Info |
File Settings.ascx read successfully |
| Info |
Loading Settings.ascx.resx |
| Info |
File Settings.ascx.resx read successfully |
| Info |
Loading Smart-Thinker - HomePage.dnn |
| Info |
File Smart-Thinker - HomePage.dnn read successfully |
| Info |
Loading SmartThinker.DNN.Modules.HomePage.dll |
| Info |
File SmartThinker.DNN.Modules.HomePage.dll read successfully |
| Info |
Loading SmartThinker.DNN.Modules.HomePage.SqlDataProvider.dll |
| Info |
File SmartThinker.DNN.Modules.HomePage.SqlDataProvider.dll read successfully |
| Info |
Loading SmartThinker.DNN.Modules.ModuleFramework.dll |
| Info |
File SmartThinker.DNN.Modules.ModuleFramework.dll read successfully |
| Info |
Loading SmartThinkerHPBar.ascx |
| Info |
File SmartThinkerHPBar.ascx read successfully |
| Info |
Loading Uninstall.SqlDataProvider |
| Info |
File Uninstall.SqlDataProvider read successfully |
| Info |
Loading Version History.txt |
| Info |
File Version History.txt read successfully |
| Info |
Loading 01.00.00.SqlDataProvider |
| Info |
File 01.00.00.SqlDataProvider read successfully |
| Info |
Loading 01.00.01.SqlDataProvider |
| Info |
File 01.00.01.SqlDataProvider read successfully |
| Info |
Loading HomePage.ascx |
| Info |
File HomePage.ascx read successfully |
| Info |
Loading HomePage.ascx.resx |
| Info |
File HomePage.ascx.resx read successfully |
| EndJob |
Reading files done. |
| |
| StartJob |
Reading DNN file |
| Info |
DNN file is in valid 3.0 format. |
| Info |
... |
| Info |
Loading files info |
| Info |
Found valid path (App_LocalResources) for HomePage.ascx.resx. |
| Info |
Found valid path (App_LocalResources) for Settings.ascx.resx. |
| Info |
Found valid path (Documentation) for Installation.txt. |
| Info |
Found valid path (Documentation) for License.txt. |
| Info |
Found valid path (Documentation) for Module Config Guide.txt. |
| Info |
Found valid path (Documentation) for Roadmap.txt. |
| Info |
Found valid path (Documentation) for Version History.txt. |
| Info |
Loading Modules info |
| Info |
Loading Control info for 'Smart-Thinker - HomePage' module |
| EndJob |
Dnn load finished successfully |
| |
| StartJob |
Begin Sql execution |
| Info |
Executing 01.00.00.SqlDataProvider |
| StartJob |
Start Sql execution: 01.00.00.SqlDataProvider file |
| Failure |
SQL Execution resulted in following Exceptions: System.Data.SqlClient.SqlException: There is already an object named 'SmartThinker_HomePageModulesGetTabsForUser_C' in the database. at System.Data.SqlClient.SqlCommand.ExecuteNonQuery() at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteNonQuery(SqlConnection connection, CommandType commandType, String commandText, SqlParameter[] commandParameters) at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteNonQuery(String connectionString, CommandType commandType, String commandText, SqlParameter[] commandParameters) at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteNonQuery(String connectionString, CommandType commandType, String commandText) at DotNetNuke.Data.SqlDataProvider.ExecuteScript(String Script, Boolean UseTransactions) CREATE PROCEDURE dnusr_35813f5e67.SmartThinker_HomePageModulesGetTabsForUser_C @PortalID int, @UserID int /* Author: Rodney Joyce Date created: 13/5/05 Purpose: Gets all the pages for a specific user Notes: Checks if this user has any pages Updates: Copyright: Smart-Thinker 2005 */ AS SELECT * FROM dnusr_35813f5e67.Tabs WHERE PortalID = @PortalID AND KeyWords = 'STH-' + CAST(@UserID AS VARCHAR) AND Description = KeyWords AND IsDeleted = 0 |
| EndJob |
End Sql execution: 01.00.00.SqlDataProvider file |
| |
| Info |
Executing 01.00.01.SqlDataProvider |
| StartJob |
Start Sql execution: 01.00.01.SqlDataProvider file |
| Failure |
SQL Execution resulted in following Exceptions: System.Data.SqlClient.SqlException: There is already an object named 'SmartThinker_HomePageModulesGetTabsForUser_C' in the database. at System.Data.SqlClient.SqlCommand.ExecuteNonQuery() at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteNonQuery(SqlConnection connection, CommandType commandType, String commandText, SqlParameter[] commandParameters) at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteNonQuery(String connectionString, CommandType commandType, String commandText, SqlParameter[] commandParameters) at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteNonQuery(String connectionString, CommandType commandType, String commandText) at DotNetNuke.Data.SqlDataProvider.ExecuteScript(String Script, Boolean UseTransactions) CREATE PROCEDURE dnusr_35813f5e67.SmartThinker_HomePageModulesGetTabsForUser_C @PortalID int, @UserID int /* Author: Rodney Joyce Date created: 13/5/05 Purpose: Gets all the pages for a specific user Notes: Checks if this user has any pages Updates: Changed to be tolerant of version number (STH-<VER>-UserID) Copyright: Smart-Thinker 2005 */ AS SELECT * FROM dnusr_35813f5e67.Tabs WHERE PortalID = @PortalID AND LEFT(KeyWords, 4) = 'STH-' AND RIGHT(KeyWords, LEN(@UserID) + 1) = '-' + CAST(@UserID AS VARCHAR) AND Description = KeyWords AND IsDeleted = 0 System.Data.SqlClient.SqlException: Syntax error converting the nvarchar value '101-1' to a column of data type int. at System.Data.SqlClient.SqlCommand.ExecuteNonQuery() at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteNonQuery(SqlConnection connection, CommandType commandType, String commandText, SqlParameter[] commandParameters) at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteNonQuery(String connectionString, CommandType commandType, String commandText, SqlParameter[] commandParameters) at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteNonQuery(String connectionString, CommandType commandType, String commandText) at DotNetNuke.Data.SqlDataProvider.ExecuteScript(String Script, Boolean UseTransactions) /* ===================================================================================== / END SmartThinker_HomePage Custom Stored Procedures - Copyright 2005, Smart-Thinker / ===================================================================================== */ /* ==================================================================================== / SmartThinker_HomePage Custom Install Script - Copyright 2005, Smart-Thinker / ===================================================================================== */ --Delete all STH Roles from version 01.00.00 (no longer used) DELETE FROM dnusr_35813f5e67.FolderPermission WHERE RoleId IN ( SELECT RoleID FROM dnusr_35813f5e67.ROLES WHERE RoleName like 'STH-%' AND Description = 'Smart-Thinker HomePage Role - Do not edit' ) DELETE FROM dnusr_35813f5e67.ModulePermission WHERE RoleId IN ( SELECT RoleID FROM dnusr_35813f5e67.ROLES WHERE RoleName like 'STH-%' AND Description = 'Smart-Thinker HomePage Role - Do not edit' ) DELETE FROM dnusr_35813f5e67.TabPermission WHERE RoleId IN ( SELECT RoleID FROM dnusr_35813f5e67.ROLES WHERE RoleName like 'STH-%' AND Description = 'Smart-Thinker HomePage Role - Do not edit' ) DELETE FROM dnusr_35813f5e67.ROLES WHERE RoleName like 'STH-%' AND Description = 'Smart-Thinker HomePage Role - Do not edit' DELETE FROM dnusr_35813f5e67.USERROLES WHERE RoleId IN ( SELECT RoleID FROM dnusr_35813f5e67.ROLES WHERE RoleName like 'STH-%' AND Description = 'Smart-Thinker HomePage Role - Do not edit' ) --ASP_NET tables DELETE FROM aspnet_UsersInRoles WHERE RoleId IN ( SELECT RoleID FROM aspnet_Roles WHERE RoleName like 'STH-%' ) DELETE FROM aspnet_Roles WHERE RoleName like 'STH-%' --send all tabs to the Recycle bin that do not have an associated user (safer than deleting) UPDATE dnusr_35813f5e67.Tabs SET IsDeleted = 1 WHERE Description LIKE 'STH-%' AND Description = KeyWords AND Substring(Description, 5, LEN(Description)) NOT IN ( SELECT UserID FROM dnusr_35813f5e67.Users ) /* ==================================================================================== / END SmartThinker_HomePage Custom Install Script - Copyright 2005, Smart-Thinker / ===================================================================================== */ |
| EndJob |
End Sql execution: 01.00.01.SqlDataProvider file |
| |
| EndJob |
Finished Sql execution |
| |
| StartJob |
Creating files |
| Info |
Created E:\inetpub\vhosts\ivoryhighlands.net\httpdocs\ihdnn\bin\SmartThinker.DNN.Modules.HomePage.dll |
| Info |
Created E:\inetpub\vhosts\ivoryhighlands.net\httpdocs\ihdnn\bin\SmartThinker.DNN.Modules.ModuleFramework.dll |
| Info |
Created E:\inetpub\vhosts\ivoryhighlands.net\httpdocs\ihdnn\bin\SmartThinker.DNN.Modules.HomePage.SqlDataProvider.dll |
| Info |
Created E:\inetpub\vhosts\ivoryhighlands.net\httpdocs\ihdnn\DesktopModules\Smart-Thinker - HomePage\Providers\DataProviders\SqlDataProvider\01.00.00.SqlDataProvider |
| Info |
Created E:\inetpub\vhosts\ivoryhighlands.net\httpdocs\ihdnn\DesktopModules\Smart-Thinker - HomePage\Providers\DataProviders\SqlDataProvider\01.00.01.SqlDataProvider |
| Info |
Created E:\inetpub\vhosts\ivoryhighlands.net\httpdocs\ihdnn\DesktopModules\Smart-Thinker - HomePage\Uninstall.SqlDataProvider |
| Info |
Created E:\inetpub\vhosts\ivoryhighlands.net\httpdocs\ihdnn\DesktopModules\Smart-Thinker - HomePage\HomePage.ascx |
| Info |
Created E:\inetpub\vhosts\ivoryhighlands.net\httpdocs\ihdnn\DesktopModules\Smart-Thinker - HomePage\Settings.ascx |
| Info |
Created E:\inetpub\vhosts\ivoryhighlands.net\httpdocs\ihdnn\DesktopModules\Smart-Thinker - HomePage\SmartThinkerHPBar.ascx |
| Info |
Created E:\inetpub\vhosts\ivoryhighlands.net\httpdocs\ihdnn\DesktopModules\Smart-Thinker - HomePage\App_LocalResources\HomePage.ascx.resx |
| Info |
Created E:\inetpub\vhosts\ivoryhighlands.net\httpdocs\ihdnn\DesktopModules\Smart-Thinker - HomePage\App_LocalResources\Settings.ascx.resx |
| Info |
Created E:\inetpub\vhosts\ivoryhighlands.net\httpdocs\ihdnn\DesktopModules\Smart-Thinker - HomePage\Documentation\Installation.txt |
| Info |
Created E:\inetpub\vhosts\ivoryhighlands.net\httpdocs\ihdnn\DesktopModules\Smart-Thinker - HomePage\Documentation\License.txt |
| Info |
Created E:\inetpub\vhosts\ivoryhighlands.net\httpdocs\ihdnn\DesktopModules\Smart-Thinker - HomePage\Documentation\Module Config Guide.txt |
| Info |
Created E:\inetpub\vhosts\ivoryhighlands.net\httpdocs\ihdnn\DesktopModules\Smart-Thinker - HomePage\Documentation\Roadmap.txt |
| Info |
Created E:\inetpub\vhosts\ivoryhighlands.net\httpdocs\ihdnn\DesktopModules\Smart-Thinker - HomePage\Documentation\Version History.txt |
| Info |
Created E:\inetpub\vhosts\ivoryhighlands.net\httpdocs\ihdnn\DesktopModules\Smart-Thinker - HomePage\Smart-Thinker - HomePage.dnn |
| EndJob |
Files created |
| |
| StartJob |
Registering DesktopModule |
| Info |
Registering Definitions |
| Info |
Registering Controls |
| EndJob |
Registering finished |
| |
| Info |
Upgrading Module: 01.00.00Upgrading Module: 01.00.01 |
| EndJob |
Installation successful.
|
|
|
|
|
 |  |
|
|
| Re: Edit home page (United Kingdom) |
|
|
Ok - did that help at all? (don't worry too much about the install errors - should be ok)
If you log in as Host you can go to the SQL tab and run the following (replace the first paramater (0 below) with your PortalID, and replaced the second one with my user's UserID:
SmartThinker_HomePageModulesGetTabsForUser_C 0, 1
Do not click "Run as script"
Please paste the results in here.
Thanks
Rodney
See our modules in action on PokerDIY, a social network for home poker players
 |
|
|
|
 |  |
|
|
| Re: Edit home page (United Kingdom) |
|
|
Phil, in case you are not aware, the new HomePage version is out with a lot of new features and fixes (including your DBOwner problem).
I know yours is fixed, but if you are running 4.3.3 then I recommend upgrading to this one.
Thanks
Rodney
See our modules in action on PokerDIY, a social network for home poker players
 |
| | | | | | |