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 ...bizarre upgrade issues from 5.2.3 to any installation on or not on upgrade pathbizarre upgrade issues from 5.2.3 to any installation on or not on upgrade path
Previous
 
Next
New Post
8/21/2011 4:04 PM
 

Hello There I am writing you because I have tried to upgrade this particular installation of mine from 5.2.3 to 5.6.3 as well as everything in between such as 5.2.3 to 5.3.1 and 5.2.3 to 5.4.4, etc...  Suffice it to say in every case I noted the same stuff and that is their always seemed to be an error upgrading the config file.  The coresitemap provider always failed to install even if I deleted it from the install folder during the upgrade and manaully tried to readd it after the upgrade was finished still it failed.  Lastly when bypassing the 5.4.0 milestone I noted that the telerik editor providers would also fail.

Now another thing that is bizarre about this installation is that I find that unless I am in the integrated pipeline via iis apppool with version 7 or 7.5 I find that it won't start the upgrade engine but rather give me silly errors like object can not be referenced... Than when I do go to integrated pipeline and get the engine started and click on the link to enter my site I run into another error.
The solution this time is to change the apppool pipeline from integrated back to classic.

This has been, among other things the things that have baffled both the admins of dnncreative magazine as well as powerdnn.

If you want to check out all the back and forth talk I had with dnncreative magazine about this topic of mine read my thread on there found at the following link as it will give you in depth details of what I had tried before coming to this point of contacting you guys

http://www.dnncreative.com/Forum/tabid/88/aft/31407/Default.aspx

Any help you could provide on this score would be greatly apprecated.

Bo

 

Thanks,

Bo

 
New Post
8/21/2011 7:40 PM
 
Yes, Bo seems to have something really strange happening.  Can someone help?



