Update Problem
Last Post 01/17/2007 7:43 AM by Lee Sykes. 16 Replies.
Author Messages
George Tang
Nuke Ace
Nuke Ace
Posts:54


--
01/17/2007 3:53 AM  

I have copied all the update files of DNN 4.4 to the existing folder. I also copied the appSetting section in the release.conf to replace the one in web.config. After that, i can update the current dnn, however, after the update and click on the access portal link, it cannot display the page.

I would like to know what to do to save my site.

Thank you.

Lee Sykes
DNN Creative Staff
Nuke Master VI
Nuke Master VI
Posts:4945


--
01/17/2007 4:08 AM  
You need to take the release.config file and rename it to web.config file and then copy across your settings as I outlined in the previous post from your original web.config file to the new web.config file.

Make sure you have a backup of all your files, especially the original web.config file.
Lee Sykes
Site Administrator
Subscribe to the website : DotNetNuke Video Tutorials : The Skinning Toolkit : DotNetNuke Podcasts

Twitter: www.twitter.com/DNNCreative

Lee Sykes's Facebook Profile
George Tang
Nuke Ace
Nuke Ace
Posts:54


--
01/17/2007 4:11 AM  
i have done so but it cannot display page
Thank you
Lee Sykes
DNN Creative Staff
Nuke Master VI
Nuke Master VI
Posts:4945


--
01/17/2007 4:51 AM  
does it display an error or anything, can you provide any further info?
Lee Sykes
Site Administrator
Subscribe to the website : DotNetNuke Video Tutorials : The Skinning Toolkit : DotNetNuke Podcasts

Twitter: www.twitter.com/DNNCreative

Lee Sykes's Facebook Profile
George Tang
Nuke Ace
Nuke Ace
Posts:54


--
01/17/2007 4:54 AM  
No, it just shows nth.. something like cannot display page
Lee Sykes
DNN Creative Staff
Nuke Master VI
Nuke Master VI
Posts:4945


--
01/17/2007 5:18 AM  
Do you have a URL?

Did you see it go through the installation process when you navigated to the site?

If not, try entering this:

http://www.yourwebsiteaddress.com/I...lResources
Lee Sykes
Site Administrator
Subscribe to the website : DotNetNuke Video Tutorials : The Skinning Toolkit : DotNetNuke Podcasts

Twitter: www.twitter.com/DNNCreative

Lee Sykes's Facebook Profile
George Tang
Nuke Ace
Nuke Ace
Posts:54


--
01/17/2007 5:21 AM  
No, i don't have an url. actually i am still trying in localhost, or do u want to have a look on the files?

Thank you
George Tang
Nuke Ace
Nuke Ace
Posts:54


--
01/17/2007 5:23 AM  
After trying the links,
i have the following error

Server Error in '/DotNetNuke Website2' Application.
--------------------------------------------------------------------------------

Server cannot append header after HTTP headers have been sent.
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.Web.HttpException: Server cannot append header after HTTP headers have been sent.

Lee Sykes
DNN Creative Staff
Nuke Master VI
Nuke Master VI
Posts:4945


--
01/17/2007 5:26 AM  
For the URL I was just wanting to have a look at the error.

Can you post your original web.config file and then your new web.config file that you are using, thanks,
Lee Sykes
Site Administrator
Subscribe to the website : DotNetNuke Video Tutorials : The Skinning Toolkit : DotNetNuke Podcasts

Twitter: www.twitter.com/DNNCreative

Lee Sykes's Facebook Profile
George Tang
Nuke Ace
Nuke Ace
Posts:54


--
01/17/2007 5:30 AM  
ok ,sure. This is the new web.config


<!-- register local configuration handlers -->


<!-- the requirePermission attribute will cause a syntax warning - please ignore - it is required for Medium Trust support-->
















<!-- Connection String for SQL Server 2005 Express -->
name="SiteSqlServer"
connectionString="Data Source=.\SQLExpress;Integrated Security=True;User Instance=True;AttachDBFilename=|DataDirectory|Database.mdf;"
providerName="System.Data.SqlClient" />
<!-- Connection String for SQL Server 2000/2005
name="SiteSqlServer"
connectionString="Server=(local);Database=DotNetNuke;uid=;pwd=;"
providerName="System.Data.SqlClient" />
-->


<!-- Connection String for SQL Server 2005 Express - kept for backwards compatability - legacy modules -->

<!-- Connection String for SQL Server 2000/2005 - kept for backwards compatability - legacy modules

-->







