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

HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...A Scarey Upgrade to 455A Scarey Upgrade to 455
Previous
 
Next
New Post
8/7/2007 9:24 PM
 

I've performed a number of upgrades to 455 with pleasurable success. Now for the most risky - on the DNN install that is the most complex and most to lose. But I followed all the correct steps - I think.

When I navigated to /install/install.aspx?mode=upgrade I got first the install/Underconstruction. I tried again and twice I got a download dialog box for install/install.aspx! Then all I saw was a blank page.

Not quite panic but certainly dread. Prepared to roll back but not looking forward to trying.

Then on an off chance, I just went to the default portal home page. Loaded fine. Cached somewhere, I was sure ... to prove it, I tried to log in, knowing that I'd get issues immediately. To my surprise, I logged in. "What portal could this be?" I thought, certain that no upgrade had taken place, and that the old one ... didn't really exist anymore.

I logged in ... there was the new 455 control panel (I was coming from 4.3.6).

Now I'm really puzzled. I look around. It looks a whole lot like a successful upgrade. I am skeptical.

I look at all the sql upgrade logs starting at 04.03.07, and they are all empty save this one for 04.05.02. It's long. I'm wondering, looking at it, if it might have something to do with the fact that I banged against the upgrade url a couple times when it was in process (but I didn't know ... didn't get my usual report. I'm not used to blank pages during an upgrade.).

Can someone tell me if I should be worrying, if I have some work to do, or if all is probably ok:

System.Data.SqlClient.SqlException: Violation of UNIQUE KEY constraint 'IX_ModuleControls'. Cannot insert duplicate key in object 'ModuleControls'.
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)


insert into dbo.ModuleControls ( ModuleDefID, ControlKey, ControlTitle, ControlSrc, IconFile, ControlType, ViewOrder, HelpUrl, SupportsPartialRendering )
values ( NULL, 'Adsense', 'Google Adsense', 'Admin/Vendors/Adsense.ascx', NULL, 2, NULL, NULL, 0 )


System.Data.SqlClient.SqlException: There is already an index on table 'ModulePermission' named 'IX_ModulePermission'.
Could not create constraint. See previous errors.
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)


/* add unique constraint */
ALTER TABLE dbo.ModulePermission ADD CONSTRAINT
IX_ModulePermission UNIQUE NONCLUSTERED
(
ModuleID,
PermissionID,
RoleID,
UserID
) ON [PRIMARY]


System.Data.SqlClient.SqlException: There is already an index on table 'TabPermission' named 'IX_TabPermission'.
Could not create constraint. See previous errors.
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)


/* add unique constraint */
ALTER TABLE dbo.TabPermission ADD CONSTRAINT
IX_TabPermission UNIQUE NONCLUSTERED
(
TabID,
PermissionID,
RoleID,
UserID
) ON [PRIMARY]


System.Data.SqlClient.SqlException: There is already an index on table 'FolderPermission' named 'IX_FolderPermission'.
Could not create constraint. See previous errors.
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)


/* add unique constraint */
ALTER TABLE dbo.FolderPermission ADD CONSTRAINT
IX_FolderPermission UNIQUE NONCLUSTERED
(
FolderID,
PermissionID,
RoleID,
UserID
) ON [PRIMARY]


System.Data.SqlClient.SqlException: There is already an index on table 'Permission' named 'IX_Permission'.
Could not create constraint. See previous errors.
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)


/* add unique constraint */
ALTER TABLE dbo.Permission ADD CONSTRAINT
IX_Permission UNIQUE NONCLUSTERED
(
PermissionCode,
ModuleDefID,
PermissionKey
) ON [PRIMARY]


System.Data.SqlClient.SqlException: Violation of UNIQUE KEY constraint 'IX_DesktopModules_ModuleName'. Cannot insert duplicate key in object 'DesktopModules'.
Cannot insert the value NULL into column 'DesktopModuleID', table 'chautauquaportal_dnn.dbo.ModuleDefinitions'; column does not allow nulls. INSERT fails.
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 @DesktopModuleID int

insert into dbo.DesktopModules (
FriendlyName,
Description,
Version,
IsPremium,
IsAdmin,
FolderName,
ModuleName
)
values (
'Google Adsense',
'Allows you to serve Google Adsense ads in your site',
'01.00.00',
0,
0,
'Adsense',
'Adsense'
)

SET @DesktopModuleID = @@IDENTITY

DECLARE @ModuleDefID int