Joe Craig
Patapsco Research Group, Ellicott City, MD
DotNetNuke Development and Services (http://patapscorg.com)
 
New Post
8/21/2011 8:27 PM
 
I'm assuming that the server is running asp.net 3.5sp1 and that the ms sql server is running a minimum of 2005 sp4 or preferably 2008 sp1.

Firstly there is was a known issue with the sitemap  provider at one point - you can wind up with two versions of the provider in the install folder - which throws an error that can be ignored - basically the new version installs first - then the old version tries to install - and errors because of changes made by the new version.

With regard to telerik - there was a know issue with the telerik provider install crashing because of a locked file handler . . . the resolution to this was to manually upload the telerik web dll to you site via ftp and change a line of the web config to reflect the correct version number.
Do a search of the forums here for telerik upgrade issues.

It is possible that your web.config is also out of sync in some way - I would suggest doing an install of dnn 5.6.3 on a test machine and comparing a copy of the web.config on that test version against your version.

Westa
 
New Post
8/22/2011 3:30 PM
 
Hello Westa,

Before I share the latest findings with you I will let you know that yes you are correct in that my installation of DNN was once on sql2005 but since that time I have transferred the install to powerdnn running mssql2008R2 with I would assume the latest server pack since I just moved hosting environments within 2 to 3 weeks ago which is where I first noticed these upgrade problems in the first place so these upgrade problems starting from 5.2.3 to a later version occured after the migration to sql2008R2 on iis6 but as of late I had them migrate my iis to iis7 for transparency purposes and found I ran into similiar issues their that I ran in on my computer locally running the same iis versions.


Here is the latest information on my progress to resolve the issue in this thread. I was able to achieve a "successful" upgrade all the way to 5.6.3 but the cavet is I had to baby the web.config file all the way up going from 5.2.3 to 5.3.1 to 5.4.4 etc... When doing this I did not run into the updating config errror or the core sitemap error or these telerik errros. In brief the issues seems to be that iis7/7.5 for whatever reason thinks it needs to read both the module node and end module node the handler and end handler as well as the ones that start with http prepended to the module and handler mode hence a duplication error of the add property between the neodes of module and handler. When upgrading to the next version DNN throws the new provider information into both the handler and httphandler and probably the module and httpmodule if their was a module update and this causes errors in iis again until I delete or comment out all the providers dumped into the handler node than it works.

Now here is the story comparing my dnn5.2.3 web.config to the release.config found in the same installation I noted that my web.config did not have the handler nodes which I remember I got rid of because of all these duplication errors but here is the thing.

Upon observing the handler and httphandler nodes I was looking for something that perhaps was not duplicated in the httphandler that was found in the handler node and this is what I discovered.

--------------------------------------------------------------------------------------------------------------------

--------------------------------------------------------------------------------------------------------------------

When this line was left in the handler node and all the other lines of handler were commented out so as not to make iis think their were duplicates going on here than it upgraded successfully to the next version but again in the process dumped the new coresiteprovider and telerik into both types of handlers in the web.config file.

There actually was a remove statement in the httphandlers node which was the following:

-------------------------------------------------------------------------------

----------------------------------------------------------------------
As you can see though this remove statement is not exactly the same as that found in the handler node.

Now I went one step further Westa and Joe and that is just now I did it in reverse commenting out all the httpmodule and httphandler nodes while leaving the handler and module nodes uncommented so that their should still not be a duplication error but I just flipped things around a bit.

When I did this I got the same duplication error as I did had I not commented any of the handler or httphandler content in the web.config file but again when I commented out the handler but left the httphandler uncommented than this duplication error did not occur.

Lastly for kicks I commented out all handler and module nodes as well as there corresponding httphandler and httpmodule nodes and of course not surprisingly I just got an error message with no feedback whatsoever.

Another thing to note is that when I upgrade to the next version I must be in integrated mode and when I view the installation I must be in classic mode otherwise if I do not switch to integrated mode while upgrading I get the object not set to a refrence of an object error and when I do switch to integrated mode after dumping the upgrade files on my file system the upgrade engine works as expected but than when I click on view my portal I get an unspecified errror unless I go back to classic mode.

This was happening on my local environment running windows 7 ultimate and iis7.5 for the server.

This same behavior also could be simulated on powerdnn iis 7 server so I am confident this has nothing to do with how my iis 7 is set up locally at least not directly.

After talking with a powerdnn I started to discover myself that perhaps what was going on here is DNN was trying to use both iis environments at the same time and as a result couldn't use one currently unless the information or content of the modules and handler were first commented out so I am sure having to do this is also related to why I have to switch pipelines in my iis apppool to upgrade and switch back to view.

It is almost as if DNN wants to be in iis7 mode to go through the upgrade procedure from 5.2.3 to whatever comes next and it wants to be in iis6 mode to view what it had upgraded.

This is very bizarre to me indeed.

Now my question to anyone who might be viewing this topic is the following I know that the module node is meant for one iis environment and the httpmodule node is meant for a different iis environment one taylored for iis 6 and one taylored for iis7. My question is which nodes are taylored for which iis environment.

I guess one of them uses webservices and the other uses a different name which the older iis used and I can't remember which that was but at anyrate whatever the module and handler nodes are suppose to support are the ones that must be commented out in order for iis to not through the duplication error as doing it in reverse makes no difference.

Lastly what is it about that remove statement found between the that makes it possible to upgrade DNN successfully given you are on the integrated pipeline as well as given you ensure that all handler and module content is commented out while httpmodule and httphandler content should not be commented out.

here is that remove statement once again

--------------------------------------------------------------------------------------------------------------------

--------------------------------------------------------------------------------------------------------------------

According to powerdnn you are not suppose to have to keep changing iis pipelines in iis7 in order to perform upgrades and to view the new site that was just upgraded it should be able to be either on classic pipeline or integrated pipeline for both upgrading and viewing and not have to be switched back and forth to perform these various tasks.

Here is the actual error message I got when trying to upgrade to 5.3.1 under classic mode

-----------------------------------------------------------------------------------------------------------------
Object reference not set to an instance of an object.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
DotNetNuke.Entities.Portals.PortalInfo.get_Pages() +58
DotNetNuke.Entities.Portals.PortalSettings.GetPortalSettings(Int32 tabID, PortalInfo portal) +742
DotNetNuke.Common.Globals.GetHostPortalSettings() +129
DotNetNuke.Common.Globals.GetPortalSettings() +111
DotNetNuke.Authentication.ActiveDirectory.HttpModules.AuthenticationModule.OnAuthenticateRequest(Object s, EventArgs e) +61
System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +79
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +170

---------------------------------------------------------------------------------------------------------------------
Now if I stay in integrated mode and view my site here is the error you will see

--------------------------------------------------------------------------------------
DotNetNuke Error


An error has occurred.
An error has occurred.
------------------------------------------------------------------------------

Now switching back to classic mode and looking at the event viewer we find the following details in the error logs after the upgrade and viewing the site in integrated mode before switching to classic mode( Please note that there is no error logged after upgrade if I switch to classic mode fefore clicking on go to my portal since it resolves without incident neither is their an error in the event viewer when I try to view my site in integrated mode before the upgrade though an error shows up on the screen. The only error that gets logged in all of this in the event viewer is that which comes from trying to initially go to the protal after an upgrade but before switching to classic mode and by the way their is no data in the providers>dbproviders>*.log files though these files had been generated when opening them up they are simply empty.)

So going to the event viewer right after trying to view site in integrated mode and then actually viewing it in classic mode reveals 4 errors after a successful upgrade. (By the way after clearing the error log before dumping the files from the upgrade folder getting the error for not going to integrated mode to install and again for not going to classic mode to view the site I found 9 pages of errors but only 4 show after the log shows the upgrade completed)

So here are the error details below the first 3 were page load errors and the last a schedule exception.

---------------------------------------------------------------------------------------
AssemblyVersion: 5.3.1
PortalID: -1
PortalName:
UserID: -1
UserName:
ActiveTabID: -1
ActiveTabName:
RawURL: /stevenson/Default.aspx
AbsoluteURL: /stevenson/Default.aspx
AbsoluteURLReferrer: http://localhost/stevenson/Install/Install.aspx?mode=upgrade
UserAgent: Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0; MANM; MANM)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: f261908c-7699-4375-a5a4-4e7f3b4eca81
InnerException: Object reference not set to an instance of an object.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: DotNetNuke.Services.Localization.Localization.GetPageLocale
StackTrace:
Message: DotNetNuke.Services.Exceptions.PageLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.Services.Localization.Localization.GetPageLocale(PortalSettings portalSettings) at DotNetNuke.Framework.PageBase.get_PageCulture() at DotNetNuke.Framework.PageBase.OnInit(EventArgs e) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---
----------------------------------------------------------------------------------------------------------------------------
Next error

