Friday, January 09, 2009

Smart-Thinker DNN Forums

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.

 
 
  Forums  DotNetNuke  Smart-Thinker U...  Need some help on this Error.
Previous Previous
 
Next Next
New Post 8/22/2006 8:34 AM
  Leon Kiley
8 posts
5th Level Poster


Need some help on this Error.  (N/A)
Hey Bro,
I just installed your latest UP release and get this error when attempting to edit a profile. It also shows up in the Birthdays module and Personal Info module. I put the UP on it's own page called User Profile as you suggested. I'm not sure if I missed a step or what I've done wrong. What can I do to fix this?

Error: My Profile is currently unavailable.
DotNetNuke.Services.Exceptions.ModuleLoadException: Invalid object name 'SmartThinker_UserProfile'. ---> System.Data.SqlClient.SqlException: Invalid object name 'SmartThinker_UserProfile'. 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.SqlDataReader.ConsumeMetaData() at System.Data.SqlClient.SqlDataReader.get_MetaData() at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method) at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior) at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteReader(SqlConnection connection, SqlTransaction transaction, CommandType commandType, String commandText, SqlParameter[] commandParameters, SqlConnectionOwnership connectionOwnership) at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteReader(String connectionString, CommandType commandType, String commandText, SqlParameter[] commandParameters) at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteReader(String connectionString, String spName, Object[] parameterValues) at SmartThinker.DNN.Modules.UserProfile.Data.SqlDataProvider.GetSmartThinker_UserProfile(Int32 userID) at SmartThinker.DNN.Modules.UserProfile.Business.SmartThinker_UserProfileController.Get(Int32 userID) at SmartThinker.DNN.Modules.UserProfile.UserProfileEdit.Page_Load(Object sender, EventArgs e) --- End of inner exception stack trace ---
 
New Post 8/22/2006 9:07 AM
  Rodney Joyce
3071 posts
www.DNNDir.com
1st Level Poster




Re: Need some help on this Error.  (United Kingdom)
Hello,

Could you please check your Database for the SmartThinker_UserProfile table? Another user reported that this was missing the first time he installed this - I am trying to get to the bottom of it.

Also - what version of DNN are you running, and most importantly - was this a new install or an upgrade (and if so, from what?)

Have you got any other Smart-Thinker modules on the system?


Thanks
Rodney
See our modules in action on PokerDIY, a social network for home poker players

Smart-Thinker DotNetNuke Development Blog
 
New Post 8/22/2006 9:22 AM
  Leon Kiley
8 posts
5th Level Poster


Re: Need some help on this Error.  (N/A)
Modified By Leon Kiley  on 8/22/2006 10:26:36 AM)
Hey Rod,

I replied to the notification, but wanted to share my findings here. Just a Recap:
  • I'm running DNN 4.3.3 and will probably be upgrading to 4.3.4 soon.
  • I do have other Smart-Thinker Modules installed... (i.e: HomePage, Events, etc.)
  • I believe that it was a fresh install of the UserProfile Module
  • And yes... I found that no Smart-Thinker UserProfile tables exist in the DB.
I forgot to mention this in the Reply email... but I also tried deleting the modules from the Host >> Module Defs page and it gave me an error. It still remains as a registered Def.

Leon
 
New Post 8/22/2006 9:33 AM
  Rodney Joyce
3071 posts
www.DNNDir.com
1st Level Poster




Re: Need some help on this Error.  (United Kingdom)
Thanks for posting it here Leon. This is REALLY wierd - I will need to sit down and try a variety of installs to work out why the table has not been created!  Were there absoultely no errors when it installed? Would you mind checking your event log for install (or any other related) errors please.

When you say you tried to ununstall it - I  assume this was after you noticed the table was missing. I would expect this as the guts of the module is not there.

I'm going to have to spend tonight looking into this - I need to try a few different set ups - bear with me please.


Thanks
Rodney
See our modules in action on PokerDIY, a social network for home poker players

Smart-Thinker DotNetNuke Development Blog
 
New Post 8/22/2006 9:42 AM
  Leon Kiley
8 posts
5th Level Poster


Re: Need some help on this Error.  (N/A)
No sweat Rod. There where no errors reported during the install here is the Install log... it's long:

Install Module:: Smart-Thinker - UserProfile
Info:: Starting Installation
Info:: Reading files
Info:: Loading SmartThinker.DNN.Modules.UserProfile.dll
Info:: File SmartThinker.DNN.Modules.UserProfile.dll read successfully
Info:: Loading SmartThinker.DNN.Modules.UserProfile.SqlDataProvider.dll
Info:: File SmartThinker.DNN.Modules.UserProfile.SqlDataProvider.dll read successfully
Info:: Loading module.css
Info:: File module.css read successfully
Info:: Loading Settings.ascx
Info:: File Settings.ascx read successfully
Info:: Loading SettingsBirthdaysView.ascx
Info:: File SettingsBirthdaysView.ascx read successfully
Info:: Loading SettingsUserProfile.ascx
Info:: File SettingsUserProfile.ascx read successfully
Info:: Loading UserProfile.ascx
Info:: File UserProfile.ascx read successfully
Info:: Loading UserProfileBirthdaysView.ascx
Info:: File UserProfileBirthdaysView.ascx read successfully
Info:: Loading UserProfileEdit.ascx
Info:: File UserProfileEdit.ascx read successfully
Info:: Loading UserProfilePersonalInfo.ascx
Info:: File UserProfilePersonalInfo.ascx read successfully
Info:: Loading UserProfileProfile.ascx
Info:: File UserProfileProfile.ascx read successfully
Info:: Loading UserProfileValidator.ascx
Info:: File UserProfileValidator.ascx read successfully
Info:: Loading Smart-Thinker - UserProfile.dnn
Info:: File Smart-Thinker - UserProfile.dnn 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 NoPhoto.jpg
Info:: File NoPhoto.jpg 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 01.00.01.SqlDataProvider
Info:: File 01.00.01.SqlDataProvider read successfully
Info:: Loading UserProfileDirectory.ascx
Info:: File UserProfileDirectory.ascx read successfully
Info:: Loading UserProfileDirectory.ascx.resx
Info:: File UserProfileDirectory.ascx.resx read successfully
Info:: Loading 01.00.02.SqlDataProvider
Info:: File 01.00.02.SqlDataProvider read successfully
Info:: Loading UserProfileEdit.ascx.resx
Info:: File UserProfileEdit.ascx.resx read successfully
Info:: Loading UserProfile.ascx.resx
Info:: File UserProfile.ascx.resx read successfully
Info:: Loading Settings.ascx.resx
Info:: File Settings.ascx.resx read successfully
Info:: Loading UserProfileValidator.ascx.resx
Info:: File UserProfileValidator.ascx.resx read successfully
Info:: Loading UserProfileProfile.ascx.resx
Info:: File UserProfileProfile.ascx.resx read successfully
Info:: Loading UserProfilePersonalInfo.ascx.resx
Info:: File UserProfilePersonalInfo.ascx.resx read successfully
Info:: Loading UserProfileBirthdaysView.ascx.resx
Info:: File UserProfileBirthdaysView.ascx.resx read successfully
Info:: Loading SettingsUserProfile.ascx.resx
Info:: File SettingsUserProfile.ascx.resx read successfully
Info:: Loading SettingsBirthdaysView.ascx.resx
Info:: File SettingsBirthdaysView.ascx.resx read successfully
Info:: Loading UserDataBirthdayEmail.ascx.resx
Info:: File UserDataBirthdayEmail.ascx.resx read successfully
Info:: Loading 01.00.04.SqlDataProvider
Info:: File 01.00.04.SqlDataProvider read successfully
Info:: Loading 04.03.01.SqlDataProvider
Info:: File 04.03.01.SqlDataProvider read successfully
Info:: Loading SmartThinker.DNN.Modules.UserProfile.UserProfile.LIC
Info:: File SmartThinker.DNN.Modules.UserProfile.UserProfile.LIC read successfully
Info:: Loading Module Config Guide.doc
Info:: File Module Config Guide.doc read successfully
Info:: Loading SmartThinker.DNN.Modules.ModuleSecurity.dll
Info:: File SmartThinker.DNN.Modules.ModuleSecurity.dll read successfully
Info:: Loading SettingsDirectoryView.ascx
Info:: File SettingsDirectoryView.ascx read successfully
Info:: Loading SettingsDirectoryView.ascx.resx
Info:: File SettingsDirectoryView.ascx.resx read successfully
Info:: Reading files done.
Info:: Reading DNN file
Info:: DNN file is in valid 3.0 format.
Info:: xml loaded.
Info:: Loading files info
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.doc.
Info:: Found valid path (Documentation) for Version History.txt.
Info:: Found valid path (Images) for NoPhoto.jpg.
Info:: Found valid path (App_LocalResources) for Settings.ascx.resx.
Info:: Found valid path (App_LocalResources) for UserProfile.ascx.resx.
Info:: Found valid path (App_LocalResources) for UserProfileEdit.ascx.resx.
Info:: Found valid path (App_LocalResources) for UserProfilePersonalInfo.ascx.resx.
Info:: Found valid path (App_LocalResources) for UserProfileValidator.ascx.resx.
Info:: Found valid path (Licenses\04.03.01\) for SmartThinker.DNN.Modules.UserProfile.UserProfile.LIC.
Info:: Loading Modules info
Info:: Loading Control info for 'Smart-Thinker - UserProfile Validator' module
Info:: Loading Control info for 'Smart-Thinker - UserProfile PersonalInfo' module
Info:: Loading Control info for 'Smart-Thinker - UserProfile' module
Info:: Loading files info
Info:: Found valid path (App_LocalResources) for UserProfileDirectory.ascx.resx.
Info:: Loading Modules info
Info:: Loading Control info for 'Smart-Thinker - UserProfile - Directory' module
Info:: Loading files info
Info:: Found valid path (App_LocalResources) for SettingsBirthdaysView.ascx.resx.
Info:: Found valid path (App_LocalResources) for UserProfileBirthdaysView.ascx.resx.
Info:: Found valid path (App_LocalResources) for UserDataBirthdayEmail.ascx.resx.
Info:: Loading Modules info
Info:: Loading Control info for 'Smart-Thinker - UserProfile - Birthdays' module
Info:: Loading files info
Info:: Found valid path (App_LocalResources) for SettingsUserProfile.ascx.resx.
Info:: Found valid path (App_LocalResources) for UserProfileProfile.ascx.resx.
Info:: Loading Modules info
Info:: Loading Control info for 'Smart-Thinker - UserProfile - Profile' module
Info:: Dnn load finished successfully
Info:: Begin Sql execution
Info:: Executing 04.03.01.SqlDataProvider
Info:: Start Sql execution: 04.03.01.SqlDataProvider file
Info:: End Sql execution: 04.03.01.SqlDataProvider file
Info:: Finished Sql execution
Info:: Creating files
Info:: Created D:\inetpub\DomainID117155\bin\SmartThinker.DNN.Modules.UserProfile.dll
Info:: Created D:\inetpub\DomainID117155\bin\SmartThinker.DNN.Modules.UserProfile.SqlDataProvider.dll
Info:: Created D:\inetpub\DomainID117155\bin\SmartThinker.DNN.Modules.ModuleSecurity.dll
Info:: Created D:\inetpub\DomainID117155\DesktopModules\Smart-Thinker - UserProfile\Providers\DataProviders\SqlDataProvider\01.00.00.SqlDataProvider
Info:: Created D:\inetpub\DomainID117155\DesktopModules\Smart-Thinker - UserProfile\Providers\DataProviders\SqlDataProvider\01.00.01.SqlDataProvider
Info:: Created D:\inetpub\DomainID117155\DesktopModules\Smart-Thinker - UserProfile\Providers\DataProviders\SqlDataProvider\01.00.02.SqlDataProvider
Info:: Created D:\inetpub\DomainID117155\DesktopModules\Smart-Thinker - UserProfile\Providers\DataProviders\SqlDataProvider\01.00.04.SqlDataProvider
Info:: Created D:\inetpub\DomainID117155\DesktopModules\Smart-Thinker - UserProfile\Providers\DataProviders\SqlDataProvider\04.03.01.SqlDataProvider
Info:: Created D:\inetpub\DomainID117155\DesktopModules\Smart-Thinker - UserProfile\Uninstall.SqlDataProvider
Info:: Created D:\inetpub\DomainID117155\DesktopModules\Smart-Thinker - UserProfile\Documentation\Installation.txt
Info:: Created D:\inetpub\DomainID117155\DesktopModules\Smart-Thinker - UserProfile\Documentation\License.txt
Info:: Created D:\inetpub\DomainID117155\DesktopModules\Smart-Thinker - UserProfile\Documentation\Module Config Guide.doc
Info:: Created D:\inetpub\DomainID117155\DesktopModules\Smart-Thinker - UserProfile\Documentation\Version History.txt
Info:: Created D:\inetpub\DomainID117155\DesktopModules\Smart-Thinker - UserProfile\module.css
Info:: Created D:\inetpub\DomainID117155\DesktopModules\Smart-Thinker - UserProfile\Images\NoPhoto.jpg
Info:: Created D:\inetpub\DomainID117155\DesktopModules\Smart-Thinker - UserProfile\Settings.ascx
Info:: Created D:\inetpub\DomainID117155\DesktopModules\Smart-Thinker - UserProfile\UserProfile.ascx
Info:: Created D:\inetpub\DomainID117155\DesktopModules\Smart-Thinker - UserProfile\UserProfileEdit.ascx
Info:: Created D:\inetpub\DomainID117155\DesktopModules\Smart-Thinker - UserProfile\UserProfilePersonalInfo.ascx
Info:: Created D:\inetpub\DomainID117155\DesktopModules\Smart-Thinker - UserProfile\UserProfileValidator.ascx
Info:: Created D:\inetpub\DomainID117155\DesktopModules\Smart-Thinker - UserProfile\App_LocalResources\Settings.ascx.resx
Info:: Created D:\inetpub\DomainID117155\DesktopModules\Smart-Thinker - UserProfile\App_LocalResources\UserProfile.ascx.resx
Info:: Created D:\inetpub\DomainID117155\DesktopModules\Smart-Thinker - UserProfile\App_LocalResources\UserProfileEdit.ascx.resx
Info:: Created D:\inetpub\DomainID117155\DesktopModules\Smart-Thinker - UserProfile\App_LocalResources\UserProfilePersonalInfo.ascx.resx
Info:: Created D:\inetpub\DomainID117155\DesktopModules\Smart-Thinker - UserProfile\App_LocalResources\UserProfileValidator.ascx.resx
Info:: Created D:\inetpub\DomainID117155\DesktopModules\Smart-Thinker - UserProfile\Licenses\04.03.01\SmartThinker.DNN.Modules.UserProfile.UserProfile.LIC
Info:: Created D:\inetpub\DomainID117155\DesktopModules\Smart-Thinker - UserProfile\Smart-Thinker - UserProfile.dnn.config
Info:: Files created
Info:: Registering DesktopModule
Info:: Registering Definitions
Info:: Registering Controls
Info:: Registering finished
Info:: Begin Sql execution
Info:: Finished Sql execution
Info:: Creating files
Info:: Created D:\inetpub\DomainID117155\DesktopModules\Smart-Thinker - UserProfile\UserProfileDirectory.ascx
Info:: Created D:\inetpub\DomainID117155\DesktopModules\Smart-Thinker - UserProfile\App_LocalResources\UserProfileDirectory.ascx.resx
Info:: Created D:\inetpub\DomainID117155\DesktopModules\Smart-Thinker - UserProfile\Smart-Thinker - UserProfile.dnn.config
Info:: Files created
Info:: Registering DesktopModule
Info:: Registering Definitions
Info:: Registering Controls
Info:: Registering finished
Info:: Begin Sql execution
Info:: Finished Sql execution
Info:: Creating files
Info:: Created D:\inetpub\DomainID117155\DesktopModules\Smart-Thinker - UserProfile\App_LocalResources\SettingsBirthdaysView.ascx.resx
Info:: Created D:\inetpub\DomainID117155\DesktopModules\Smart-Thinker - UserProfile\App_LocalResources\UserProfileBirthdaysView.ascx.resx
Info:: Created D:\inetpub\DomainID117155\DesktopModules\Smart-Thinker - UserProfile\App_LocalResources\UserDataBirthdayEmail.ascx.resx
Info:: Created D:\inetpub\DomainID117155\DesktopModules\Smart-Thinker - UserProfile\UserProfileBirthdaysView.ascx
Info:: Created D:\inetpub\DomainID117155\DesktopModules\Smart-Thinker - UserProfile\SettingsBirthdaysView.ascx
Info:: Created D:\inetpub\DomainID117155\DesktopModules\Smart-Thinker - UserProfile\Smart-Thinker - UserProfile.dnn.config
Info:: Files created
Info:: Registering DesktopModule
Info:: Registering Definitions
Info:: Registering Controls
Info:: Registering finished
Info:: Begin Sql execution
Info:: Finished Sql execution
Info:: Creating files
Info:: Created D:\inetpub\DomainID117155\DesktopModules\Smart-Thinker - UserProfile\UserProfileProfile.ascx
Info:: Created D:\inetpub\DomainID117155\DesktopModules\Smart-Thinker - UserProfile\SettingsUserProfile.ascx
Info:: Created D:\inetpub\DomainID117155\DesktopModules\Smart-Thinker - UserProfile\App_LocalResources\SettingsUserProfile.ascx.resx
Info:: Created D:\inetpub\DomainID117155\DesktopModules\Smart-Thinker - UserProfile\App_LocalResources\UserProfileProfile.ascx.resx
Info:: Created D:\inetpub\DomainID117155\DesktopModules\Smart-Thinker - UserProfile\Smart-Thinker - UserProfile.dnn.config
Info:: Files created
Info:: Registering DesktopModule
Info:: Registering Definitions
Info:: Registering Controls
Info:: Registering finished
Info:: Installation successful.
Server Name: WEBC8

 
New Post 8/22/2006 9:46 AM
  Leon Kiley