<!-- Host Header to remove from URL so "www.mydomain.com/johndoe/Default.aspx" is treated as "www.mydomain.com/Default.aspx" -->

<!--optionally strip angle brackets on public login and registration screens-->

<!--use as persistent cookie expiration. Value is in minutes, and only active if a non-zero figure-->



language="vb"
type="Microsoft.VisualBasic.VBCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"
extension=".VB" />



validationKey="F9D1A2D3E1D3E2F7B3D9F90FF3965ABDAC304902"
decryptionKey="F9D1A2D3E1D3E2F7B3D9F90FF3965ABDAC304902F8D923AC"
decryption="3DES"
validation="SHA1"/>
<!-- HttpModules for Common Functionality -->

<!-- add name="Authentication" type="DotNetNuke.HttpModules.AuthenticationModule, DotNetNuke.HttpModules.Authentication" / -->








<!-- This is for FTB 3.0 support -->

<!-- This is for CAPTCHA support -->

<!-- This is for Serving files, secure, insecure, from database -->


<!-- set code access security trust level - this is generally set in the machine.config

-->
<!-- set debugmode to false for running application -->











<!-- register your app_code subfolders to generate granular assemblies during compilation



-->

<!-- permits errors to be displayed for remote clients -->

<!-- Forms or Windows authentication -->

<form>s name=".DOTNETNUKE" protection="All" timeout="60" cookieless="UseCookies"/>

<!--



-->
<!-- allow large file uploads -->


<!-- GLOBALIZATION
This section sets the globalization settings of the application.
Utf-8 is not supported on Netscape 4.x
If you need netscape compatiblity leave iso-8859-1.
UTF-8 is recommended for complex languages
-->
culture="en-US"
uiCulture="en"
requestEncoding="UTF-8"
responseEncoding="UTF-8"
fileEncoding="UTF-8"/>
<!---->
<!-- page level options -->

























<!-- ASP.NET 2 Membership/Profile/Role and AnonymousAuthentication Providers -->
<!-- anonymousIdentification configuration:
enabled="[true|false]" Feature is enabled?
cookieName=".ASPXANONYMOUS" Cookie Name
cookieTimeout="100000" Cookie Timeout in minutes
cookiePath="/" Cookie Path
cookieRequireSSL="[true|false]" Set Secure bit in Cookie
cookieSlidingExpiration="[true|false]" Reissue expiring cookies?
cookieProtection="[None|Validation|Encryption|All]" How to protect cookies from being read/tampered
domain="[domain]" Enables output of the "domain" cookie attribute set to the specified value
-->
enabled="true"
cookieName=".ASPXANONYMOUS"
cookieTimeout="100000"
cookiePath="/"
cookieRequireSSL="false"
cookieSlidingExpiration="true"
cookieProtection="None" domain=""/>
defaultProvider="AspNetSqlMembershipProvider"
userIsOnlineTimeWindow="15">


<!-- Configuration for DNNSQLMembershipProvider:
connectionStringName="string" Name corresponding to the entry in section where the connection string for the provider is specified
passwordAttemptThreshold="int" The number of failed password attempts, or failed password answer attempts that are allowed before locking out a user?s account
passwordAttemptWindow="int" The time window, in minutes, during which failed password attempts and failed password answer attempts are tracked
enablePasswordRetrieval="[true|false]" Should the provider support password retrievals
enablePasswordReset="[true|false]" Should the provider support password resets
requiresQuestionAndAnswer="[true|false]" Should the provider require Q & A
minRequiredPasswordLength="int" The minimum password length
minRequiredNonalphanumericCharacters="int" The minimum number of non-alphanumeric characters
applicationName="string" Optional string to identity the application: defaults to Application Metabase path
requiresUniqueEmail="[true|false]" Should the provider require a unique email to be specified
passwordFormat="[Clear|Hashed|Encrypted]" Storage format for the password: Hashed (SHA1), Clear or Encrypted (Triple-DES)
description="string" Description of what the provider does
-->
type="System.Web.Security.SqlMembershipProvider"
connectionStringName="SiteSqlServer"
enablePasswordRetrieval="true"
enablePasswordReset="true"
requiresQuestionAndAnswer="false"
minRequiredPasswordLength="7"
minRequiredNonalphanumericCharacters="0"
requiresUniqueEmail="false"
passwordFormat="Encrypted"
applicationName="DotNetNuke"
description="Stores and retrieves membership data from the local Microsoft SQL Server database" />









defaultProvider="Ftb3HtmlEditorProvider">