--------------------------------------------------------------------------------------------------------------------------
AssemblyVersion: 5.3.1
PortalID: -1
PortalName:
UserID: -1
UserName:
ActiveTabID: -1
ActiveTabName:
RawURL: /stevenson/Default.aspx?error=Object+reference+not+set+to+an+instance+of+an+object.&content=0
AbsoluteURL: /stevenson/Default.aspx
AbsoluteURLReferrer: http://localhost/stevenson/Install/Install.aspx?mode=upgrade
UserAgent: Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0; MANM; MANM)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 0f6e4ce2-350d-42f1-b0d6-42db235d7dd4
InnerException: Object reference not set to an instance of an object.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: DotNetNuke.Services.Localization.Localization.GetPageLocale
StackTrace:
Message: DotNetNuke.Services.Exceptions.PageLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.Services.Localization.Localization.GetPageLocale(PortalSettings portalSettings) at DotNetNuke.Framework.PageBase.get_PageCulture() at DotNetNuke.Framework.PageBase.OnInit(EventArgs e) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---
----------------------------------------------------------------------------------------------------------------------

Next Error

--------------------------------------------------------------------------------------------------------------------

AssemblyVersion: 5.3.1
PortalID: -1
PortalName:
UserID: -1
UserName:
ActiveTabID: -1
ActiveTabName:
RawURL: /stevenson/Default.aspx?error=Object+reference+not+set+to+an+instance+of+an+object.&content=0
AbsoluteURL: /stevenson/Default.aspx
AbsoluteURLReferrer: http://localhost/stevenson/Install/Install.aspx?mode=upgrade
UserAgent: Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0; MANM; MANM)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 021d7c43-ffc6-4149-b720-664cd4f943a6
InnerException: Object reference not set to an instance of an object.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: DotNetNuke.Services.Localization.Localization.GetPageLocale
StackTrace:
Message: DotNetNuke.Services.Exceptions.PageLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.Services.Localization.Localization.GetPageLocale(PortalSettings portalSettings) at DotNetNuke.Framework.PageBase.get_PageCulture() at DotNetNuke.Framework.PageBase.OnInit(EventArgs e) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---
Source:
----------------------------------------------------------------------------------------------------------------
Last error a schedule exception error