8 posts
5th Level Poster


Re: Need some help on this Error.  (N/A)
Here is the error from when I tried deleting the Module Def.

ModuleId: 322
ModuleDefId: 64
FriendlyName: Edit Module Definitions
ModuleControlSource: Admin/ModuleDefinitions/EditModuleDefinition.ascx
AssemblyVersion: 04.03.03
PortalID: 0
PortalName: Revelation Revolution
UserID: 1
UserName: host
ActiveTabID: 18
ActiveTabName: Module Definitions
RawURL: /Host/Module Definitions/tabid/18/ctl/Edit/mid/322/desktopmoduleid/78/portalid/0/Default.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://www.revelation-revolution.com/Host/Module%20Definitions/tabid/18/ctl/Edit/mid/322/desktopmoduleid/78/portalid/0/Default.aspx
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.6) Gecko/20060728 Firefox/1.5.0.6
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 3876fe60-5ad0-4874-9b02-2ff312708e7a
InnerException: An error occurred loading a configuration file: Request for the permission of type 'System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed. (machine.config)
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.Security.CodeAccessSecurityEngine.Check
StackTrace:
Message: DotNetNuke.Services.Exceptions.ModuleLoadException: An error occurred loading a configuration file: Request for the permission of type 'System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed. (machine.config) ---> System.Configuration.ConfigurationErrorsException: An error occurred loading a configuration file: Request for the permission of type 'System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed. (machine.config) ---> System.Security.SecurityException: Request for the permission of type 'System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed. at System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMark& stackMark, Boolean isPermSet) at System.Security.CodeAccessPermission.Demand() at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share) at System.Configuration.Internal.InternalConfigHost.StaticOpenStreamForRead(String streamName) at System.Configuration.Internal.InternalConfigHost.System.Configuration.Internal.IInternalConfigHost.OpenStreamForRead(String streamName, Boolean assertPermissions) at System.Configuration.Internal.InternalConfigHost.System.Configuration.Internal.IInternalConfigHost.OpenStreamForRead(String streamName) at System.Configuration.Internal.DelegatingConfigHost.OpenStreamForRead(String streamName) at System.Configuration.UpdateConfigHost.OpenStreamForRead(String streamName) at System.Configuration.BaseConfigurationRecord.InitConfigFromFile() The action that failed was: Demand The type of the first permission that failed was: System.Security.Permissions.FileIOPermission The Zone of the assembly that failed was: MyComputer --- End of inner exception stack trace --- at System.Configuration.ConfigurationSchemaErrors.ThrowIfErrors(Boolean ignoreLocal) at System.Configuration.BaseConfigurationRecord.ThrowIfParseErrors(ConfigurationSchemaErrors schemaErrors) at System.Configuration.Configuration..ctor(String locationSubPath, Type typeConfigHost, Object[] hostInitConfigurationParams) at System.Configuration.Internal.InternalConfigConfigurationFactory.System.Configuration.Internal.IInternalConfigConfigurationFactory.Create(Type typeConfigHost, Object[] hostInitConfigurationParams) at System.Web.Configuration.WebConfigurationHost.OpenConfiguration(WebLevel webLevel, ConfigurationFileMap fileMap, VirtualPath path, String site, String locationSubPath, String server, String userName, String password, IntPtr tokenHandle) at System.Web.Configuration.WebConfigurationManager.OpenWebConfigurationImpl(WebLevel webLevel, ConfigurationFileMap fileMap, String path, String site, String locationSubPath, String server, String userName, String password, IntPtr userToken) at System.Web.Configuration.WebConfigurationManager.OpenWebConfiguration(String path) at DotNetNuke.Common.Utilities.Config.RemoveCodeSubDirectory(String name) at DotNetNuke.Modules.Admin.ModuleDefinitions.EditModuleDefinition.cmdDelete_Click(Object sender, EventArgs e) --- End of inner exception stack trace ---
Source:
Server Name: WEBC8

 
New Post 8/22/2006 10:01 AM
  Rodney Joyce