<!--
FTB options:
============
toolbarStyle="Office2003|OfficeXP|Office2000|OfficeMac" Sets the default FTB Toolbar style
enableProFeatures="[true|false]" Pro features require a license from FreeTextBox
or you may test them with localhost only
spellCheck="[{none}|IeSpellCheck|NetSpell]" IeSpellCheck is free for non-commercial use only
NetSpell requires some integration work
-->
name="Ftb3HtmlEditorProvider"
type="DotNetNuke.HtmlEditor.Ftb3HtmlEditorProvider, DotNetNuke.Ftb3HtmlEditorProvider"
providerPath="~\Providers\HtmlEditorProviders\Ftb3HtmlEditorProvider\"
toolbarStyle="Office2003"
enableProFeatures="false"
spellCheck=""/>


defaultProvider="SolpartMenuNavigationProvider">


name="SolpartMenuNavigationProvider"
type="DotNetNuke.NavigationControl.SolpartMenuNavigationProvider, DotNetNuke.SolpartMenuNavigationProvider"
providerPath="~\Providers\NavigationProviders\SolpartMenuNavigationProvider\"/>
name="DNNMenuNavigationProvider"
type="DotNetNuke.NavigationControl.DNNMenuNavigationProvider, DotNetNuke.DNNMenuNavigationProvider"
providerPath="~\Providers\NavigationProviders\DNNMenuNavigationProvider\"/>
name="DNNTreeNavigationProvider"
type="DotNetNuke.NavigationControl.DNNTreeNavigationProvider, DotNetNuke.DNNTreeNavigationProvider"
providerPath="~\Providers\NavigationProviders\DNNTreeNavigationProvider\"/>
name="DNNDropDownNavigationProvider"
type="DotNetNuke.NavigationControl.DNNDropDownNavigationProvider, DotNetNuke.DNNDropDownNavigationProvider"
providerPath="~\Providers\NavigationProviders\DNNDropDownNavigationProvider\"/>
name="ASP2MenuNavigationProvider"
type="DotNetNuke.NavigationControl.ASP2MenuNavigationProvider, DotNetNuke.ASP2MenuNavigationProvider"
providerPath="~\Providers\NavigationProviders\ASP2MenuNavigationProvider\"/>


defaultProvider="ModuleIndexProvider">


name="ModuleIndexProvider"
type="DotNetNuke.Services.Search.ModuleIndexer, DotNetNuke.Search.Index"
providerPath="~\Providers\SearchProviders\ModuleIndexer\"/>


defaultProvider="SearchDataStoreProvider">


name="SearchDataStoreProvider"
type="DotNetNuke.Services.Search.SearchDataStore, DotNetNuke.Search.DataStore"
providerPath="~\Providers\SearchProviders\SearchDataStore\"/>


defaultProvider="SqlDataProvider">


name="SqlDataProvider"
type="DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider"
connectionStringName="SiteSqlServer"
upgradeConnectionString=""
providerPath="~\Providers\DataProviders\SqlDataProvider\"
objectQualifier=""
databaseOwner="dbo"/>


defaultProvider="DBLoggingProvider">


name="XMLLoggingProvider"
type="DotNetNuke.Services.Log.EventLog.XMLLoggingProvider, DotNetNuke.XMLLoggingProvider"
configfilename="LogConfig.xml.resources"
providerPath="~\Providers\LoggingProviders\XMLLoggingProvider\"/>
name="DBLoggingProvider"
type="DotNetNuke.Services.Log.EventLog.DBLoggingProvider.DBLoggingProvider, DotNetNuke.Provider.DBLoggingProvider"
providerPath="~\Providers\LoggingProviders\Provider.DBLoggingProvider\"/>


defaultProvider="DNNScheduler">


name="DNNScheduler"
type="DotNetNuke.Services.Scheduling.DNNScheduling.DNNScheduler, DotNetNuke.DNNScheduler"
providerPath="~\Providers\SchedulingProviders\DNNScheduler\"
debug="false"
maxThreads="1"/>


defaultProvider="DNNFriendlyUrl">


name="DNNFriendlyUrl"
type="DotNetNuke.Services.Url.FriendlyUrl.DNNFriendlyUrlProvider, DotNetNuke.HttpModules.UrlRewrite"
includePageName="true"
regexMatch="[^a-zA-Z0-9 _-]" />


defaultProvider="FileBasedCachingProvider">


