Subject: DNN Error
Prev Next
You are not authorized to post a reply.

AuthorMessages
Matthew SabatelloUser is Offline
New Poster
New Poster
Posts:15

03/15/2010 2:36 PM  

Hi,

 

I am testing an upgrade from DNN 4.9.5 to DNN 5.2.3. The upgrade says it is successful, but after a little playing around I noticed that the menu bar on one of my portals (my animalshelter portal) generates the error below when any page on the menu bar is clicked (this problem is only on this one portal). Also, in the Event Viewer I get the follow Genral Exception right after the framework upgrade. For some odd reason, there is no "default.aspx" file in the "animalshelter" folder (for the animal shelter portal) under the root, however there are "default.aspx" files for my other child portals under the root in their folders (folder name is the same as the portal name). For example, in my "helptheanimalsfundinc" folder under the root (for the helptheanimalsfundinc portal)  there is a "default.aspx" file. I am not sure why this is as I recently took over the site. This is the last problem I need to solve before I can run the upgrade on my live site! Thanks in advance for all of your help!

Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable.  Please review the following URL and make sure that it is spelled correctly.

Requested URL: /animalshelter/NewsAnnouncements.aspx

Server Error in '/' Application.

The resource cannot be found.

 


Version Information: Microsoft .NET Framework Version:2.0.50727.3603; ASP.NET Version:2.0.50727.3082

 

[script removed]
AssemblyVersion: 5.2.3
PortalID: -1
PortalName:
UserID: -1
UserName:
ActiveTabID: -1
ActiveTabName:
RawURL: /Install/Install.aspx?mode=upgrade
AbsoluteURL: /Install/Install.aspx
AbsoluteURLReferrer:
UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.2; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 5fdc11de-d044-4002-ab93-6b2f9444d6cc
InnerException: Could not find file 'C:\Brookhaven_Web\animalshelter/\Default.aspx'.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.IO.__Error.WinIOError
StackTrace:
Message: System.IO.FileNotFoundException: Could not find file 'C:\Brookhaven_Web\animalshelter/\Default.aspx'. File name: 'C:\Brookhaven_Web\animalshelter/\Default.aspx' at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileInfo.get_Length() at DotNetNuke.Services.Upgrade.Upgrade.UpgradeApplication()
Source:
Server Name: WEBSITE-TEST-SE

Matthew SabatelloUser is Offline
New Poster
New Poster
Posts:15

03/16/2010 8:24 AM  

The animal shelter folder is not the root of my website, I am sorry if what I wrote was misleading. The root is a folder called "brookhaven_web" and the "animalshelter" folder is a subfolder of "brookhaven_web" along with many other folders, such as "portals". Surprisingly, there is no "default.aspx" file in the "animalshelter" folder and the portal currently works fine on DNN 4.9.5. Also, in all of my other portals there IS a "default.aspx" file in their folders and these portals work fine after the upgrade. The only thing wrong is on my animalshelter portal the menu bar items do not open after the upgrade.  I tried copying a "default.aspx" file from one of my other portals, but after the upgrade the animalshelter portal just goes to my main portal.

 

Also, in the animalshelter folder there is a "index.htm" file with the below content. and a file called "copy of index.aspx" that has this small amount of code in it... any ideas with this info?

 

copy of index.aspx code

"<%response.buffer=true%><%@ Page Language="VB" %>

<%
Response.Redirect("http://www.brookhaven.org/animalshelt...")
%>"

 

Index.htm code



 
  
  
  
  


[script removed]
[script removed]

[script removed] var loc = window.location.href;
var server3 = 'brookhaven.org/animalshelter';
var server8 = 'brookhaven.org/animalshelter';

var newLoc = 'http://www.brookhaven.org/animalshelter/Home/tabid/336/Default.aspx';

if (loc.toLowerCase().indexOf(server3) !=-1)
    newLoc = 'http://www.brookhaven.org/animalshelter/Home/tabid/336/Default.aspx';
else if (loc.toLowerCase().indexOf(server8) !=-1)
    newLoc = 'http://www.brookhaven.org/animalshelter/Home/tabid/336/Default.aspx';
else
    newLoc = 'http://www.brookhaven.org/animalshelter/Home/tabid/336/Default.aspx';

if (document.images)
    setTimeout('window.location.replace(newLoc)',0);
else
    setTimeout('window.location = newLoc',0);


//-->[script removed]
 
 
 

[script removed]
[script removed]
 

Mitchel SellersUser is Offline
Site Admin/Owner
Guru
Guru
Posts:6089

03/17/2010 4:28 PM  
It sounds if your portal alias was modified during upgrade, you might check the PortalAlias table in the database and see what it has, there shouldn't be a trailing / or other odd characters.

-Mitchel Sellers
Microsoft C# MVP, MCITP
Director of Development
IowaComputerGurus Inc.

View Mitchel Sellers's profile on LinkedIn

For shared hosting I recommend PowerDNN

This site is hosted on a Dedicated Server from PowerDNN.com

To get Guaranteed DNN Support check out our affordable DNN Technical Support Programs
Matthew SabatelloUser is Offline
New Poster
New Poster
Posts:15

03/19/2010 1:47 PM  

Mitch,
 
Thank you so much! I spent a lot of time investigating this problem and your response solved my problem. In the "PortalAlias" table the portal I was having trouble with had a forward slash at the end of the end of it. I removed it, tested the upgrade, and it worked!

Thanks again!
 
Matt

 
You are not authorized to post a reply.



ActiveForums 3.7