Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsReportsReportsGone Bad: Upgrade to Reports 05.00.00 InstallGone Bad: Upgrade to Reports 05.00.00 Install
Previous
 
Next
New Post
4/18/2008 5:18 PM
 

Upgrade attempt #2:

After successfully upgrading the DNN base install to 4.8.2, attempted to upgrade the reports module to v5.0.0 (from v4.0.5) yields the following error:

StartJob Starting Installation
StartJob Reading files
Info Loading 05.00.00.txt
Info File 05.00.00.txt read successfully
Info Loading license.html
Info File license.html read successfully
Info Loading Reports.dnn
Info File Reports.dnn read successfully
Info Loading 04.04.02.SqlDataProvider
Info File 04.04.02.SqlDataProvider read successfully
Info Loading 04.05.00.SqlDataProvider
Info File 04.05.00.SqlDataProvider read successfully
Info Loading 05.00.00.SqlDataProvider
Info File 05.00.00.SqlDataProvider read successfully
Info Loading resources.zip
Info File resources.zip read successfully
Info Loading DotNetNuke.Modules.Reports.dll
Info File DotNetNuke.Modules.Reports.dll read successfully
EndJob Reading files done.
 
StartJob Reading Installation Manifest file
Info DNN file is in valid 3.0 format.
Info xml loaded.
Info Loading files info
Info Loading Modules info
Info Loading Control info for 'Reports' module
EndJob Manifest file finished successfully
 
StartJob Begin Sql execution
Info Executing 05.00.00.SqlDataProvider
StartJob Start Sql execution: 05.00.00.SqlDataProvider file
Failure SQL Execution resulted in following Exceptions: System.Data.SqlClient.SqlException: Violation of PRIMARY KEY constraint 'PK_dnn_ModuleSettings'. Cannot insert duplicate key in object 'dbo.dnn_ModuleSettings'. Violation of PRIMARY KEY constraint 'PK_dnn_ModuleSettings'. Cannot insert duplicate key in object 'dbo.dnn_ModuleSettings'. Violation of PRIMARY KEY constraint 'PK_dnn_ModuleSettings'. Cannot insert duplicate key in object 'dbo.dnn_ModuleSettings'. 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) IF NOT EXISTS (SELECT * FROM dbo.dnn_PackageTypes WHERE PackageType='DNN_Reports_DataSource') BEGIN INSERT INTO dbo.dnn_PackageTypes(PackageType, Description, SecurityAccessLevel) VALUES ('DNN_Reports_DataSource', 'DNN Reports Data Source', 3) END IF NOT EXISTS (SELECT * FROM dbo.dnn_PackageTypes WHERE PackageType='DNN_Reports_Visualizer') BEGIN INSERT INTO dbo.dnn_PackageTypes(PackageType, Description, SecurityAccessLevel ) VALUES ('DNN_Reports_Visualizer', 'DNN Reports Visualizer', 3) END -- Set Modules to use DNN Data Source by default INSERT INTO dbo.dnn_ModuleSettings SELECT M.ModuleID, 'dnn_Reports_DataSource' as SettingName, 'DotNetNuke' as SettingValue FROM (SELECT ModuleId FROM dbo.dnn_ModuleSettings WHERE SettingName = 'dnn_Reports_Query') AS M -- Set Modules to use DNN Data Source by default INSERT INTO dbo.dnn_ModuleSettings SELECT M.ModuleID, 'dnn_Reports_DataSourceClass' as SettingName, 'DotNetNuke.Modules.Reports.DataSources.DotNetNuke.DotNetNukeDataSource' as SettingValue FROM (SELECT ModuleId FROM dbo.dnn_ModuleSettings WHERE SettingName = 'dnn_Reports_Query') AS M -- Convert query settings UPDATE dbo.dnn_ModuleSettings SET SettingName = 'dnn_ReportsDS_DotNetNuke_Query' WHERE SettingName = 'dnn_Reports_Query' 
EndJob End Sql execution: 05.00.00.SqlDataProvider file
 
EndJob Finished Sql execution
 
StartJob Creating files
StartJob Expanding Resource file
EndJob Resource Files created
 