name="FileBasedCachingProvider"
type="DotNetNuke.Services.Cache.FileBasedCachingProvider.FBCachingProvider, DotNetNuke.Caching.FileBasedCachingProvider"
providerPath="~\Providers\CachingProviders\FileBasedCachingProvider\"/>
name="BroadcastPollingCachingProvider"
type="DotNetNuke.Services.Cache.BroadcastPollingCachingProvider.BPCachingProvider, DotNetNuke.Caching.BroadcastPollingCachingProvider"
providerPath="~\Providers\CachingProviders\BroadcastPollingCachingProvider\"/>


defaultProvider="ADSIAuthenticationProvider">


type="DotNetNuke.Security.Authentication.ADSIProvider, DotNetNuke.Authentication.ADSIProvider"
providerPath="~\Providers\AuthenticationProviders\ADSIProvider\" />





type="DotNetNuke.Security.Membership.AspNetMembershipProvider, DotNetNuke.Provider.AspNetProvider"
providerPath="~\Providers\MembershipProviders\AspNetMembershipProvider\"/>





type="DotNetNuke.Security.Membership.DNNRoleProvider, DotNetNuke.Provider.DNNProvider"
providerPath="~\Providers\MembershipProviders\DNNMembershipProvider\"/>





type="DotNetNuke.Security.Profile.DNNProfileProvider, DotNetNuke.Provider.DNNProvider"
providerPath="~\Providers\MembershipProviders\DNNMembershipProvider\"/>




George Tang
Nuke Ace
Nuke Ace
Posts:54


--
01/17/2007 5:31 AM  
This is the old web.config


<!-- register local configuration handlers -->


<!-- the requirePermission attribute will cause a syntax warning - please ignore - it is required for Medium Trust support-->
















<!-- Connection String for SQL Server 2005 Express -->

<!-- Connection String for SQL Server 2000/2005
name="SiteSqlServer"
connectionString="Server=(local);Database=DotNetNuke;uid=;pwd=;"
providerName="System.Data.SqlClient" />
-->


<!-- Connection String for SQL Server 2005 Express - kept for backwards compatability - legacy modules -->

<!-- Connection String for SQL Server 2000/2005 - kept for backwards compatability - legacy modules

-->







<!-- Host Header to remove from URL so "www.mydomain.com/johndoe/Default.aspx" is treated as "www.mydomain.com/Default.aspx" -->

<!--optionally strip angle brackets on public login and registration screens-->

<!--use as persistent cookie expiration. Value is in minutes, and only active if a non-zero figure-->









<!-- HttpModules for Common Functionality -->

<!-- add name="Authentication" type="DotNetNuke.HttpModules.AuthenticationModule, DotNetNuke.HttpModules.Authentication" / -->







<!-- This is for FTB 3.0 support -->

<!-- This is for CAPTCHA support -->

<!-- This is for Serving files, secure, insecure, from database -->


<!-- set code access security trust level - this is generally set in the machine.config

-->
<!-- set debugmode to false for running application -->















<!-- permits errors to be displayed for remote clients -->

<!-- Forms or Windows authentication -->

<form>s name=".DOTNETNUKE" protection="All" timeout="60" cookieless="UseCookies" />

<!--



-->
<!-- allow large file uploads -->


<!-- GLOBALIZATION
This section sets the globalization settings of the application.
Utf-8 is not supported on Netscape 4.x
If you need netscape compatiblity leave iso-8859-1.
UTF-8 is recommended for complex languages
-->

<!---->
<!-- page level options -->

























<!-- ASP.NET 2 Membership/Profile/Role and AnonymousAuthentication Providers -->
<!-- anonymousIdentification configuration:
enabled="[true|false]" Feature is enabled?
cookieName=".ASPXANONYMOUS" Cookie Name
cookieTimeout="100000" Cookie Timeout in minutes
cookiePath="/" Cookie Path
cookieRequireSSL="[true|false]" Set Secure bit in Cookie
cookieSlidingExpiration="[true|false]" Reissue expiring cookies?
cookieProtection="[None|Validation|Encryption|All]" How to protect cookies from being read/tampered
domain="[domain]" Enables output of the "domain" cookie attribute set to the specified value
-->