3071 posts
www.DNNDir.com
1st Level Poster




Re: Need some help on this Error.  (United Kingdom)
Hmmm - here is the problem:

Info:: Executing 04.03.01.SqlDataProvider
Info:: Start Sql execution: 04.03.01.SqlDataProvider file
Info:: End Sql execution: 04.03.01.SqlDataProvider file
Info:: Finished Sql execution

It seems to have ignored the previous ones! I am not sure why it would do this... I might have to do some R&R on the main forums. The only time it would do this was if your were upgrading and it had all the previous SQL files - BUT then it would also have the table, so I don't think this is the case!


Thanks
Rodney
See our modules in action on PokerDIY, a social network for home poker players

Smart-Thinker DotNetNuke Development Blog
 
New Post 8/22/2006 10:30 AM
  Leon Kiley
8 posts
5th Level Poster


Re: Need some help on this Error.  (N/A)
Ok... I manually executed your sql scripts through the Host >> SQL page and then reinstalled the UserProfile module through Host >> Module Def. and it installed perfectly w/o any errors on the install, pages, or modules. I logged out and logged back in as a Reg. User with a HomePage and attempt to view the User Profile page, but it says that the user doesn't have permission to view the module within the portal. I set the Permissions for Registered Users & STHomePageEdit to have view rights... Do I need to give them edit rights aswell?
 