insert into dbo.ModuleDefinitions (
FriendlyName,
DesktopModuleId,
DefaultCacheTime
)
values (
'Adsense',
@DesktopModuleID,
1200
)

SET @ModuleDefID = @@IDENTITY

insert into dbo.ModuleControls (
ControlKey,
ControlTitle,
ModuleDefID,
ControlSrc,
IconFile,
ControlType,
ViewOrder
)
values (
null,
null,
@ModuleDefID ,
'Admin/Vendors/Adsense.ascx',
null,
0,
null
)

insert into dbo.ModuleControls (
ControlKey,
ControlTitle,
ModuleDefID,
ControlSrc,
IconFile,
ControlType,
ViewOrder
)
values (
'Edit',
'Edit Adsense',
@ModuleDefID ,
'Admin/Vendors/EditAdsense.ascx',
null,
1,
null
)


System.Data.SqlClient.SqlException: Violation of UNIQUE KEY constraint 'IX_ModuleControls'. Cannot insert duplicate key in object 'ModuleControls'.
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)


insert into dbo.ModuleControls (
ControlKey,
ControlTitle,
ModuleDefID,
ControlSrc,
IconFile,
ControlType,
ViewOrder
)
values (
'Adsense',
'Google Adsense',
null,
'Admin/Vendors/EditAdsense.ascx',
null,
2,
null
)


System.Data.SqlClient.SqlException: Violation of UNIQUE KEY constraint 'IX_DesktopModules_ModuleName'. Cannot insert duplicate key in object 'DesktopModules'.
Cannot insert the value NULL into column 'DesktopModuleID', table 'chautauquaportal_dnn.dbo.ModuleDefinitions'; column does not allow nulls. INSERT fails.
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 @DesktopModuleID int

insert into dbo.DesktopModules (
FriendlyName,
Description,
Version,
IsPremium,
IsAdmin,
FolderName,
ModuleName
)
values (
'Feed Explorer',
'Allows users to browse RSS feeds using a tabbed user interface',
'01.00.00',
0,
0,
'FeedExplorer',
'FeedExplorer'
)

SET @DesktopModuleID = @@IDENTITY

DECLARE @ModuleDefID int

insert into dbo.ModuleDefinitions (
FriendlyName,
DesktopModuleId,
DefaultCacheTime
)
values (
'Feed Explorer',
@DesktopModuleID,
-1
)

SET @ModuleDefID = @@IDENTITY

insert into dbo.ModuleControls (
ControlKey,
ControlTitle,
ModuleDefID,
ControlSrc,
IconFile,
ControlType,
ViewOrder
)
values (
null,
null,
@ModuleDefID ,
'Admin/Syndication/FeedExplorer.ascx',
null,
0,
null
)

insert into dbo.ModuleControls (
ControlKey,
ControlTitle,
ModuleDefID,
ControlSrc,
IconFile,
ControlType,
ViewOrder
)
values (
'Settings',
'Feed Explorer Settings',
@ModuleDefID ,
'Admin/Syndication/FeedExplorerSettings.ascx',
null,
1,
null
)

a

 


pmgerholdt
 
New Post
8/8/2007 4:07 AM
 

it looks like part of the script has already been run before, very strange. For the messages listed above, if you don't encounter issues, it should be ok.


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
8/8/2007 8:54 AM
 

That was my thought and hope as well.

I had put an app_offline.htm file. When navigating to the default portal, the file displayed. When going to any of the other portals in the same install, it just showed as unable to locate the website. I didn't expect that behavior. Would having it present also suppress the display of install progress? I'm not really clear on when to remove it ...

Perhaps I set something in the web.config which suppressed the display of progress on the web page as I ran install.aspx? I know that I tried to run it more than once, and expect that's why this happened.

So far things are looking ok. Usual errors from bots, nothing else in particular (except scheduled file synch which always fails on this install despite hours of effort. I disabled that on the schedule for now).

Thanks -


pmgerholdt
 
New Post
8/8/2007 9:50 AM
 

Yeah, app_offline is perfect if you just want to copy files over and run some DB tasks manually or what-have-you. For DNN installer to run, it needs the site to function as normal and, thus, makes it impossible to use app_offlline.

As far as your scheduler errors, look up a post on mitchelsellers.com about it (I don't have time to look up the exact url, sorry. :(


Vitaly Kozadayev
Principal
Viva Portals, L.L.C.
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...A Scarey Upgrade to 455A Scarey Upgrade to 455


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