<!-- Configuration for DNNSQLMembershipProvider:
connectionStringName="string" Name corresponding to the entry in section where the connection string for the provider is specified
passwordAttemptThreshold="int" The number of failed password attempts, or failed password answer attempts that are allowed before locking out a user?s account
passwordAttemptWindow="int" The time window, in minutes, during which failed password attempts and failed password answer attempts are tracked
enablePasswordRetrieval="[true|false]" Should the provider support password retrievals
enablePasswordReset="[true|false]" Should the provider support password resets
requiresQuestionAndAnswer="[true|false]" Should the provider require Q & A
minRequiredPasswordLength="int" The minimum password length
minRequiredNonalphanumericCharacters="int" The minimum number of non-alphanumeric characters
applicationName="string" Optional string to identity the application: defaults to Application Metabase path
requiresUniqueEmail="[true|false]" Should the provider require a unique email to be specified
passwordFormat="[Clear|Hashed|Encrypted]" Storage format for the password: Hashed (SHA1), Clear or Encrypted (Triple-DES)
description="string" Description of what the provider does
-->








<!--
FTB options:
============
toolbarStyle="Office2003|OfficeXP|Office2000|OfficeMac" Sets the default FTB Toolbar style
enableProFeatures="[true|false]" Pro features require a license from FreeTextBox
or you may test them with localhost only
spellCheck="[{none}|IeSpellCheck|NetSpell]" IeSpellCheck is free for non-commercial use only
NetSpell requires some integration work
-->



















































































George Tang
Nuke Ace
Nuke Ace
Posts:54


--
01/17/2007 5:37 AM  
Sorry , seems cannot send the code. I have sent the files to your mail box. Please check

Thank you
Lee Sykes
DNN Creative Staff
Nuke Master VI
Nuke Master VI
Posts:4945


--
01/17/2007 6:13 AM  
ok, thanks for the code, there are a few elements missing from your new web.config file which you need to transfer across from you old web.config file. - These details were covered in the upgrade video tutorial.

<add key="InstallationDate" value="11/23/2006" />

<machineKey validationKey="A722820E0DFCEF2F87843244D095E51F976C6196" decryptionKey="AEC1A3C6FAAA77CF4C65E39F81BC3DD939FF920B09C6E768" decryption="3DES" validation="SHA1" />
   
These 2 pieces are most important to transfer across.

I have emailed you an edited web.config file so that you can see the bits transferred across.

Thanks,
Lee Sykes
Site Administrator
Subscribe to the website : DotNetNuke Video Tutorials : The Skinning Toolkit : DotNetNuke Podcasts

Twitter: www.twitter.com/DNNCreative

Lee Sykes's Facebook Profile
George Tang
Nuke Ace
Nuke Ace
Posts:54


--
01/17/2007 6:20 AM  
Thank you for your help.

However, the browser still complains cannot open the page.
Lee Sykes
DNN Creative Staff
Nuke Master VI
Nuke Master VI
Posts:4945


--
01/17/2007 6:30 AM  
ok, if you've copied across all of the files and got the correct web.config settings I don't really know what else it could be. - All I can suggest at this stage is to ask in the dotnetnuke.com forum for any additional suggestions.

Thanks,
Lee Sykes
Site Administrator
Subscribe to the website : DotNetNuke Video Tutorials : The Skinning Toolkit : DotNetNuke Podcasts

Twitter: www.twitter.com/DNNCreative

Lee Sykes's Facebook Profile
George Tang
Nuke Ace
Nuke Ace
Posts:54


--
01/17/2007 7:11 AM  
Or Let me clarify what i have done to see if i have got sth wrong.

First replace the web.config and then replace all the files from DotNetNuke_4.4.0_Upgrade folder. Build and Run it and it will update.

That's it. right>?

Thank you
Lee Sykes
DNN Creative Staff
Nuke Master VI
Nuke Master VI
Posts:4945


--
01/17/2007 7:43 AM  
It could be something to do with the build and run it. - I have not done an upgrade when running VWD.

I use SQL server 2000 as my development environment so I don't need to run anything such as VWD to run DNN on a localhost instllation.

All I do is enter http://localhost/mydotnetnuke to load up the install.

So, all I have to do is copy across the DNN 4.4 files over the top of the current DNN 4.3.5 files and then copy across the new settings in the web.config file.

All you then have to do is enter:
http://localhost/mydotnetnuke/Install/Install.aspx?mode=Install

and it upgrades DNN with no problems.

It maybe worth re-copying the DNN 4.4 files over the top of the current installation incase you missed any of the files when you first did it and then re-enter:
http://localhost/mydotnetnuke/Install/Install.aspx?mode=Install

Lee Sykes
Site Administrator
Subscribe to the website : DotNetNuke Video Tutorials : The Skinning Toolkit : DotNetNuke Podcasts

Twitter: www.twitter.com/DNNCreative

Lee Sykes's Facebook Profile


---