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

HomeHomeUsing DNN Platf...Using DNN Platf...Upgrading DNN P...Upgrading DNN P...App_Browsers\OceanAppleWebKit.browserApp_Browsers\OceanAppleWebKit.browser
Previous
 
Next
New Post
1/25/2012 10:05 AM
 

Dear Group,

I'm following the DNN Wiki on upgrading from 4.08.04 to 4.09.05 using the "suggested upgrade plan". I've followed all the upgrade steps 1 through 14 including pointing the website to my new database and ensuring that autoupgrade is set to FALSE.

[Prior to beginning the upgrade process I had upgraded my web hosting plan from ASP.NET 2.0 to ASP.NET 4.0 with a concurrent upgrade of SQL Server from 2000 to 2008. The DNN sites I'd set up were all working properly in the new environment at version 4.08.04. I had already modified the web.config file to point to the new SQL Server, so that was copacetic, too.]

When I run the MYWEBSITE/install/install.aspx?mode=upgrade URL, I get an immediate "Configuration Error":

Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: The browser or gateway element with ID 'Safari1Plus' cannot be found.

Line 33: <!-- http://www.sunrisebrowser.com/en/--> 
Line 34: <!-- Mozilla/5.0 (Macintosh; U; PPC Mac OS X; fr-fr) AppleWebKit/125.5.7 (KHTML, like Gecko) SunriseBrowser/0.895 -->
Line 35: <gateway id="AppleWebKitCatchall" parentID="Safari1Plus">
Line 36: <sampleHeaders> Line 37: <header name="User-Agent" value="Mozilla/5.0 (Macintosh; U; PPC Mac OS X; fr-fr) AppleWebKit/125.5.7 (KHTML, like Gecko) SunriseBrowser/0.895" />

Source File: MYWEBSITE\App_Browsers\OceanAppleWebKit.browser    Line: 35


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1

 I'm stymied.  Can you help me with this? Thank you.

Steve Erbach
Neenah, WI

 
New Post
1/25/2012 12:04 PM
 
i've never seen this error and can find no other reference about it - i'd suggest removing that file temporarily to see if that helps.

Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
1/25/2012 1:20 PM
 

Mr. Connolly,

Thank you, I'll give that a try.

Steve Erbach
Neenah, WI

 
New Post
1/25/2012 1:21 PM
 
I have run into this several times. If I can recall what I did, I believe that I copied the App_Browsers directory from a later version of DotNetNuke to replace what was there. That let the upgrade run.



Joe Craig
Patapsco Research Group, Ellicott City, MD
DotNetNuke Development and Services (http://patapscorg.com)
 
New Post
1/25/2012 3:15 PM
 

Mr. Connolly,

I did as you suggested and deleted the OceanAppleWebKit.browser file. When I refreshed the install link I got a similar error for another of the files in the App_Browsers folder: OceanSpiders.browser:

'Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: The browser or gateway element with ID 'docomon505i' cannot be found.

Source Error:

Line 23: --> 
Line 24: <browsers>
Line 25: <browser id="GooglebotDocomon505i" parentID="docomon505i">
Line 26: <identification>
Line 27: <userAgent match="Googlebot-Mobile/(?'version'(?'major'\d+)(?'minor'\.\d+))" />

Source File: MYWEBSITE\App_Browsers\OceanSpiders.browser    Line: 25


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1

 I then saw the message from Mr. Craig about copying the files from a later upgrade version of DNN. I did that with the App_Browsers contents for version 5.06.04. I didn't see any more messages relating to those files, but the upgrade process halted right away as DNN attempted to run the 04.09.00.SqlDataProvider script:

Upgrading DotNetNuke

Current Assembly Version: 04.09.05

Current Database Version: 04.08.04

Upgrade Status Report

00:00:00.078 - Upgrading to Version: 4.9.5
00:00:01.310 -   Executing Script: 04.09.00.SqlDataProvider



Server Error in '/' Application.


Access to the path 'MYWEBSITE\Portals\_default\04.09.00.config' is denied.

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.UnauthorizedAccessException: Access to the path 'MYWEBSITE\Portals\_default\04.09.00.config' is denied.

ASP.NET is not authorized to access the requested resource. Consider granting access rights to the resource to the ASP.NET request identity. ASP.NET has a base process identity (typically {MACHINE}\ASPNET on IIS 5 or Network Service on IIS 6 and IIS 7, and the configured application pool identity on IIS 7.5) that is used if the application is not impersonating. If the application is impersonating via <identity impersonate="true"/>, the identity will be the anonymous user (typically IUSR_MACHINENAME) or the authenticated request user.

To grant ASP.NET access to a file, right-click the file in Explorer, choose "Properties" and select the Security tab. Click "Add" to add the appropriate user or group. Highlight the ASP.NET account, and check the boxes for the desired access.

Source Error:

The source code that generated this unhandled exception can only be shown when compiled in debug mode. To enable this, please follow one of the below steps, then request the URL:

1. Add a "Debug=true" directive at the top of the file that generated the error. Example:

  <%@ Page Language="C#" Debug="true" %>

or:

2) Add the following section to the configuration file of your application:

<configuration>
   <system.web>
       <compilation debug="true"/>
   </system.web>
</configuration>

Note that this second technique will cause all files within a given application to be compiled in debug mode. The first technique will cause only that particular file to be compiled in debug mode.

Important: Running applications in debug mode does incur a memory/performance overhead. You should make sure that an application has debugging disabled before deploying into production scenario.

Stack Trace:

[UnauthorizedAccessException: Access to the path 'MYWEBSITE\Portals\_default\04.09.00.config' is denied.] 
System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) +9717806
System.IO.File.SetAttributes(String path, FileAttributes fileAttributes) +141
DotNetNuke.Services.Upgrade.Upgrade.UpdateConfig(String strVersion) +88
DotNetNuke.Services.Upgrade.Upgrade.ExecuteScript(String strScriptFile, String version, Boolean writeFeedback) +236
DotNetNuke.Services.Upgrade.Upgrade.UpgradeVersion(String strScriptFile, Boolean writeFeedback) +124
DotNetNuke.Services.Upgrade.Upgrade.UpgradeDNN(String strProviderPath, String strDatabaseVersion) +412
DotNetNuke.Services.Install.Install.UpgradeApplication() +871
DotNetNuke.Services.Install.Install.Page_Load(Object sender, EventArgs e) +367
System.Web.UI.Control.OnLoad(EventArgs e) +91
System.Web.UI.Control.LoadRecursive() +74
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2207

 


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1

So, I'm stymied again, but at least the process has begun. Any thoughts on what to do in this instance?

Thank you!

Steve Erbach
Neenah, WI

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Upgrading DNN P...Upgrading DNN P...App_Browsers\OceanAppleWebKit.browserApp_Browsers\OceanAppleWebKit.browser


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