New Post 8/22/2006 10:36 AM
  Rodney Joyce
3071 posts
www.DNNDir.com
1st Level Poster




Re: Need some help on this Error.  (United Kingdom)
The way I have it configured on Smart-Thinker is that anonymous users can view profiles - so I make sure they have view rights on the "User Profile" page. I set the actual UserProfile Profile control to inherit the view rights from the page).

Note that you should not really use STHomePageEdit as it is a dynamically assigned roles and normal user's don't have this right unless they are viewing their own HomePage. I would either use Registered Users or Unauthenticated users - depending on who you want to be able to see profiles (either all users or only logged in users).

Note that I am referring to viewing the profile - you don't need edit rights on this. For the Edit Profile control you do tho as per the Module Config Guide (have you read this?).


Thanks
Rodney
See our modules in action on PokerDIY, a social network for home poker players

Smart-Thinker DotNetNuke Development Blog
 
New Post 8/22/2006 10:42 AM
  Leon Kiley
8 posts
5th Level Poster


Re: Need some help on this Error.  (N/A)
I skimmed through it... I get excited and trigger happy w/ my new toys... I'll go back and look through it again. Thanks! Let me know if you need any more help from me.
 
New Post 8/23/2006 3:28 AM
  Rodney Joyce
3071 posts
www.DNNDir.com
1st Level Poster




