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 ...The new Default.aspx did not work after upgrade to 4.5.3The new Default.aspx did not work after upgrade to 4.5.3
Previous
 
Next
New Post
6/6/2007 12:50 PM
 

As a precaution I always try any new upgrade on my local PC before doing it on the server. The original site on my PC was created with the starterkit back in 4.4.0 and was upgraded since then, until 4.5.1 with no problems. I extracted the 4.5.3 upgrade files over the site, and ran it. It all looked to be running OK, but when I was supposed to get the home page back, it failed to connect to the site. I looked at the files on my site, and noticed a file called old_Default.aspx. I tried it and it solved the problem, so I copied it over the new Defaule.aspx.
Now I am not sure if this is a bizar thing that happens only on the ASP.NET development server or something that will happen on my live server as well.
Can anyone enlighten me about this phenomenon?
And also:
What are the implications of using the old Default.aspx?

 
New Post
6/8/2007 11:07 AM
 

I have just notices someone else with the same problem,

http://www.dotnetnuke.com/Community/Forums/tabid/795/forumid/107/threadid/139568/threadpage/3/scope/posts/Default.aspx

and it does not seem to be related to a development environment issue. Looks like it is a real upgrade issue. Can anyone help on that?

 
New Post
6/8/2007 5:46 PM
 

if your issue is also due to child portals, see my last post in the other thread.


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
6/10/2007 5:59 AM
 

Thanks for your note.

I am not sure if this is the issue in the other thread, but in my case there is no child portal at all. Here is how the new Default.aspx that did not work looks like:

<%

@ Page language="VB" %>@ Import Namespace="DotNetNuke" %>

<

script runat="server">

 

 

Sub Page_Load(ByVal sender As Object, ByVal e As EventArgs)Dim DomainName As String

 

Dim ServerPath As String

 

Dim URL() As String

 

Dim intURL As Integer

 

' parse the Request URL into a Domain Name token

URL = Split(Request.Url.ToString(),

 

 

 

"/")For intURL = 2 To URL.GetUpperBound(0)Select Case URL(intURL).ToLowerCase "admin", "desktopmodules", "mobilemodules", "premiummodules"

 

Exit For

 

Case Else

 

' check if filename

 

If InStr(1, URL(intURL), ".aspx") = 0 Then

DomainName = DomainName & IIf(DomainName <>

 

"", "/", "") & URL(intURL)Else

 

Exit For

 

End If

 

End Select

 

 

Next intURL' format the Request.ApplicationPath

ServerPath = Request.ApplicationPath

 

If Mid(ServerPath, Len(ServerPath), 1) <> "/" Then

ServerPath = ServerPath &

"/"

 

End If

DomainName = ServerPath &

Response.Redirect(DomainName,

 

 

</

"Default.aspx?alias=" & DomainNameTrue)End Subscript>

<%

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...The new Default.aspx did not work after upgrade to 4.5.3The new Default.aspx did not work after upgrade to 4.5.3


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