------------------------------------------------------------------------------------------------
AssemblyVersion: 5.3.1
PortalID: -1
PortalName:
UserID: -1
UserName:
ActiveTabID: -1
ActiveTabName:
RawURL:
AbsoluteURL:
AbsoluteURLReferrer:
UserAgent:
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: ea6dde1a-eebf-48c8-9c00-633fc607bbc8
InnerException: Thread was being aborted.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.Threading.Thread.SleepInternal
StackTrace:
Message: System.Threading.ThreadAbortException: Thread was being aborted. at System.Threading.Thread.SleepInternal(Int32 millisecondsTimeout) at DotNetNuke.Services.Scheduling.DNNScheduling.Scheduler.CoreScheduler.Start()
Source:
----------------------------------------------------------------------------------------------------------------
In case you want to see the web.config file I have before upgrade that I have tweaked so it could upgrade successfully in integrated mode here are the details below:

Here is a couple errors that showed up before upgrade showed successful and it points to .3.1 as well interestingly enough this is a general exception below

------------------------------------------------------------------------------------------------------------
AssemblyVersion: 5.3.1
PortalID: -1
PortalName:
UserID: -1
UserName:
ActiveTabID: -1
ActiveTabName:
RawURL: /stevenson/Install/Install.aspx?mode=upgrade
AbsoluteURL: /stevenson/Install/Install.aspx
AbsoluteURLReferrer:
UserAgent: Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0; MANM; MANM)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 6b14cb9a-f65c-4415-9cc4-91b25a3f2e4c
InnerException: ContentItemID
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.Data.ProviderBase.FieldNameLookup.GetOrdinal
StackTrace:
Message: System.IndexOutOfRangeException: ContentItemID at System.Data.ProviderBase.FieldNameLookup.GetOrdinal(String fieldName) at System.Data.SqlClient.SqlDataReader.GetOrdinal(String name) at System.Data.SqlClient.SqlDataReader.get_Item(String name) at DotNetNuke.Entities.Content.ContentItem.FillInternal(IDataReader dr) at DotNetNuke.Entities.Tabs.TabInfo.Fill(IDataReader dr) at DotNetNuke.Common.Utilities.CBO.FillObjectFromReader(Object objObject, IDataReader dr)
Source:
---------------------------------------------------------------------------------------------------------------------

It appears these 9 pages of errors logged here seem to be exactly the same error duplicated many many times even to 9 pages just from upgrading. I hope this gives you more insight into how I got these providers to install and how I came about to have no errors in this upgrade as well as the cavets that come along with getting successful upgrades through the iterations and the confusion about why iis is balking or thinking that information in modules and handlers is a duplicate of httpmodule and httphandler or at least why it seems to have to read both these nodes if one is meant for the older iis and one is meant for the newer iis and you can only use one pipelien at a time in iis 7.5.