Re: Need some help on this Error.  (N/A)
Ok - I have raised this on the main Forums here as it has stumped me. Hopefully someone will be able to offer some advice so I can fix this!


Thanks
Rodney
See our modules in action on PokerDIY, a social network for home poker players

Smart-Thinker DotNetNuke Development Blog
 
New Post 9/1/2006 9:59 AM
  Rodney Joyce
3071 posts
www.DNNDir.com
1st Level Poster




Re: Need some help on this Error.  (United Kingdom)
Please note that the latest version of the UserProfile module 4.3.1 for DNN 4.3.4+ has now been released.

Thanks
Rodney
See our modules in action on PokerDIY, a social network for home poker players

Smart-Thinker DotNetNuke Development Blog
 
New Post 9/10/2006 3:45 AM
  Rodney Joyce
3071 posts
www.DNNDir.com
1st Level Poster




Re: Need some help on this Error.  (N/A)
If anyone is having the problem with the UserProfile main table not being created, please answer these questions (some require some SQL knowledge)

  1. What version of DNN are you running?
  2. Have you tried to install this version before?
  3. Were there any error messages in the installation process?
  4. Are you using a Databasee Owner in the web config?
  5. Are you using an Object Qualifier?
  6. Do you have any other Smart-Thinker modules installed (which ones if so?)
  7. Does the 'SmartThinker_UserProfile' table exist in your database?
  8. What happens when you try to reinstall it?
  9. IS there ANYTHING odd about your DNN installation that you know of? (Maybe you tweaked some settings etc.)