Info Created C:\DotNetNuke_2\Website\bin\DotNetNuke.Modules.Reports.dll
Failure ExceptionSystem.UnauthorizedAccessException: Access to the path 'C:\DotNetNuke_2\Website\DesktopModules\Reports\Providers\DataProviders\SqlDataProvider\04.04.02.SqlDataProvider' is denied. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.File.SetAttributes(String path, FileAttributes fileAttributes) at DotNetNuke.Modules.Admin.ResourceInstaller.PaDnnInstallerBase.CreateFile(String FullFileName, Byte[] Buffer) at DotNetNuke.Modules.Admin.ResourceInstaller.PaDnnInstallerBase.CreateDataProviderFile(PaFile file, PaFolder Folder) at DotNetNuke.Modules.Admin.ResourceInstaller.PaDnnInstallerBase.CreateFiles(PaFolder Folder) at DotNetNuke.Modules.Admin.ResourceInstaller.PaDnnInstallerBase.Install(PaFolderCollection folders) at DotNetNuke.Modules.Admin.ResourceInstaller.PaInstaller.Install() 
 

Any help at all would be greatly appreciated. 

 
New Post
4/21/2008 5:50 PM
 

After half a dozen un-installs and re-installs...the upgraded version of the module is reflected in the "Host" settings.  Now on to a fresh error!

This is now dumped in the DNN event log every time the page with the reports module is loaded.

ModuleId: 584
ModuleDefId: -1
FriendlyName: Module
ModuleControlSource: Admin/Modules/ModuleSettings.ascx
AssemblyVersion: 04.08.02
PortalID: 1
PortalName: Diversified Maintenance Systems, Inc.
UserID: 1
UserName: administrator
ActiveTabID: 109
ActiveTabName: Job Addition Form Data List
RawURL: /Employee/FormsOnlineforEmployees/JobAdditionFormDataList/tabid/109/ctl/Module/ModuleId/584/Default.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer:
UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: d2ff89de-6c4b-4619-b503-a6851cfea63e
InnerException: Value cannot be null. Parameter name: format
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.String.Format
StackTrace:
Message: DotNetNuke.Services.Exceptions.ModuleLoadException: Value cannot be null. Parameter name: format ---> System.ArgumentNullException: Value cannot be null. Parameter name: format at System.String.Format(IFormatProvider provider, String format, Object[] args) at System.String.Format(String format, Object arg0) at DotNetNuke.Modules.Reports.Settings.BuildExtensionList(String extensionType, String resxFileName, String nameResourceKey, String typeResourceKey, DropDownList dropDown, MultiView multiView, Boolean buildView, Boolean buildNotSpecifiedItem) at DotNetNuke.Modules.Reports.Settings.LoadExtensionSettings(String extensionType, String& extensionName, String nameResourceKey, String typeResourceKey, String defaultExtension, DropDownList dropDown, MultiView multiView, View notConfiguredView, Dictionary`2 extensionSettings, String resxFileName, Boolean buildNotSpecifiedItem) at DotNetNuke.Modules.Reports.Settings.LoadSettings() at DotNetNuke.Modules.Admin.Modules.ModuleSettingsPage.Page_Load(Object sender, EventArgs e) --- End of inner exception stack trace ---
Source:
Server Name: DEVSERVER

Andrew?  Can you shed some light please?

 
New Post
4/22/2008 3:55 PM
 

EDIT: Whoops! Forgot to include my email address it's andrew DOT nurse AT dotnetnuke DOT com (replace the "AT" with "@" and the "DOT"s with ".")

Ok, I'm having some trouble figuring out exactly what's going on just using my source code. Could you email me a ZIP containing the contents of DesktopModules/Reports on your site? It looks like the issue is caused by a corrupt installation, though from the installation log you posted it looks like the required files should have been copied (despite the other errors).

Regarding the SQL error in your previous post, was this a clean upgrade from a pre-5.0 version of Reports module? The error appears to be occurring because the module had been partially upgraded to 5.0 (and certain database objects had been created) BEFORE running that upgrade... Still, even if that was the case, the SQL errors should not be causing any problems

The final error in your installation log above looks like a permissions problem caused by the Module Installer itself, so I'm afraid I don't know how to deal with that one. You should probably verify that the Network Service (or ASPNET) Windows User Account has Modify permissions on the entire DotNetNuke Installation.

Hope I can help, sorry for the delay in responding!


Andrew Nurse
DotNetNuke Core Team Member and Reports Module Project Lead
Microsoft Certified Professional Developer

 
New Post
4/25/2008 2:58 PM
 

Thank you Andrew for getting back to Christian. He has since had success on DevServer and will post his experience soon.

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsReportsReportsGone Bad: Upgrade to Reports 05.00.00 InstallGone Bad: Upgrade to Reports 05.00.00 Install


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out