Below is a copy of my web.config file after I modified it so I could get it to upgrade to the next version "successfully" or perhaps this was upgraded to 5.4.4 successfully since it shows the telerik information either way it will give you an idea of what I must do in regards to this commenting out of most of the nodes between handler and all the content between the module nodes while leaving the httpmodule and httphandler nodes untouched.

Thank You,

Bo

---------------------------------------------------------------------------------------------------------------
































































































































































































































































































































-----------------------------------------------------------------------------------------------------

In case you wanted to see exactly what modules were left in my install while I was attempting these upgrades or what is now there (as a couple modules were added when going to 5.3.1) after the upgrades here they are pasted below

----------------------------------------------------------------------------------------------

Authentication
Allows you to manage authentication settings for sites using Windows Authentication.
1.0.0
No


Console
Display children pages as icon links for navigation.
1.0.0
Yes


Dashboard
Provides a snapshot of your DotNetNuke Application.
1.0.0
Yes


Extensions
Allows a Super User to manage the various extensions, such as Skins, Modules Language Packs, providers etc.
1.0.0
Yes

File Manager
Administrators can manage the files stored in their upload directory. This module allows you to upload new files, download files, delete files, and synchronize your upload directory. It also provides information on the amount of disk space used and available.
1.0.0
Yes

Host Settings
The Super User can manage the configuration settings which apply to the entire site.
1.0.0
Yes

HTML
This module renders a block of HTML or Text content. The Html/Text module allows authorized users to edit the content either inline or in a separate administration page. Optional tokens can be used that get replaced dynamically during display. All versions of content are stored in the database including the ability to rollback to an older version.
5.2.0
No

Languages
1.0.0
Yes

Links
This module renders a list of hyperlinks. Links includes an edit page, which allows authorized users to edit the Links data stored in the SQL database.
4.0.1
No


Lists
Allows you to edit common lists.
1.0.0
Yes

Log Viewer
Allows you to view log entries for portal events.
1.0.0
Yes


Map
The core map module for DotNetNuke.
1.0.9
No


Messaging
The Messaging module allows users to send and receive private messages.
1.0.0
Yes

Portals
The Super User can manage the various parent and child Portals within the site. This module allows you to add a new portal, modify an existing portal, and delete a portal.
1.0.0
Yes



Recycle Bin
The Recycle Bin provides an interface for restoring or permanently deleting Tabs and Modules.
1.0.0
Yes


Scheduler
Allows you to schedule tasks to be run at specified intervals.
1.0.0
Yes


Search Admin
The Search Admininstrator provides the ability to manage search settings.
1.0.0
Yes



Search Results
The Search Results module displays search results.
1.0.0
No



SearchInput
The Search Input module provides the ability to submit a search to a given search results module.
1.0.0
No


Site Log
Administrators can view the details of visitors using their portal. There are a variety of reports available to display information regarding site usage, membership, and volumes.
1.0.0
Yes


Sitemap
1.0.0
Yes



SiteWizard
The Administrator can use this user-friendly wizard to set up the common Extensions of the Portal/Site.
1.0.0
Yes



Skin Designer
Allows you to modify skin attributes.
1.0.0
Yes


Skins
1.0.0
Yes


Solutions
Browse additional solutions for your application.
1.0.0
Yes

SQL
The Super User can execute SQL statements against the database.
1.0.0
Yes


Tabs
Administrators can manage the Tabs within the portal. This module allows you to create a new tab, modify an existing tab, delete tabs, change the tab order, and change the hierarchical tab level.
1.0.0
Yes

Taxonomy Manager
Administrators can manage the Taxonomy for their portal.
1.0.0
Yes

Users and Roles
Administrators can manage the security roles defined for their portal. The module allows you to add new security roles, modifexisting security roles, delete security roles, and manage the users assigned to security roles.
1.0.0
Yes
Vendors
Administrators can manage the Vendors and Banners associated to the portal. This module allows you to add a new vendor, modify an existing vendor, and delete a vendor.
1.0.0
Yes