I have raised this problem here but have heard nothing yet:

Much appreciated!

Thanks
Rodney
See our modules in action on PokerDIY, a social network for home poker players

Smart-Thinker DotNetNuke Development Blog
 
New Post 9/11/2006 3:04 AM
  Paul Morgan
17 posts
4th Level Poster


Re: Need some help on this Error.  (United Kingdom)
Modified By Paul Morgan  on 9/11/2006 4:25:27 AM)
  1. What version of DNN are you running? 4.3.4
  2. Have you tried to install this version before?  No
  3. Were there any error messages in the installation process? No
  4. Are you using a Databasee Owner in the web config? / Are you using an Object Qualifier? 

          connectionStringName="SiteSqlServer"
          upgradeConnectionString=""
          providerPath="~\Providers\DataProviders\SqlDataProvider\"
          objectQualifier=""
          databaseOwner="dbo"/

is that wot you mean

  1. Do you have any other Smart-Thinker modules installed (which ones if so?) Yes - Home Page
  2. Does the 'SmartThinker_UserProfile' table exist in your database? no
  3. What happens when you try to reinstall it?

i deleted each of the up modules one by one - without incident

I then reinstalled - see sql log below

StartJob Begin Sql execution
Info Executing 01.00.00.SqlDataProvider
StartJob Start Sql execution: 01.00.00.SqlDataProvider file
EndJob End Sql execution: 01.00.00.SqlDataProvider file
 
Info Executing 01.00.01.SqlDataProvider
StartJob Start Sql execution: 01.00.01.SqlDataProvider file
EndJob End Sql execution: 01.00.01.SqlDataProvider file
 
Info Executing 01.00.02.SqlDataProvider
StartJob Start Sql execution: 01.00.02.SqlDataProvider file
EndJob End Sql execution: 01.00.02.SqlDataProvider file
 
Info Executing 01.00.04.SqlDataProvider
StartJob Start Sql execution: 01.00.04.SqlDataProvider file
EndJob End Sql execution: 01.00.04.SqlDataProvider file
 
Info Executing 04.03.01.SqlDataProvider
StartJob Start Sql execution: 04.03.01.SqlDataProvider file
EndJob End Sql execution: 04.03.01.SqlDataProvider file
 
EndJob Finished Sql execution

no errors

the smartthinker_userprofile table now exists

 

  1. IS there ANYTHING odd about your DNN installation that you know of? (Maybe you tweaked some settings etc.)

its a vanilla hosted installation - I have cachin enabled - i have ajax modules installed - which  required a webconfig addition?

 

 
New Post 9/12/2006 2:03 AM
  Rodney Joyce
3071 posts
www.DNNDir.com
1st Level Poster




Re: Need some help on this Error.  (N/A)
Thanks Mogsie - that is one of the BEST error reports I have seen yet! Really makes my job easier ;)

4) Yes, that is what I meant - yours is standard (I was hoping this may shed some light on the problem)

I don't think your web.config change would affect it. This is really strange, no errors but the first DB script does not run (and this has only happened a couple of times to some users). I posted on the main Forums but have no leads yet!

Ok - so does it work now after re-install?

Thanks
Rodney
See our modules in action on PokerDIY, a social network for home poker players

Smart-Thinker DotNetNuke Development Blog