The original thread for this post was "5.1.2 Error" but has become inaccessible, so I am going to try again. I believe that Sebastian Leupold had responded to an earlier post where I mentioned that I had upgraded 2 local dev instances of 5.1.1 to the new 5.1.2 version but I got a couple of errors that look like this:
00:00:07.910 - Installing Optional Modules:
00:00:07.914 - Installing Package File HTML_Community_05.01.02_Install: Success
00:00:09.355 - Installing Package File HTML_Community_05.01.03_Install: Error!
00:00:12.419 - Installing Optional Skins:
00:00:12.419 - Installing Package File DNN-MinimalExtropySkin_01.00.04_Install: Error!
00:00:13.651 - Installing Optional Containers:
00:00:13.652 - Installing Package File DNN-MinimalExtropyContainer_01.00.04_Install: Error!
Sebastian had asked if I had modified the default skin or container (MinimalExtropy) and for the event log entry around the error. The only change I made to the skin was to the css file for it where I had added a background image to the .logo_pad class. So the change was from this:
.logo_pad{background:#FFF; margin: 0 19px 0 7px; padding:0 ;height:100px;}
To this:
.logo_pad
{
background: #FFF;
margin: 0 19px 0 7px;
padding: 0;
height: 100px;
background-image: url(images/CHAbackground.jpg);
background-repeat: repeat-x;
}
Sebastian also asked for the event log entry around the error, so here it is:
AssemblyVersion: 5.1.2
PortalID: -1
PortalName:
UserID: -1
UserName:
ActiveTabID: -1
ActiveTabName:
RawURL: /main/Install/Install.aspx?mode=upgrade
AbsoluteURL: /main/Install/Install.aspx
AbsoluteURLReferrer:
UserAgent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; GTB6; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.2; Media Center PC 5.0; SLCC1)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: eb32eb66-af41-4500-bfa3-0c9505b640fc
InnerException: Cannot insert duplicate key row in object 'dbo.Packages' with unique index 'IX_Packages'. The statement has been terminated.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.Data.SqlClient.SqlConnection.OnError
StackTrace:
Message: System.Data.SqlClient.SqlException: Cannot insert duplicate key row in object 'dbo.Packages' with unique index 'IX_Packages'. 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.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.ExecuteScalar() at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteScalar(SqlConnection connection, CommandType commandType, String commandText, SqlParameter[] commandParameters) at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteScalar(String connectionString, CommandType commandType, String commandText, SqlParameter[] commandParameters) at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteScalar(String connectionString, String spName, Object[] parameterValues) at DotNetNuke.Data.SqlDataProvider.AddPackage(Int32 portalID, String name, String friendlyName, String description, String type, String version, String license, String manifest, String owner, String organization, String url, String email, String releaseNotes, Boolean isSystemPackage, Int32 CreatedByUserID) at DotNetNuke.Services.Installer.Packages.PackageController.AddPackage(PackageInfo package, Boolean includeDetail) at DotNetNuke.Services.Installer.Packages.PackageController.SavePackage(PackageInfo package) at DotNetNuke.Services.Upgrade.Upgrade.UpgradeApplication()
Source:
Server Name: P3NW3SH029