ViewProfile
1.0.0

Yes
------------------------------------------------------------------------------------------------------------

If you need anymore information than what I have already provided let me know.

Thanks,

Bo
 
New Post
8/25/2011 2:23 AM
 
Hello everyone,

After multiple hours of trying to crack the case of the mysterious upgrading problem I finally hit the issue and was able to get a successful upgrade all the way through to 5.6.3 here is what I discovered.

This problem was multi faceted. What I discovered was that Joe Craig was correct in agreeing that perhaps my iis7 on my local computer was not set up correctly and hence this complicated a resolution.

Now the question is why was it that when I tried to test wether it was my iis7 setup or something else I came to the conclusion it was not my iis7 setup since the same hiccups occured on both my localhost as well as it did on the production server.

Well I discovered it was for the following reason. You see somewhere down the line I don't remember exactly where but somewhere down the line since I moved my installation from ixwebhosting servers and migrated my 2005 to 2008R2 with powerdnn my handlers for iis7 were deleted or missing.

I think this was do to the fact I was having some issues with my dnnnavigational menus after I migrated the site whereby it absolutely wouldn't appear because for some reason it could not find the scriptresource.axd file and hence the javascript postback functionality was failing hence you could not invoke skin objects like login to do any administration work.

Anyway as a result of this issue I believe powerdnn admins in trying to resolve this may have deleted the handlers in my web.config file but I am not 100% sure this happened but what I do know is from the time my menu was fixed to the time I tried to upgrade my site these handlers were gone.

Now back to my development headaches on my localhost. As mentioned earlier in my localhost I was getting these 500.19 duplication errors such as the following:

------------------------------------------------------------------------------------------------------
Cannot add duplicate collection entry of type 'add' with unique key attribute 'name' set to 'Telerik.Web.UI.WebResource'
---------------------------------------------------------------------------------------------------------
So the way I resolved this was to simply to comment oout the handlers and modules under the system.webserver section of the config file. I will not delve into deep detail about this process here since I discussed it in detail on the dnn creative magazine as well as on an earlier post here.

The bottom line is because I had to comment out system.webserver info on my localhost to get it to work I thought that these handlers must be what was causing the problem somehow and hence the bizarre responses from both my iis7 as well as powerdnn iis7.

It wasn't until I was told how powerdnn troubleshoots upgrade problems via web.config comparisons from release.config and web.config that was being used in the installation. Once I tried this and looked at the differences and saw handlers in the release.config file where as their was none in my web.config file as you know from earlier comments I pasted them in, compared handler with httphandler and came to the conclusion the only difference between the two was one line seen down below

------------------------------------------------------------------------------------------------

------------------------------------------------------------------------------------------

This made it possible for the sitecoremap provider and the telerik provider to install successfully however I still was having problems with having to have it in integrated mode to upgrade and classic to view.

Once I realized what the two modes really signified as well as the two sections in the config file called system.webserver and system.web I came to the conclusion the issue was really my site up on my local computer.

Though I didn't know the solution to get rid of this particular server error on my local computer (and still don't) I was pretty sure based on my experimentation that for some odd reason the way it is setup on my system makes iis think that it cannot read the system.webserver content and ignore the system.web content hence in a sense my iis7 seems to only function as a iis6.

I know this because if I swapped my test and commented out the httphandlers found in the system.web section and uncommented out the handlers in the system.webserver section I found that I still got that duplication error for sitecoremap, telerik and other handlers and modules by which the system.webserver and system.web had duplciated lines so that the web.config file could be backwards compatible with iis6.

So this told me that my iis7 on my local windows 7 ultimate system could not properly parse or process the system.webserver stuff but could the system.web stuff. This was the case wether the app-pool was set to integrated pipeline or classic it didn't make much difference when it came to this 500.19 error.

I found a bunch of info on this errors but none of what was talked about seemed to effect my issue. For example many including the iis forum spoke on this issue as resulting in a web.config, or machine.config or global.config now known as applicationhost.config having a duplicate entry that the application root web.config had.

Well in my case this was not the case since the default website and application pointed to the very same folder and their was no web.config file in the inetpub/wwwroot since I deleted it. Further more I tested erasing all content in the machine.config and web.config found in the windows/microsoft.net/[asp.net version folder]/config. I tried bout the 2.0 and the 4.0 folder doing this erasing all content and saving business and did not get the duplicate message to disappear.

When I fooled with the applicationhost.config I got some interaction with the iis messages but nothing that fixed the problem. I got the message to disappear and show just a white screen but that was because I had deleted the global module that dealt with showing error messages on the screen so it wasn't that the duplication problem was fixed just that it couldn't be seen.

So I still don't have an answer to this problem but obviously web hosting farms like powerdnn.com got it right and if anyone from these hosting companies or DNN gurus have any ideas of things I could try on my local system to get this duplication errror and be able to truly simulate the production experience on my local computer that would be just great.

Ok so I got off track a bit point is adding those handlers back on (all of them that was suppose to be there in the first place) and deleting the onyaktech modules I had from a couple years ago did the trick. Apparently the onyaktech modules I believe in particular the onyaktech.library module or the onyaktech.nelsonlinks module was the colprit here because when uninstalling the onyaktech.nelsonlinks module I got errors in this process but it uninstalled with warnings.

In the case of the onyaktech.library module it did uninstall without incident as long as I deleted other onyaktech modules on my system frist as the onyaktech.library module is responsible for being the engine for many of onyaktech modules.

Anyway what happened in the case of the onyaktech.library module uninstall is after a "successful" uninstall with no errors when I clicked on return I got this message concerning the fact that my telerik.web.ui.dll file found in the bin folder was missing. It only went missing after I uninstalled this onyaktech.library module. So I simply found a fresh one of these files from the full install folder of the current DNN version I was on and I was back in business.

Anyway I think that the combination of onayktech modules and handlers was the issue here. The reason for such a length of time is for a long time I was focused solley on modules since that is the first think one thinks of when upgrade issues occur as long as it is a stable upgrade so when I widdled down my site to almost nothing in regards to modules I was shocked to find that my woes in regards to failed upgrades or babied upgrades did not resolve. Only after all this did I explore other potential possibilities and after some back and forth with powerdnn concerning my installation and why it wasn't working properly on their servers I got some guidance in a direction I might be able to take this so that I can discover the answer.

Eventually as you can see I did discover the answer as it relates to this upgrade but still baffled about the answer in regards to a sloppy set up of iis7 on my windows 7 ultimate system that would invoke duplciation errors locally but with powerdnn using the same files and backup does not invoke this. They can't really give me the answer to this secret since they simply utilize plesk control panel to interact with iis and since I don't have plesk on my local computer I have to result to getting to the guts of the iis to find the solution so if any of you can symposize with this problem or have yourself run into this in regards to throwing an error for having the same entries in handlers and moduels under system.webserver found also in httpmodules and httphandlers found in system.web I would appreciate any help I could get from you guys on this score.

Thanks a bundle and hope this solution works for others or at least is a heads up on possible reasons for upgrade failures other than simply modules. What I have learned from this journey is that it is not good to assume a problem on a one track lead as some, like mine was multitrack and knocking one of the two things down was not enough but both of them needed to be discovered and than tackled. This is what I had been doing for a couple of weeks or so now and I am happy to finally bring closure to this experience and hopefully this can be beneficial to someone else so you will not have to go through the same headache I did in regards to certain upgrades.

Like I may have said either here or on dnncreative magazine that most all my upgrades for various clients have been flawless but this one has taken the cake in regards to interesting issues in trying to make it happen successfully to a version that was known to be stable to upgrade to.

Take Care,

Bo
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...bizarre upgrade issues from 5.2.3 to any installation on or not on upgrade pathbizarre upgrade issues from 5.2.3 to any installation on or not on upgrade path


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